scipp / scipp/ess

Improve Switchable Widget and handle intermediate parameters

Open
#129 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

essreduce
Dominant language
Python
Stars
1
Forks
3
Avg merge
2d 11h
Merged PRs (30d)
17

Description

Current Switchable widget is a check box that shows the underlying widget when it's selected.

@jokasimr suggested different way of handling parameter switch.

Instead of setting switchable to all the parameters, we can treat all parameters switchable, and have a menu of parameter from the workflow, just like we select output.

And if the parameter is selected, it should show the widget on the right side and the workflow-running widget should set the parameters.

Here is the conceptual drawing how it can look like:

image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Switchable widget and the existing workflow parameter and output-selection handling. Compare the current checkbox behavior with the proposed parameter menu and intermediate-parameter flow; done means the selected parameter displays its widget and the workflow-running widget sets parameters as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.