Commit Graph
362 Commits
Author SHA1 Message Date
Ross 3c8238d737 Add user permission checks for series editing and enhance author display method 2026-02-09 12:27:20 +00:00
Ross 23f33ac7ae Optimize collection_viva by aggressively prefetching and annotating related objects to prevent N+1 queries 2026-02-09 12:15:36 +00:00
Ross ab130a08ed Optimize collection_viva by annotating and prefetching related objects to prevent N+1 queries 2026-02-09 12:13:00 +00:00
Ross 13dd79b508 Rename parameter 'case_id' to 'case_number' in collection_case_dicom_json_review for consistency 2026-02-09 11:15:57 +00:00
Ross 89986ba2e9 Refactor collection_case_dicom_json to use case_number instead of case_id for improved clarity and error handling 2026-02-09 11:14:53 +00:00
Ross f9e69e1206 Rename parameter 'case_id' to 'case_number' in collection_case_dicom_json function for clarity 2026-02-09 11:13:44 +00:00
Ross 035da12e96 Add edit permission check for display set modal and update template 2026-02-09 10:49:28 +00:00
Ross bdb7b653b6 Add modal for viewing display set details and update URLs and views 2026-02-08 22:42:14 +00:00
Ross f3702db5f6 Refactor case field buttons to use hidden modal content and remove unused endpoint 2026-02-02 22:39:49 +00:00
Ross a6a7d75144 Implement modal for case fields and add partial endpoint for dynamic content retrieval 2026-02-02 22:29:52 +00:00
Ross 5bb2aea8ef Add HTMX endpoint for truncating series images and corresponding result template 2026-02-02 13:24:27 +00:00
Ross f362be43ef Add inline collection management features; implement search and add functionality for collections in case view 2026-02-02 11:55:43 +00:00
Ross 16865fab03 Refactor permission checks for marking cases as normal to use can_edit method 2026-02-02 10:23:46 +00:00
Ross 625f6017a6 Add advanced case search page with filtering options and pagination 2026-02-02 10:20:12 +00:00
Ross 2159b045cd Add resource search panel with HTMX integration for dynamic resource addition 2026-02-02 09:18:16 +00:00
Ross 90ceff1b02 Add admin view for cases ordered by total image size with filtering options 2026-01-28 14:45:01 +00:00
Ross 048168e87d Add user-related collections feature with HTMX support and timestamps for collections 2026-01-26 11:07:15 +00:00
Ross 797eb9c54a Implement HTMX support for user collections display and refactor rendering logic 2026-01-26 10:44:54 +00:00
Ross 4db1f2ca1a Add toggle functionality for pre-review flag on case resources 2025-12-15 11:15:56 +00:00
Ross 2f014ce1a5 Enhance resource management: refresh case data and notify listeners on resource changes in case attachment/detachment 2025-12-15 10:12:04 +00:00
Ross 4bec329aff Implement resource search functionality and enhance resource management in case details 2025-12-15 09:53:19 +00:00
Ross 012c86340d . 2025-12-08 12:51:17 +00:00
Ross d96dd77cdc Add user authentication to index and user collections views; update CSRF trusted origins and internal IPs 2025-12-08 10:57:38 +00:00
Ross 590e0b76ed Add series images endpoint and template for HTMX integration 2025-12-01 14:50:11 +00:00
Ross 0c412dfff6 Add prior cases information to collection case view template 2025-11-24 12:19:56 +00:00
Ross e8c35efd83 Refactor collection_case_questions function to use case_number instead of case_id for improved clarity and consistency in case retrieval 2025-11-24 12:02:43 +00:00
Ross 0badca4c4f Add default error value to context in collection_case_priors view to prevent variable resolution issues 2025-11-24 11:58:53 +00:00
Ross 25f4e478b3 Add edit permission check for collection case priors view 2025-11-24 11:53:50 +00:00
Ross efca426359 Add case jump functionality with HTMX support and corresponding template 2025-11-24 11:40:52 +00:00
Ross 6eeb4cbb1d Add canonical field and update synonym handling in Condition model
- Introduced a new `canonical` ForeignKey field in the Condition model to manage alias relationships.
- Enhanced synonym retrieval methods to prefer canonical names and handle aliases more effectively.
- Updated condition detail templates to reflect canonical status and improved synonym display.
- Implemented migration scripts to establish canonical relationships based on existing synonym links.
2025-11-20 22:48:03 +00:00
Ross 9d57d03cbb Refactor synonym management: extract synonyms list and add forms for adding synonyms with HTMX support 2025-11-20 21:59:50 +00:00
Ross a12a9e38f3 Implement synonym management in condition detail: add forms for adding synonyms and handle POST requests for synonym creation. 2025-11-17 23:08:34 +00:00
Ross 81dc5bf48f Add forms and views for subspecialty, presentation, and pathological process management 2025-11-17 23:01:02 +00:00
Ross fb833a2b90 Refactor collection view: create a new template for collections with improved layout and staff action visibility 2025-11-17 22:47:15 +00:00
Ross 2f1e2f6abe Refactor collection_case_details: simplify case retrieval logic and improve parameter naming for clarity 2025-11-17 22:33:10 +00:00
Ross 24558f92ce Refactor case prior handling: update function to support case_number instead of case_id for improved clarity and maintainability 2025-11-17 11:15:08 +00:00
Ross 6e658aca93 Refactor case handling: update URLs and views to support case_number and case_id interchangeably, enhancing backward compatibility and maintainability 2025-11-17 11:05:13 +00:00
Ross 12b7fa6629 Refactor CaseDetail references to Casedetail across templates and views
- Updated all instances of 'case_detail' to 'casedetail' in templates to maintain consistency.
- Adjusted view functions to use 'casedetail' instead of 'case_detail' for better clarity.
- Renamed the field 'case_detail' to 'casedetail' in the CasePrior model to align with the new naming convention.
- Ensured that all related logic and references in forms and data handling reflect this change.
2025-11-17 10:34:27 +00:00
Ross 7f4570417e Refactor case navigation: consolidate previous and next links into a reusable partial for improved maintainability and consistency across templates 2025-11-17 10:09:00 +00:00
Ross 0098fa5dfc Refactor case prior display: extract prior card markup into a separate partial for improved maintainability and readability 2025-11-17 09:27:02 +00:00
Ross b47bb141e8 Enhance case search functionality: exclude cases already in the collection from search results to prevent duplication 2025-11-16 23:28:23 +00:00
Ross 712ecec25d Enhance case search results: add data attributes for case identification and implement client-side removal of cases from search results after addition to collection 2025-11-16 23:25:35 +00:00
Ross 279d6344f1 Enhance case search functionality: display recent cases in search results and adjust initial load behavior 2025-11-16 23:16:06 +00:00
Ross 5e0068d490 Implement case search functionality and enhance case addition UI in collection view 2025-11-16 22:55:59 +00:00
Ross 875744a08a Refactor case management links and add case list item partial for improved organization and rendering in collection detail view 2025-11-16 22:51:22 +00:00
Ross 478dcb7217 Add success URL redirection for CaseCollectionCreate after successful creation 2025-11-15 22:47:37 +00:00
Ross 835d0382ba Refactor series cases handling: extract cases list to a partial and enhance HTMX integration for dynamic updates 2025-11-14 21:55:28 +00:00
Ross b73e89393b . 2025-11-14 21:21:45 +00:00
Ross 14e6514b90 Update ResourceDelete view to require AuthorOrChecker permissions for deletion 2025-11-14 21:14:58 +00:00
Ross ca2b7feb5b Add Resource filtering and table display functionality 2025-11-14 20:56:49 +00:00