Description
Summary:
- Upgrade the data display engine to a full sample engine with schema support
- Upgrade existing Pattern Lab "Pattern Info" display to support an editor
- Add an interactive schema editor to PatternLab UI, matching existing standards
Benefits:
- Developers can quickly run through multiple iterations in the GUI when tweaking styles
- Stakeholders can preview exact text in the GUI without updating files
- Stakeholders can share that preview with a simple generated link
To Do:
- Validate use case with community
- Add patch porting over PatternKit's schema editor UI & functionality
- Review & Test
Demo of this functionality in action: http://patternkit.info/schema/keynote_quote
PatternLab already has an existing set of functionality dedicated to providing sample data via pre-configured JSON or YAML. However, it does not support easy on the fly composition and editing.
We have found that the ability to edit sample data in a GUI on the fly not only aids in pattern development, but also leads to easier demoing with stakeholders.
We propose adding support for JSON/YAML schema files that allow a GUI to provide an edit interface for populating patterns. We already have this GUI working with PatternKit and are looking at porting it over.
This issue is a part of a series to fold functionality present in the nearly identical tool PatternKit in an effort to coalesce the development communities and deprecate PatternKit in favor of PatternLab. We plan on moving forwards with development starting August 21st.
Related Reading: