Skip to content

Comments

Add possibility to toggle isolation progress sample status #286

Closed
mortenlyn wants to merge 23 commits intosummer25-week-30from
277-possibility-to-toggle-isolation-progress-sample-status-2
Closed

Add possibility to toggle isolation progress sample status #286
mortenlyn wants to merge 23 commits intosummer25-week-30from
277-possibility-to-toggle-isolation-progress-sample-status-2

Conversation

@mortenlyn
Copy link
Contributor

No description provided.

aastabk and others added 18 commits July 14, 2025 15:17
)

Updated checkbox-name so that it is connected to the order-id

Co-authored-by: Morten Madsen Lyngstad <morten.lyngstad@bekk.no>
#254)

Co-authored-by: Morten Madsen Lyngstad <morten.lyngstad@bekk.no>
* Only genrequest members can mark an order as seen

* Move logic closer to frontend

* Removed unnecessary code, checks buttons everywhere, added check in post.

* Removed prints

* Fixed linter error
* Update IsolationMethod model to allow non-unique names and optimize queries in SampleLabView

* Add macOS specific files to .gitignore

* Add analysis orders, project, and isolation method fields to SampleCSVSerializer and update CSV export logic

* Add marked, plucked, and isolated fields to SampleCSVSerializer and update SampleViewset for CSV export

---------

Co-authored-by: Morten Madsen Lyngstad <morten.lyngstad@bekk.no>
* Implement custom header rendering for sortable tables and enable multi-column sorting

* Refactor sample status management

Replace SampleStatusAssignment with boolean fields for marked, plucked, and isolated.

Update other parts of the code which were effected by this change.

---------

Co-authored-by: Morten Madsen Lyngstad <morten.lyngstad@bekk.no>
* Implement custom header rendering for sortable tables and enable multi-column sorting

* Refactor sample status management

Replace SampleStatusAssignment with boolean fields for marked, plucked, and isolated.

Update other parts of the code which were effected by this change.

* Update titles for new order tables on dashboard

* Add nowrap class to status rendering for better text display

---------

Co-authored-by: Morten Madsen Lyngstad <morten.lyngstad@bekk.no>
* Patch to sort properly when name is a mix of int and char, as well as only int or char. Generate genlab ID based on other fields (type).

* Order is now only decided by the rows in the table, not a sorting_order value.

* Update src/staff/tables.py

Co-authored-by: Ole Magnus <me@omfj.no>

* Added order.id to lock the db

* added safe "select_for_update()"

* Converted back to list and modified the tests to the current genlab id generation

* Now abe to sort all types of names

---------

Co-authored-by: Ole Magnus <me@omfj.no>
* Patch to sort properly when name is a mix of int and char, as well as only int or char. Generate genlab ID based on other fields (type).

* Order is now only decided by the rows in the table, not a sorting_order value.

* Update src/staff/tables.py

Co-authored-by: Ole Magnus <me@omfj.no>

* added safe "select_for_update()"

* Removed prints

---------

Co-authored-by: Ole Magnus <me@omfj.no>
@mortenlyn mortenlyn requested review from aastabk and omfj July 17, 2025 12:29
@mortenlyn mortenlyn self-assigned this Jul 17, 2025
@mortenlyn mortenlyn force-pushed the 277-possibility-to-toggle-isolation-progress-sample-status-2 branch from 3d5b664 to 45d42b5 Compare July 17, 2025 12:31
aastabk and others added 4 commits July 17, 2025 15:17
Co-authored-by: Morten Madsen Lyngstad <morten.lyngstad@bekk.no>
Set 'is_seen' to False  when converted to draft.

Order must be marked as "seen" to be shown in assigned orders (my orders).

Co-authored-by: Morten Madsen Lyngstad <morten.lyngstad@bekk.no>
@omfj omfj changed the base branch from summer25-week-29 to summer25-week-30 July 17, 2025 13:38
@omfj omfj changed the base branch from summer25-week-30 to summer25-week-29 July 17, 2025 13:41
@mortenlyn mortenlyn force-pushed the 277-possibility-to-toggle-isolation-progress-sample-status-2 branch from 45d42b5 to 9564f9e Compare July 18, 2025 10:46
@mortenlyn mortenlyn requested a review from aastabk July 18, 2025 10:53
@mortenlyn mortenlyn changed the base branch from summer25-week-29 to summer25-week-30 July 18, 2025 11:52
@mortenlyn mortenlyn closed this Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants