-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Move snippets to sidepanel #15595
base: BUDI-9068/type-sidepanel
Are you sure you want to change the base?
Move snippets to sidepanel #15595
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
@@ -1,5 +0,0 @@ | |||
export enum SidePanel { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only used in a file, not worth having it in types
{/if} | ||
</Layout> | ||
</div> | ||
|
||
{#if showSnippetDrawer} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done as it was the easier way to clean the state. Otherwise, when creating multiple snippets, the state would be persisted instead of starting from a clean slate everytime
Description
Moving snippets section in bindings in order to match the UX of helpers and other bindings. We discussed keeping the existing section for crud, but this made it harder to understand and to reuse some logic. Happy to discuss improvements and different approaches.
Screenshots
Snippets will be moved to the bindings side panel
Snippets will not appear on the text section
Screen.Recording.2025-02-21.at.12.25.46.mov
Snippets can be added from the side panel
Screen.Recording.2025-02-21.at.12.27.19.mov
Snippets can be edited from the side panel
Screen.Recording.2025-02-21.at.12.27.44.mov
Snippets can be deleted from the side panel
Screen.Recording.2025-02-21.at.12.28.29.mov
Upgrade flow will still be in there for non-licenced users
Screen.Recording.2025-02-21.at.12.36.11.mov
Launchcontrol
Moving snippets section to the binding side panel
Feature branch env
Feature Branch Link