fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Add extensible buttons to Dialog's topButtons section (next to the close button)

Open rickyp-ms opened this issue 9 years ago • 5 comments

Bug Report

  • Package version(s): 1.0.0
  • Browser and OS versions: All

Describe the issue:

We would like to have the ability to add extra buttons to the top buttons section of a dialog

Actual behavior:

Currently only one button is allowed (close)

Expected behavior:

Extensible button arrangement

If applicable, please provide a codepen repro:

Code review coming soon...

rickyp-ms avatar Jan 18 '17 22:01 rickyp-ms

See https://github.com/OfficeDev/office-ui-fabric-react/pull/839

rickyp-ms avatar Jan 18 '17 22:01 rickyp-ms

What is the use case? Do you have a screenshot of what you're trying to do?

dzearing avatar Jan 19 '17 00:01 dzearing

Something like this... dialogtopbuttonexample

rickyp-ms avatar Jan 19 '17 00:01 rickyp-ms

That way the delete button is a bit hidden so the user's first attempt isn't to delete the object (for us a task). Other useful things up there would be links to external workflows such as

  • View the conversation for this object
  • View the files for this object
  • View the Skype team for this object etc.

rickyp-ms avatar Jan 19 '17 00:01 rickyp-ms

Fixed in 839

rickyp-ms avatar Jan 27 '17 20:01 rickyp-ms