Add dashboard template export/import functionality#5669
Open
andreas13xxx wants to merge 1 commit intoportfolio-performance:masterfrom
Open
Add dashboard template export/import functionality#5669andreas13xxx wants to merge 1 commit intoportfolio-performance:masterfrom
andreas13xxx wants to merge 1 commit intoportfolio-performance:masterfrom
Conversation
Dashboards can now be exported as JSON template files and imported into any portfolio file. Templates contain the dashboard structure (columns, widgets, configuration) without file-specific entity references (accounts, securities, taxonomies). - DashboardTemplateExporter: serializes dashboard to JSON, strips entity reference keys (DATA_SERIES, CLIENT_FILTER, TAXONOMY, etc.) - DashboardTemplateImporter: deserializes JSON template, validates format, creates new dashboard with fresh UUID - UI integration in DashboardView context menu and new dashboard dialog - Full i18n for all 18 supported languages
Contributor
Author
|
Good idea. The main advantage is that adding a new Config value forces you to decide on exportability right away (compiler-enforced), instead of hoping someone remembers to update the separate ENTITY_REFERENCE_KEYS set in the exporter. |
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.
Dashboards can now be exported as JSON template files and imported into any portfolio file. Templates contain the dashboard structure (columns, widgets, configuration) without file-specific entity references (accounts, securities, taxonomies).
Issue: https://forum.portfolio-performance.info/t/dashboard-templates/39222