PlanQK / workflow-modeler

Modeler for quantum workflows
Apache License 2.0
3 stars 4 forks source link

Improved Menu #64

Closed mbeisel closed 5 months ago

mbeisel commented 1 year ago

Problem Statement: The current Menu takes a lot of space and is limited in its functionality. Hence, we suggest adding a classic dropdown menu bar and keeping the most used functionalities (new, open, save, save as) as icons

The file dropdown shall include:

The configuration dropdown shall contain the general editor, as well as plugin configurations categories and on selection open a popup with the corresponding configurations, e.g., grafik Configuration values are values, which are rarely changed, meaning that commonly changed values such as the filename shall not be included in the configurations tab. If there are any uncertainties about this, please comment below.

Sketch: grafik Note: the save and save as icon should be distinguishable

miwurster commented 6 months ago

For the PlanQK integration, we do not need anything related to save or open files. Instead, we just a save operation that emits an event containing the latest model data. We gonna use an event listener to catch such events in order to save the data in our backend.

Further, we also don't need the options "Deploy Workflow", "QHAna", and "QuantMe". In general, it would be nice if we can enable/disable certain menu items when initialising the workflow modeler component in our frontend Vue project.