Commit Graph
100 Commits
Author SHA1 Message Date
Ross 8a871d6332 Replace legacy primary filter with is_canonical and add synonym filter in ConditionFilter 2025-11-23 23:29:39 +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 21de543313 Enhance ConditionForm: add Crispy Forms integration for consistent submit button rendering 2025-11-17 23:15:21 +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 4abb57900d Refactor categories dropdown: enhance layout with additional category options and staff creation links for improved navigation 2025-11-17 22:54:32 +00:00
Ross 08c9138cdb Refactor condition form: streamline JavaScript loading and enhance button layout for improved usability 2025-11-17 22:52:34 +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 ffa717a9ef Refactor exam overview header: move author display earlier and remove duplicate block for improved clarity 2025-11-17 22:16:08 +00:00
Ross 2dd9f4af32 Refactor exam overview: enhance question display with improved layout and feedback visibility 2025-11-17 22:09:49 +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 0193daf166 Refactor case search widget: update hx-get attribute and include collection in hx-vals for improved search functionality 2025-11-16 23:17:57 +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 8c8d484dce Enhance exam order editing: hide edit button during editing, improve save button attributes, and clean up controls after saving 2025-11-16 23:06:33 +00:00
Ross 9760be8f27 Enhance case list item links and management actions: update hrefs for dynamic case numbering and improve button structure for better accessibility 2025-11-16 23:03:19 +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 c02a46fab1 Refactor collection detail view: enhance layout, improve organization, and add badges for better information display 2025-11-16 22:36:50 +00:00
Ross 6b73006122 Refactor collection detail view: enhance layout and improve organization of case management links and collection information 2025-11-16 22:31:00 +00:00
Ross 7eb478b111 Refactor case management links: enhance layout and improve button accessibility in collection detail view 2025-11-16 22:26:34 +00:00
Ross 10c18bd514 Refactor case management links: move to separate partial for improved template organization and clarity 2025-11-16 22:20:53 +00:00
Ross 1407fe83a2 Fix link for case series display and update edit series action in management links 2025-11-16 22:03:14 +00:00
Ross e9716f3caf Add per-case management links template for collection detail view 2025-11-16 22:01:30 +00:00
Ross 749450b03e Refactor collection detail template: streamline case management links and enhance layout for better usability 2025-11-16 21:57:54 +00:00
Ross 7e72f731b3 Move "Add New Case" link to dropdown for superusers in collection actions 2025-11-16 21:37:03 +00:00
Ross e407326c25 Refactor collection headers: convert to responsive navbar layout with dropdown actions 2025-11-15 23:12:58 +00:00
Ross 0d8177f0b4 Remove exam review link from exams template for cleaner navigation 2025-11-15 23:09:59 +00:00
Ross 3312f3058a Enhance CaseCollectionForm: replace collection_type field with radio buttons and add custom styling 2025-11-15 23:02:12 +00:00
Ross 478dcb7217 Add success URL redirection for CaseCollectionCreate after successful creation 2025-11-15 22:47:37 +00:00
Ross a1aba7836a Fix link to series detail page in series viewer template 2025-11-14 22:11:47 +00:00
Ross 80b1ef3817 Enhance series case addition: update details element for better accessibility and close functionality 2025-11-14 21:56:40 +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 8096a36a11 Reorganize finding form placement in series viewer for improved layout 2025-11-14 21:52:37 +00:00
Ross 97d65f0caa Refactor series viewer template for improved layout and usability; enhance findings display and action buttons 2025-11-14 21:48:06 +00:00
Ross b73e89393b . 2025-11-14 21:21:45 +00:00
Ross ec036a6266 Add open_access field to Resource model for access control 2025-11-14 21:16:55 +00:00
Ross 14e6514b90 Update ResourceDelete view to require AuthorOrChecker permissions for deletion 2025-11-14 21:14:58 +00:00
Ross 639e91fc1e Add created_date and modified_date fields to Resource model; update resource detail and list templates for improved display 2025-11-14 21:12:03 +00:00
Ross 74765e70a2 Add created_date and modified_date fields to Resource model; enhance resource navigation with dropdown menu in base template 2025-11-14 21:01:25 +00:00
Ross ca2b7feb5b Add Resource filtering and table display functionality 2025-11-14 20:56:49 +00:00
Ross 453fbf91be Add ManyToMany fields for sites and subspecialty in Resource model 2025-11-14 20:53:31 +00:00
Ross 7fa08037f0 Remove unnecessary comments from bulk add groups form template 2025-11-12 22:23:50 +00:00
Ross f786e88de9 Refactor bulk add groups form to use HTMX for submission and enhance button functionality 2025-11-12 22:15:10 +00:00
Ross 9441541feb Add grade display to selected users in UserUserGroupForm 2025-11-12 22:11:43 +00:00
Ross 5cca1b079a Fix syntax error in user group form and enhance logging in bulk add groups view 2025-11-12 22:06:09 +00:00
Ross 2e551d411a Add grade information to user search results and enhance user addition functionality 2025-11-12 21:59:20 +00:00
Ross d8055a509c Enhance user search widget with wildcard support and field-specific queries; improve logging in bulk add groups 2025-11-12 21:54:51 +00:00
Ross 208252a858 Add grade filter to user search widget and enhance logging for bulk add operations 2025-11-12 21:48:50 +00:00
Ross ea9dca5804 Implement user search widget with HTMX for dynamic user selection 2025-11-12 21:40:24 +00:00
Ross da04138861 Enhance bulk add groups form with crispy forms for improved styling and usability 2025-11-12 21:23:41 +00:00
Ross ec0245fe7c Add bulk add functionality for user and CID groups to exam collections 2025-11-12 21:19:09 +00:00
Ross c39d30c746 Refactor anatomy question answer form layout and improve styling for better usability 2025-11-11 21:48:01 +00:00
Ross d781508364 Update exam counts to use distinct counts for archived and non-archived exams 2025-11-11 21:31:07 +00:00
Ross 06ea87be14 Add shorts exam count to collection annotations and update display logic 2025-11-11 21:26:05 +00:00
Ross ce1b439681 Refactor exam counts annotation to respect archived status toggle 2025-11-11 21:09:00 +00:00
Ross c8375a28fa Add functionality to filter exam collections by archived status 2025-11-11 21:07:25 +00:00
Ross 6be39ab69d Add archived badge to exam list for better visibility of archived exams 2025-11-11 20:55:57 +00:00
Ross e9d0e402be Implement bulk archive functionality for exams; add HTMX endpoint and update UI controls for improved exam management 2025-11-11 20:52:44 +00:00
Ross dc23dffaf9 Remove instructional text for HTMX marking UI from Mark2 overview page for cleaner interface 2025-11-11 19:51:52 +00:00
Ross 70430b2593 Refactor mark view to improve question handling and user answer management, enhancing overall exam experience. 2025-11-10 22:35:24 +00:00
Ross e989a18d31 Enhance create_anatomy_questions management command with optional image generation and improved argument handling 2025-11-10 22:32:30 +00:00
Ross e39539fb99 Add management commands for creating anatomy questions with customizable options 2025-11-10 22:24:44 +00:00
Ross 44ca49899a Refactor button styles for previous and next actions to use secondary color, enhancing visual consistency across the exam interface. 2025-11-10 22:21:43 +00:00
Ross 4246713ee8 Refactor styles for physics finish list and overview question buttons to improve responsiveness and layout on various screen sizes. 2025-11-10 22:09:02 +00:00
Ross 5a4792ea43 Enhance exam take fragment to update global question header with current question number and stem, improving synchronization and user experience. 2025-11-10 22:04:46 +00:00
Ross 94d5771a26 Refactor exam overview to use anchor elements for questions, improving HTML validity and accessibility; enhance styles for better layout and responsiveness. 2025-11-10 22:01:15 +00:00
Ross 200a6e2a1c Enhance exam take functionality to support HX-Redirect for HTMX clients, ensuring full navigation experience 2025-11-10 21:58:12 +00:00
Ross 2ff857621a Refactor exam take functionality to redirect to full overview page instead of returning HTMX fragment 2025-11-10 21:56:41 +00:00
Ross 52c4f27e2b Add HTMX support for exam overview fragment to enhance user experience 2025-11-10 21:52:46 +00:00
Ross c1eff140f8 Add global listener for HTMX save confirmations and trigger event 2025-11-10 21:46:16 +00:00
Ross dce72f9abe Enhance exam take functionality to support HTMX save action and partial HTML responses 2025-11-10 21:43:19 +00:00
Ross 738752c030 Enhance exam take functionality to support HTMX for dynamic question loading and navigation 2025-11-10 21:39:36 +00:00
Ross 41fc7050ad Refactor exam take functionality to support HTMX for dynamic question loading and navigation 2025-11-10 21:30:45 +00:00
Ross 6eec40c43b Style: Enhance overview button appearance and add hover effects for improved user experience 2025-11-10 21:25:47 +00:00
Ross 7782ac55ca Refactor CSS styles for exam layout to improve responsiveness and alignment of question inputs and labels 2025-11-10 21:22:23 +00:00
Ross 9cf7ad6da7 Refactor exam_take function to use a canonical list of questions for consistent indexing and improved error handling for question navigation 2025-11-10 21:18:58 +00:00
Ross 922ca5053f Refactor exam_take function to use a canonical list of questions for consistent indexing and improved error handling for question navigation 2025-11-10 21:01:02 +00:00
Ross 10739f517f Add command to generate sample physics questions with customizable options 2025-11-10 20:56:18 +00:00
Ross 3c31246636 Update progress bar colors to use bg-danger for incorrect answers in exam review summary 2025-11-09 22:27:28 +00:00
Ross dd55f999f7 Remove unnecessary check for defined exam_user_answers in responses fragment 2025-11-09 22:23:33 +00:00
Ross a6f5ed4c88 Enhance exam review UI with detailed response summaries and progress bars for answer choices 2025-11-09 22:21:08 +00:00
Ross d482b77430 Add HTMX-based response summary and user responses display for exam questions 2025-11-09 22:12:18 +00:00
Ross 3e9a96d99f Add HTMX-based aggregated response summary for exam questions 2025-11-09 22:09:23 +00:00
Ross 092c4a1be6 Add aggregated response summary and user answer filtering in exam review 2025-11-09 22:06:56 +00:00
Ross ae720662f7 Implement HTMX-based loading of exam question responses and add corresponding view and URL routing 2025-11-09 22:01:57 +00:00
Ross c89c14b89e Add display of user responses with correctness indication in exam review 2025-11-09 21:54:51 +00:00
Ross e6a01cb1b5 Enhance exam review question fragment to display detailed answers and feedback with correct answer indication 2025-11-09 21:52:41 +00:00
Ross fd8edd3cc3 Refactor exam review fragment inclusion to support app-specific templates and improve HTMX handling 2025-11-09 21:41:02 +00:00
Ross 2142749db6 Refactor exam review URLs and streamline HTMX request handling in views 2025-11-09 21:36:22 +00:00
Ross 1e1abb2e7f Refactor HTMX request detection to use request.htmx for improved compatibility 2025-11-09 21:18:31 +00:00
Ross 133a63cecc Improve HTMX request detection by using request.headers and falling back to META for compatibility 2025-11-08 22:15:03 +00:00
Ross 8ad47ffc91 Change hx-swap attribute from outerHTML to innerHTML for navigation buttons in exam review question fragment 2025-11-08 22:13:11 +00:00
Ross bf240af678 Change hx-swap attribute from innerHTML to outerHTML for navigation buttons in exam review template 2025-11-08 22:12:07 +00:00
Ross 0f571d8f5c Refactor exam review question template to support HTMX navigation and create a partial for question details 2025-11-08 22:10:21 +00:00
Ross 321c7ef895 Add user access check for editing/reviewing exams in GenericViewBase 2025-11-08 22:07:28 +00:00
Ross d26cac04a7 Add exam review links to navigation in multiple templates 2025-11-08 22:05:52 +00:00
Ross 5613bf6b9f Add exam review functionality with navigation for questions 2025-11-08 21:56:08 +00:00