#3459229 Saving Sections
Compare changes
+ 2
− 0
@@ -7,6 +7,7 @@ import PrimaryPanel from '@/components/sidebar/PrimaryPanel';
@@ -28,6 +29,7 @@ const App: React.FC = () => {
Front end implementation only
This MR implements the UI required to allow users to save a component (and it's children) as a section.
layout
, model
and name
to /xb/api/config/pattern
DummySectionList.tsx
This can be used for reference by whomever is implementing the endpoint and then easily removedSectionList.tsx
now call a GET to the /xb/api/config/pattern
endpoint.ComponentContextMenu.tsx
to add keyboard shortcut hints and make Delete red.No tests yet as this doesn't actually work without the backend work being completed and I don't want it to causes failures in 0.x
Closes #3459229
* Incompatible because both the Trigger
and the Content
of the Dialog must be wrapped by the Dialog.Root
component but, because the context menu is unmounted as soon as you select an option in it, it means the Content is also unmounted.