You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add value plugin for inline JSON and YAML data in markdown fence blocks, schema definitions for inline data elements, and compiler support (#130)
* Initial plan
* Add JSON plugin for inline JSON data
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Update compiler to handle JSON format in dataLoaders
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Add comprehensive JSON plugin example and documentation
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Update JSON plugin to use 'json data variableId' syntax and script tag
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Rename json plugin to json-data and fix loader.ts JSON handling
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Fix JSON dataLoaders to always output as fence blocks and rename types
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Rename plugin from json-data to data, remove special case logic
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Fix plugin name extraction to use infoWords instead of slice
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Preserve signal bus state during reset by carrying over logLevel and logWatchIds
* handle nullref
* Fix plugin name extraction to check for 'json' keyword directly in infoWords
* receive initial batches without running
* Optimize initial batch handling in SignalBus by reusing the constructed initialBatch object for all peers.
* remove json data examples
* Add YAML support to data plugin
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Refactor Mermaid diagram rendering to use MermaidInstance for improved state management and eliminate redundant parameters
* Improve batch handling in Vega plugin by setting needToRun flag based on receiveBatch result
* Revert UMD build artifacts to exclude from PR
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Revert loader.ts changes and add UMD file guidance to copilot instructions
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Rename data plugin to value plugin
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Add value plugin documentation to schema
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Revert built schema file and add value plugin docs to source schema
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Add ValueElement, CsvElement, TsvElement, DsvElement to schema
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Fix schema: revert built files, update types, move inline data to page, use element types in examples
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Polish schema and compiler: minimal comments, arrays for content, validator support
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Revert built files (UMD bundles and schema files) from PR
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Remove built schema files and interactive.ts from PR
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Remove docs/schema/idoc_v1.json from PR
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
* Refactor DSV parsing functions to consolidate variable ID and delimiter parsing into a single utility function
* Update ignoredSignals to replace 'origins' with 'value'
* Add parseFenceInfo function to extract metadata from fence info strings
* Add default 'value' plugin fallback for JSON and YAML data in create function
* Refactor value plugin to use parseFenceInfo for improved fence info parsing and variable ID handling
* Refactor parseDsvInfo to utilize parseFenceInfo for improved parameter handling and simplify delimiter logic
* Refactor JSON and YAML element types to remove '-value' suffix for consistency
* alphabetize
* common header
* remove comments
* remove csv etc
* convert to data loaders
* fix: update type from "yaml-value" to "yaml" in YAML Value Plugin test
* refactor: remove YAML Value Plugin test JSON file
* refactor: remove InlineDataElement and related exports
* refactor: remove JSON and YAML handling from groupMarkdown function
* refactor: remove JSON and YAML element validation from validateElement function
* remove json
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com>
Co-authored-by: Dan Marshall <danmar@microsoft.com>
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,12 @@ Chartifact consists of several interoperating modules:
29
29
### Testing
30
30
- Currently we don't have much test coverage. We can add this later.
31
31
32
+
### Version Control
33
+
-**Do NOT check in UMD build artifacts**: Files matching `*.umd.js` in `docs/dist/v1/` are build outputs and should not be committed in PRs
34
+
-**Do NOT edit `docs/schema/idoc_v1.d.ts` directly**: This file is generated from `packages/schema-doc/src/`. Edit the source files in the schema-doc package instead
35
+
-**Do NOT check in built schema files**: Files `docs/schema/idoc_v1.d.ts` and `docs/schema/idoc_v1.json` are generated from `packages/schema-doc/src/` during the build process and should not be committed in PRs
36
+
- These files are generated during the build process and committing them creates unnecessary merge conflicts
0 commit comments