Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design assembly support for control library #1550

Merged
merged 23 commits into from
Oct 31, 2017
Merged

Conversation

dotMorten
Copy link
Contributor

@dotMorten dotMorten commented Oct 11, 2017

PR Type

Adds improved design time experience by providing "hover" tooltip in the property grid, and places properties in the proper categories.
Example of what the MardownText looks like:
image
...before all these properties was all thrown into the "Misc" category. (ignore the typo in the screenshot - it has been fixed :-)

Most of the base framework originates from the Silverlight Toolkit. I then had this ported to the Callisto project, and now carried it over to the UWP Community Toolkit.

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes, no api changes)
[x] Build or CI related changes
[ ] Documentation content changes
[ ] Sample app changes
[ ] Other... Please describe:

What is the current behavior?

All control properties are under Miscellaneous in the property grid.

PR Checklist

Please check if your PR fulfills the following requirements:

- [N/A] Tested code with current [supported SDKs](../readme.md#supported)
- [N/A] Docs have been added / updated (for bug fixes / features)
- [N/A] Sample in sample app has been added / updated (for bug fixes / features)
- [N/A] Tests for the changes have been added (for bug fixes / features) (if applicable)

Above check-list does not apply - these are design-time only changes and does not affect runtime.

What is the new behavior?

Control properties are now grouped, and hovering on a property gives you the code summary as a tooltip.
It also puts in place the framework for providing toolbox icons for each control.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@dotMorten dotMorten self-assigned this Oct 11, 2017
@dotMorten dotMorten changed the title Dot morten/design assembly Design assembly support for control library Oct 11, 2017
@dotMorten
Copy link
Contributor Author

@Oceanware Any chance the Design Time gury (that's you :-) would be interested in reviewing this one? AFAIK nothing about building design time experiences has really changed since you worked and blogged about it. I would love for this repo to be the reference implementation of improving design time experiences.

@nmetulev
Copy link
Contributor

Works as expected, but only on the legacy designer. When running on an app targeting the FCU and therefore using the new designer in VS 2017.4, the new categories or tooltips do not show up.

@dotMorten
Copy link
Contributor Author

@nmetulev Thanks for the fix. Works good here too

Copy link
Contributor

@nmetulev nmetulev left a comment

Choose a reason for hiding this comment

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

Looks good to me, with a minor comment

/// <summary>
/// Basic Controls category.
/// </summary>
public const string Toolkit = "UWP Toolkit";
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be UWP Community Toolkit

@skendrot skendrot merged commit 9e71794 into master Oct 31, 2017
@nmetulev nmetulev deleted the dotMorten/DesignAssembly branch October 31, 2017 17:24
@Nirmal4G
Copy link
Contributor

Nirmal4G commented Mar 6, 2021

Related: #3252 #3805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants