Skip to content

adding an optional control property to the Persona control#215

Merged
abenems merged 16 commits intomicrosoft:masterfrom
abenems:master
Sep 1, 2016
Merged

adding an optional control property to the Persona control#215
abenems merged 16 commits intomicrosoft:masterfrom
abenems:master

Conversation

@abenems
Copy link
Contributor

@abenems abenems commented Aug 30, 2016

No description provided.

@msftclas
Copy link

Hi @abenems, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

.ms-Persona-tertiaryText,
.ms-Persona-optionalText {
.ms-Persona-optionalText,
.ms-PersonaAll-details {
Copy link
Member

Choose a reason for hiding this comment

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

Please follow naming conventions. .ms-ComponentName-elementName

@cschlechty
Copy link
Member

cschlechty commented Sep 1, 2016

Approved

Approved with PullApprove

</div>) }
</div>
{ innerControl ? (
<div className='ms-Persona-detailsWithInnerControl'>{ innerControl }</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

We need a different className here than what you use on the root div. We cannot assume they will always use the same styles. For example, right now you mark 'ms-Persona-detailsWithInnerControl' as display:none for some scenarios, you definitely do not want the root div to be display: none in those cases...


/**
* Optional control to display/update, usually the role of the user.
*/
Copy link
Member

Choose a reason for hiding this comment

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

delete this.

@abenems abenems merged commit 47545a2 into microsoft:master Sep 1, 2016
atneik added a commit that referenced this pull request Sep 3, 2016
* Persona: now renders children within the details, and overflow on details removed (#215)

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* adding an optional control property to the Persona control, to support edit spuser site permissions

* resolve comments

* resolve comments

* Minor changes.

* Adding @autoBind usage to a number of the components. (#233)

* Updating GroupedList, Link, MarqueeSelection, Breadcrumb, Toggle, Callout

* Updating autobinds for Checkbox, ColorPicker, CommandBar, ContextualMenu.

* Updating SelectionZone autobinds.

* Adding autobind to Utilities export.

* Adding best practice notes.

* Updating autobind for FocusZone.

* Removing dead code.

* DatePicker: Change text input validation to only call onSelectDate when text input is allowed (#230)

* Fixed validation when allowTextInput is false

* Fixed formatting

* Update package.json

* Dropdown: isDisabled is respected when the value changes. (#237)

* v0.47.2

* Using react events

* Fixing a minor bug in selection where isAllSelected is returning true when all items are unselectable. Added test, validated the fix works. (#240)

* BaseComponent: Adding a _resolveRef helper to create memoized helpers to resolve refs. (#238)

* Adding a _resolveRef helper to create memoized helpers to resolve refs.

* Cleaning up tslint.

* v0.47.3

* ContextualMenu: added tooltip and arialabel to menu and menu items. (#241)

* v0.48.0

* Using css utility map

* Use @autoBind and _resolveRef

* Adding focus state

* Adding isChecked state

* Removing unneeded variables

* ChoiceGroup using react events
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.

5 participants