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

Condense Sample App Categories + Add Subcategories #2795

Merged
merged 3 commits into from
Feb 12, 2019

Conversation

michael-hawker
Copy link
Member

Issue: #2688

PR Type

What kind of change does this PR introduce?

  • Sample app changes

What is the current behavior?

  1. Sample app has many categories (12):
    image

  2. Controls category is pretty large (and gets bigger with condensing step done as part of this review):
    image

  3. Search only worked by name:
    image

What is the new behavior?

  1. Condense categories to 8:
    image

  2. Add Subcategories to certain categories to allow for more ordered grouping to aid in searching:
    image

  3. Search looks at name, description and subcategory:
    image

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Pull Request has been submitted to the documentation repository instructions. Link:
  • Sample in sample app has been added / updated (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Header has been added to all new source files (run build/UpdateHeaders.bat)
  • Contains NO breaking changes

Other information

Adds a new property to the Sample object and modifies samples.json to add it and condense some categories. Adds a CollectionViewSource and grouping step in the method which retrieves the samples when the menu is opened. Modifies search to look at more fields.

Named most of Control categories off of XAML Control Gallery categories. Happy for input on other categories added to Animations and Helpers categories.

@michael-hawker michael-hawker added this to the 5.1 milestone Feb 11, 2019
Copy link
Contributor

@azchohfi azchohfi left a comment

Choose a reason for hiding this comment

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

Nice!

@nmetulev nmetulev merged commit 2867241 into master Feb 12, 2019
@windowstoolkitbot
Copy link

This PR is linked to unclosed issues. Please check if one of these issues should be closed: #2688

@delete-merged-branch delete-merged-branch bot deleted the mhawker/sample-subcategory branch February 12, 2019 00:22
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.

None yet

4 participants