Integrate `@camunda/form-playground` into the Desktop Modeler
See original GitHub issueWhat should we do?
Integrate the first version of @camunda/form-playground
into the Form Editor.
This includes
Part 1
- Replace the existing form editor
- Add toggle to the status bar
- Error Panel reduces Viewport Size instead of Overlapping
- Persist toggle states across sessions (global layout)
- Add keyboard shortcut to toggle between modes (
CTRL/CMD + P
, as we already have with BPMN/DMN Properties Panel and DMN Overview)
Part 2
To consider as follow up
- https://github.com/camunda/form-playground/issues/3
- Auto-collapse preview on minimal width (cf. https://github.com/bpmn-io/internal-docs/issues/617#issuecomment-1238428647)
- Persist input data across sessions (per file?)
Why should we do it?
Integrate the new Forms Playground 🎉 Child of https://github.com/bpmn-io/internal-docs/issues/527 Depends on https://github.com/bpmn-io/internal-docs/issues/617
Issue Analytics
- State:
- Created a year ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Camunda Self-Managed and Desktop Modeler access
We have set up a Camunda 8 installation self-managed on our Kubernetes-cluster using the Helm Charts. This has worked so far, we can...
Read more >Source - GitHub
Unreleased ___Note:__ Yet to be released changes appear here. ... json](https://docs.camunda.io/docs/components/modeler/desktop-modeler/flags/) to re-enable ...
Read more >How to sync Mendix Desktop Modeler with the Web Modeler
There are several steps required to move web modeler changes into the desktop modeler. Note that in this video I have edited out...
Read more >Desktop Modeler Overview | Mendix Documentation
The Mendix Desktop Modeler is the tool for creating, viewing, and editing your Mendix applications. A Mendix app is called a project in...
Read more >camunda/camunda-modeler release history - changelogs.md
FEAT : integrate forms playground (#3178); DEPS : bump form-js to v0.9.9 (#3178); DEPS : add @camunda/form-playground (#3178) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pinussilvestrus I assume resizability of the preview and editor does not add value; I try to ask myself when do I want to resize them so the one is larger than the other? Thinking about the future, when we also have horizontal layouts (very likely flexboxes) and those may also wrap on smaller screens, then it may be hard to correlate the left to the right view in case the left shows wrapped components, while the other doesn’t (depending on the wrap breakpoints). @YanaSegal would you see value in independently resizable editor+preview?
I assume vertical resizability is more helpful, to resize the mock input/output panels. To do so, we need to decide if resizing does result in absolute or relative sizes, which is important when you collapse the error/log panels: should then both editor and form input panel resize, or one is sticky and the other resizes? My proposal: let’s do it the VS Code way (don’t reinvent the wheel) and do relative sizes:
https://user-images.githubusercontent.com/56470362/193879573-af1682c1-a9e1-4a94-82ad-f37691bfa8f6.mov
Is this something we want to persist globally in the
config.json
. Context: we do the same for any other UI component (properties panel, error panel, DMN overview, log)My proposal would be, therefore, to keep it consistent and also keep the playground toggle states globally.
/cc @christian-konrad