Skip to content

Comments

Summer25 Week 29#262

Merged
nicokant merged 22 commits intomainfrom
summer25-week-29
Jul 21, 2025
Merged

Summer25 Week 29#262
nicokant merged 22 commits intomainfrom
summer25-week-29

Conversation

@omfj
Copy link
Contributor

@omfj omfj commented Jul 14, 2025

No description provided.

aastabk and others added 10 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
@omfj omfj force-pushed the summer25-week-29 branch from e4c7d34 to 350e31c Compare July 15, 2025 16:13
omfj and others added 5 commits July 15, 2025 18:52
* 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>
@omfj omfj requested a review from nicokant July 17, 2025 10:57
mortenlyn and others added 7 commits July 17, 2025 13:05
* 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>
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>
@emilte
Copy link
Contributor

emilte commented Jul 18, 2025

@nicokant Week 29 has been frozen and is ready for review :D
The interns continue on #291

Copy link
Collaborator

@nicokant nicokant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything seems ok, the only note is to keep the styling consistent, using as much as possible daisy-ui and tailwind classes even in the CSS.

This is not blocking, and it can be improved in the next weekly PR

@nicokant nicokant added this pull request to the merge queue Jul 21, 2025
Merged via the queue into main with commit 82b0e99 Jul 21, 2025
14 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Jul 21, 2025
* Only one button for generating genlab id and set as "processing" (#248)

* Add logic to mark order as completed when all samples are isolated (#250)

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

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

* Add priority to urgent orders table (#251)

* Exclude 'pop_id' and 'location' fields from OrderExtractionSampleTable (#254)

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

* Only genrequest members can mark an order as seen (#252)

* 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

* Count isolated samples (#260)

* Assign staff to all orders (#263)

* Changes the buttons to a specified format. Moved buttons to the top. Preparing for filters.

* Use correct delivery date on dashboard (#268)

* Filter for orders and samples. Lab is missing. (#270)

* Run CI on summer25-*

* Download CSV of samples  (#265)

* 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>

* Changed to tailwind styling (#273)

* Completed order does not show in my orders and urgent orders (#275)

* Add multicolumn sorting samples (#276)

* 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>

* Change text on dashboard (#280)

* 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>

* Fix name sorting (#281)

* 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>

* Genlab ID patch (#271)

* 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>

* Sample list does no longer show guid or plate position, but shows location (#290)

* Added filtering on types for extraction order (#287)

* Maked sample statuses constants instead of strings (#289)

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

* Update order-status-logic when converted to draft (#284)

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>

---------

Co-authored-by: Bertine <112892518+aastabk@users.noreply.github.com>
Co-authored-by: Morten Lyngstad <81157760+mortenlyn@users.noreply.github.com>
Co-authored-by: Morten Madsen Lyngstad <morten.lyngstad@bekk.no>
Co-authored-by: aastabk <aastabk@stud.ntnu.no>
@nicokant nicokant deleted the summer25-week-29 branch July 21, 2025 08:57
@sentry
Copy link

sentry bot commented Jul 21, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎

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.

5 participants