Add task presets, property clearing, and system suggestions - #282
Closed
felixevers wants to merge 38 commits into
Closed
Add task presets, property clearing, and system suggestions#282felixevers wants to merge 38 commits into
felixevers wants to merge 38 commits into
Conversation
add suggestion ui
use suggestion popup
…-drawer-close Discard confirm dialog for drawer
Pin all alpine versions
--------- Co-authored-by: Felix Evers <git@felixevers.de>
* fix patient clinic source --------- Co-authored-by: Felix Evers <git@felixevers.de>
--------- Co-authored-by: Felix Evers <git@felixevers.de>
* clear property feature * feat: move mutations into backend --------- Co-authored-by: Felix Thape <felix.thape@gmail.com>
…ktable Issue/222 direct editing on tasktable
The inline AssigneeSelect cell in the task list reused the `optimisticUpdates` map to flag rows on change. That map stores the task's `done` state, so editing the assignee inline optimistically checked the task in the UI even though the backend never changed it. Remove the erroneous optimistic `done` updates from the assignee cell's onValueChanged/onDialogClose handlers so changing the assignee no longer visually completes the task. Fixes #276 Claude-Session: https://claude.ai/code/session_01Y7Bjksr92VvB6dWQoJGZN9 Co-authored-by: Claude <noreply@anthropic.com>
* Truncate text properties to 32 characters in table views Text (textarea) property values are now cut at 32 characters with a trailing "..." in table cells, while the full value remains available via the cell tooltip. Closes #277 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P1DT2nb74TG1FBfLamaMF1 * Truncate text property tooltip to 32 characters as well The cell tooltip now shows the same 32-character truncated value with a trailing "..." instead of the full text. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P1DT2nb74TG1FBfLamaMF1 --------- Co-authored-by: Claude <noreply@anthropic.com>
Upgrade vulnerable backend dependencies to patched versions: - python-dotenv 1.2.1 -> 1.2.2 (CVE-2026-28684) - strawberry-graphql 0.287.3 -> 0.315.7 (CVE-2026-47706, CVE-2026-47707) - pytest 8.3.4 -> 9.0.3 (CVE-2025-71176) - fastapi 0.124.4 -> 0.137.2 to allow starlette >= 1.3.1 (CVE-2026-48817/48818, CVE-2026-54282/54283); fastapi 0.124 capped starlette at < 0.51.0, pinning the vulnerable 0.50.0 Bump the pytest plugins required for pytest 9 compatibility (pytest-asyncio 0.24.0 -> 1.4.0, pytest-cov 5.0.0 -> 7.1.0). strawberry 0.315 enforces explicit type annotations on resolver arguments, so annotate the previously untyped `info` parameters in UserType (organizations, tasks, root_locations). pip-audit reports no known vulnerabilities after the upgrade and the full backend test suite (74 tests) passes. Claude-Session: https://claude.ai/code/session_014Utr2YbmNw9NAyHHHnYpBa Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces task presets for templating task creation, property clearing functionality for bulk data management, system suggestion modals for clinical guidelines, and significant improvements to data loading, caching, and testing infrastructure.
Key Changes
Task Presets
TaskPresetType,TaskGraphNodeType, and related GraphQL resolversuseCreateTaskPreset,useUpdateTaskPreset,useDeleteTaskPreset,useTaskPresets)/settings/task-presetswith preset editing and deletionApplyTaskGraphmutation to apply preset templates to patientsLoadTaskPresetDialogandTaskPresetDataEditorcomponents for preset selection and configurationProperty Clearing
ClearPatientPropertyandClearTaskPropertymutations for bulk clearing of property valuesClearPropertyColumnDialogcomponent with confirmation and type-in validationusePatientPropertyClearDialoganduseTaskPropertyClearDialogfor dialog state managementSystem Suggestions
SystemSuggestionModalcomponent for displaying clinical guideline adherence suggestionsSystemSuggestionTasksContextfor managing suggested tasksLoadTaskPresetDialogintegration with system suggestionsData Loading & Caching
useAccumulatedPaginationhook with improved pagination bounds computation and contiguous page trackingsamePaginatedListItemsutility for comparing paginated list itemsbuildOptimisticPropertiesandapplyOptimisticPropertiesTesting Infrastructure
mockBackendfor deterministic GraphQL mockingdata-loading.spec.ts) and patient table (patient-table.spec.ts)vitest.config.tsfor frontend unit testingUI/UX Improvements
EditablePropertyCellcomponent for inline property editingInfiniteScrollSentinelfor lazy-loading listsRowRefreshingGatecontext for row-level loading statesDueDateDisplaycomponent with improved date formattingBackend Enhancements
task_graph.pyupdated_attimestampLocalization
Infrastructure
tests.ymlwith concurrency control.dockerignorefiles for cleaner buildsDocumentation
AGENTS.mdoperational guide for AI contributorsTESTING.mdwith consolidated workflow instructionsNotable Implementation Details
https://claude.ai/code/session_013kyTRPDs9AaH5newZrsw7X