Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

MessageBanner: Make both hide and show public #322

Merged
merged 11 commits into from
Jun 7, 2017

Conversation

PRIMETSS
Copy link
Contributor

@PRIMETSS PRIMETSS commented Jun 3, 2017

_hidebanner is private method not public
As public should be hideBanner() not private _hideBanner()
Renamed methods as no other component included component name in their
public methods

_hidebanner is private method not public
As public should be hideBanner() not private _hideBanner()
Renamed methods as no other component included component name in their
public methods
@msftclas
Copy link

msftclas commented Jun 3, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@mikewheaton mikewheaton changed the title hideBanner Private to Pubic method change and rename hideBanner Private to Public method change and rename Jun 3, 2017
@mikewheaton mikewheaton changed the title hideBanner Private to Public method change and rename MessageBanner: Make both hide and show public Jun 3, 2017
@@ -144,7 +144,7 @@ namespace fabric {
/**
* hides banner when close button is clicked
*/
private _hideBanner(): void {
public _hide(): void {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the underscore (hide() not _hide()) and move this code under the show() function.

Removed white spaces as per gulp warnings.
Updated event handler method name in _setListners with new method name
'hide', was '_hide'
Reinstated showBanner() as deprecated method, as not to break existing
dep.
Calls new method show()
@mikewheaton
Copy link
Contributor

mikewheaton commented Jun 5, 2017

Approved

Approved with PullApprove

…> tags

Update HB/Docs & Test fix for GitHub .md files all showing <script> tags
at bottom of all .md pages
Update HB/Docs & Test fix for GitHub .md files showing <script> tags
at bottom of all .md pages on github site and also tested with two
online editors and they also show <script> as plain text
Button , Callout, CheckBox, ChoiceFieldGroup, CommandBar,CommandButton,
ContextualMenu, Dialog & MessageBanner
Decoded html encoded strings back to tags.
FacePile.md still needs work
Edited all components MD
Note: Dialog Component MD needing help to fix broken Button layout
Found format error
@msftclas
Copy link

msftclas commented Jun 7, 2017

@PRIMETSS, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, Microsoft Pull Request Bot

@Jahnp
Copy link
Collaborator

Jahnp commented Jun 7, 2017

Approved 🎉

Thanks for all the fixes & contributions, @PRIMETSS!!

Approved with PullApprove

@Jahnp Jahnp merged commit 4eb45bf into OfficeDev:master Jun 7, 2017
@mikewheaton mikewheaton added this to the 1.4.0 milestone Jun 8, 2017
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants