microsoft / WinUI-Gallery

This app demonstrates the controls available in WinUI and the Fluent Design System.
MIT License
2.84k stars 636 forks source link

Add schema for ControlInfoData.json #1630

Closed HO-COOH closed 1 week ago

HO-COOH commented 1 month ago

Description

I added a schema file for the ControlInfoData.json to make adding new control / control group to it simpler. Now you get nice intellisense for all properties and error message for missing required ones. The schema should be automatically picked up by any reasonable editors.

Motivation and Context

I just happens to know this.

How Has This Been Tested?

The current file reports no mismatch for this schema.

Screenshots (if appropriate):

image

image

Types of changes

HO-COOH commented 3 weeks ago

@marcelwgn Did some changes to it, please review

marcelwgn commented 2 weeks ago

/azp run

karkarl commented 1 week ago

/azp run