zakodium-oss/pixelium

Change the way images are listed

lpatiny opened this issue · 2 comments

Currently the opened images are listed on the top

image

It makes it impossible to display meta information about a list of images and have many images selected.

We would prefer the images are listed like in NMRium in a specific panel on the right:

image

What should be done:

  • Create this new panel
  • Remove the tabs
  • When loading a new image switch to this new image
  • Remove the 'old' way to remove an image

image

If we do not support multiple images being shown at the same time, I don't see why the selected lines need to have an effect on the canvas.

For me we can have separate selectors:

  • Displayed image -> the image that is shown in the canvas. There is always one selected except when there are no images. Highlighted in the table with a background color.
  • Checkboxes for bulk actions -> I select N images and click delete in the toolbar

If having multiple images at the same time on the canvas is a feature we need at some point, it's probably going to require a separate panel to configure those "layers".

Multiple selection will be done in another issue: