Added the Edit Priority functionality in the Task Section#180
Merged
its-me-abhishek merged 2 commits intoNov 15, 2025
Conversation
ShivaGupta-14
pushed a commit
to ShivaGupta-14/ccsync
that referenced
this pull request
Dec 25, 2025
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.
Description
Added the ability to edit task priority directly from the task details dialog. Previously, the priority field was read-only and could not be modified from the frontend. Now users can easily update task priorities (High, Medium, Low, or None) with a simple dropdown selection.
Changes:
Added priority editing functionality to task details dialog
Implemented dropdown selector with priority options (None, High, Medium, Low)
Integrated with existing
/modify-taskbackend endpointAdded save/cancel actions with visual feedback (toast notifications)
Priority changes sync immediately with Taskwarrior
Fixes: Make Task Model Fields Editable on Frontend and Backend #166
Checklist
npx prettier --write .(for formatting)gofmt -w .(for Go backend) - N/A, frontend-only changesnpm test(for JS/TS testing)Additional Notes
Features:
Screencast.from.2025-11-14.00-58-28.webm
Part of Field Editability Initiative:
This PR is part of the larger effort to make task fields editable from the frontend. Priority was chosen as an early implementation because the backend
/modify-taskendpoint already supports it.Files Modified:
frontend/src/components/HomeComponents/Tasks/hooks.tsfrontend/src/components/HomeComponents/Tasks/Tasks.tsx