fix: auto-sync tasks after editing .#419
Conversation
|
Thank you for opening this PR! Before a maintainer takes a look, it would be really helpful if you could walk through your changes using GitHub's review tools. Please take a moment to:
More information on how to conduct a self review: This helps make the review process smoother and gives us a clearer understanding of your thought process. Once you've added your self-review, we'll continue from our side. Thank you! |
7c0d433 to
b91ad61
Compare
|
@Hell1213 this seems to be a nit but I guess the highlighting of buttons is being done incorrectly via mouse hover. Both sections are getting highlighted here. Might be due to improper use of divs
|
Added Auto Sync on Edit toggle in profile settings (on by default). When enabled, tasks auto-sync after editing. When disabled, users must manually sync. Toggle state syncs between navbar and Tasks component via custom event.
b91ad61 to
b0d6a48
Compare
thanks @its-me-abhishek for pointing out . |


Description
Added auto-sync after task editing to eliminate manual sync button click. Backend uses async job queue, so added 1-second delay before syncing to ensure job completes.
Checklist
npx prettier --write .(for formatting)gofmt -w .(for Go backend)npm test(for JS/TS testing)Additional Notes
Only frontend change - 3 lines in
handleEditTaskOnBackend()to wait for async job then auto-sync.Screencast.from.2026-01-23.00-01-41.mp4