Skip to content
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

Create workflow editor 'user mode' #2794

Open
7 tasks
nelliputkonen opened this issue May 21, 2024 · 0 comments
Open
7 tasks

Create workflow editor 'user mode' #2794

nelliputkonen opened this issue May 21, 2024 · 0 comments
Assignees
Milestone

Comments

@nelliputkonen
Copy link

nelliputkonen commented May 21, 2024

The workflow editor should be divided into two modes: developer and user mode. Developer mode can be the current workflow editor while the user mode should be added - limiting the options the user can do. Here we assume that the user only manipulates input data and results, and runs the workflow, and is not able to edit the workflow, kind of "easy-to-use-mode".

(Related, database editor should also be similarly divided into input and result modes, where the current setup acts as input mode, and result mode should be developed. There's an issue of the functionality of the result db mode: #2590. The impact on the workflow editor side is that in developer mode the workflow builder names in which mode each database should be opened in by default.)

A simple mockup on what the workflow editor in user mode could look like:

image

  • Select execution: Define possible executions on developer mode side.
  • Select scenarios: Filter databases based on 'Select execution'. In addition to scenarios that are sent to the next tool, there is an option to execute the scenario in all following tools.
  • Only other toolbar items are 'Execute', 'Stop', 'Open console and event log' and 'Open developer view'
  • Properties widget is completely hidden, there's only a dropdown list of functions the user can perform on the item, usually just opening the file or opening the directory where the file is, and in case of databases also purging and linking to a new database.
  • Console and event log should open on clicking any item

Nice to have features (low priority):

  • Zoom to / highlight execution selection in design view (in case of large workflows)
  • Choose which items are shown in user mode and which are not

To be implemented later, when Toolbox has all the prerequisites:

  • Ability to update the tools and migrate the data to a new version (that has been approved/registered by a workflow developer)

In terms of user experience development, I have labeled this 'high priority'.

@jkiviluo jkiviluo added this to the v0.9.0 milestone May 21, 2024
ptsavol added a commit to spine-tools/spine-items that referenced this issue Aug 16, 2024
In addition, adapt to property changes in ToolboxUI

Re spine-tools/Spine-Toolbox#2794
ptsavol added a commit that referenced this issue Aug 16, 2024
- This is the first version with still a lot of broken and missing features. There's a new ToolboxUIBase
class, which contains a QStackedWidget with two QMainWindow pages. The Main window is now
either in 'expert mode', which is the old ToolboxUI main window, or  in 'user mode', which is a brand
new ToolboxUILite main window.

- Fixed the resizing problem in Properties dock widget

Re #2794
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants