paulscherrerinstitute / databuffer-ui

Web UI for data buffer
GNU General Public License v3.0
0 stars 0 forks source link

Rearrange / reorder channels #123

Open djlauk opened 3 years ago

djlauk commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

If I have an existing plot, I would like to be able to add a channel "in the middle". Right now I can only add to the end. I have to start from scratch, adding the channels one by one in the correct order. If I forget one, I have to start over again.

Describe the solution you'd like A clear and concise description of what you want to happen.

I'd like to be able to reorder / rearrange the channels through drag & drop, e.g. in the channel search and/or in the plot settings view, or on a separate view.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Possible alternatives:

Additional context Add any other context or screenshots about the feature request here.

djlauk commented 3 years ago

I did some experiments with the HTML5 Drag and Drop API. This seems not too hard to achieve.