bihealth / sodar-server

SODAR: System for Omics Data Access and Retrieval
https://github.com/bihealth/sodar-server
MIT License
14 stars 3 forks source link

Render pooled/split rows on row insert in sheet editor #1927

Open mikkonie opened 8 months ago

mikkonie commented 8 months ago

Say we have the following assay row (node names shown only: sample1 named_process1 data_file1 And we insert a new row: sample2 named_process1 data_file2

This will create the following rows:

sample1    named_process1    data_file1
sample1    named_process1    data_file2
sample2    named_process1    data_file1
sample2    named_process1    data_file2

However: these four rows are only visible after we exit the sheet editor mode and re-render the tables. So basically, the user does not see the correct assay table while they remain in edit mode. Also, it will not be possible to edit two of those rows before exiting and re-entering edit mode. The "extra" rows should be rendered into the table immediately instead.

Requirements

The last requirement might be tricky, I can't remember exactly how the ag-grid API handles this stuff. It might require re-rendering the whole table anyway, which also might be the easiest way to implement this..

I'll have to think about this in detail and come up with a spec. It's also TBD whether this should be done before or after #994.