Skip to content

Sample action menu

Mael Gaonach requested to merge sample-action-menu into main

This implements an action menu on the sample card header, and a tag system.

Action menu

Can be used to

  • Navigate to sample's investigation: Open investigation (from beamline page, selection page, anywhere else...)
  • Navigated to sample's investigation with filter on this sample : Open sample (from anywhere)
  • Access dataset metadata comparison page for admins
  • Any other option can be added from technique-specific sample viewers
  • Add tags to sample

image

Tag system

Anyone can add tags to any sample (visible only to themselves, saved on local storage).

They can do this from the menu above, or by writing them directly in the header.

These tags are a proposition of replacement for the current selection system, with more flexibility. (Here they are used for samples but they can be applicable to datasets too, or anything else we'd want to select).

Tags that can be added are generic tags To reprocess, To download or any custom tag the user can think of: tomerge1, tomerge2, protein1_good, protein1_bad...

How it could be used to replace selection: In the reprocess page they could select which tag(s) they want to reprocess and how. Same can be done in download page, DOI page... This way they can work on multiple selections simultaneously, or combine them...

This menu could easily be added to sample circles in the sumary view too, to provide the same features from there.

image

image

Edited by Mael Gaonach

Merge request reports

Loading