feat: new export / import via base64 data format#319
Draft
Conversation
- Add internal/export package with JSONL and Base64 format exporters - Add internal/dataimport package with auto-detection and format-specific importers - Add ExportRule() method to AppManager for unified export API - Update ImportRule() to support format auto-detection - Add CLI export command with --format flag (jsonl|base64) - Update CLI import command to support --format flag and auto-detection Base64 format: TGB64:1.0:<base64_encoded_jsonl> - Enables easy copy-paste sharing of configurations - Maintains backward compatibility with JSONL format - Auto-detects format from input data prefix Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…at support - Add export command to CLI with --format and --output flags - Update import command to support --format flag (auto|jsonl|base64) - Add format auto-detection from input data (TGB64: prefix) - Update command documentation with Base64 examples Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add ExportFormat type (jsonl|base64) to utils - Add exportRuleAsBase64ToClipboard() for copy-paste functionality - Add encodeBase64Export() and decodeBase64Export() utilities - Update useRuleExport hook to support format parameter - Add export submenu to GraphSettingsMenu with options: - Download as JSONL - Download as Base64 - Copy Base64 to Clipboard - Update RuleCard to use new export handlers Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add comprehensive specification for Base64 format support including: - Format design (TGB64:1.0:<base64_payload>) - Module structure and interfaces - Implementation phases - Testing requirements Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b656e0c to
6458ba4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.