-
Notifications
You must be signed in to change notification settings - Fork 20
Grid Export #1184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grid Export #1184
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes (1)
You can disable this status message by setting the WalkthroughThis update introduces an export feature for space configurations in the Grid component, enabling users to download the current layout, theme, and metadata as a JSON file. Supporting changes include new optional callback props for export functionality in EditorPanel and ThemeSettingsEditor, minor UI and styling adjustments, and import path corrections. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Grid
participant EditorPanel
participant ThemeSettingsEditor
participant FileSystem
participant Toast
User->>Grid: Opens EditorPanel in edit mode
Grid->>EditorPanel: Renders with onExportConfig callback
EditorPanel->>ThemeSettingsEditor: Passes onExportConfig prop
User->>ThemeSettingsEditor: Clicks "Export Config" button
ThemeSettingsEditor->>EditorPanel: Triggers onExportConfig
EditorPanel->>Grid: Calls exportSpaceConfig
Grid->>FileSystem: Generates and downloads JSON file
Grid->>Toast: Shows success notification
Suggested labels
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Style
Bug Fixes