ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

After editing tasks in the UI I need to sync

Open cfsmp3 opened this issue 10 months ago • 6 comments

Describe the bug UI sync is not automatic.

To Reproduce Steps to reproduce the behavior:

  • Do any change to your tasks.
  • Nothing happens in the UI.
  • Refresh (press the Sync button) and then you'll see your changes.

Expected behavior Since I made the changes on the UI, I expect them to be picked up automatically.

Desktop (please complete the following information): Firefox on Linux.

cfsmp3 avatar Jan 19 '26 20:01 cfsmp3

hey @cfsmp3 , i would love to pick this issue to resolve this issue , if no one working on this @its-me-abhishek could you pls assign this issue to me .

Hell1213 avatar Jan 20 '26 04:01 Hell1213

We used to do that initially, the thought behind removing it was to prevent too many API calls in case one changes a field by accident and then again and so on. This needs to be fixed though, not quite sure but one way to do this could be to Add a button in the settings panel for Auto Sync on each task edit (Set to on by Default). This way we can store the task state until the Task Edit/View Dialog is open then refresh the UI when the Dialog is closed (onClose is called). Any thoughts on it? @Hell1213

its-me-abhishek avatar Jan 20 '26 09:01 its-me-abhishek

@its-me-abhishek ,That makes more sense. Syncing on dialog close is way better than after every field change - one sync when they're actually done editing instead of spamming the backend. The settings toggle (on by default) gives users control without forcing it. I'll update the PR to remove the immediate sync after edit, add the toggle in settings, and hook into dialog onClose to sync when they finish editing. should we take this approach .

Hell1213 avatar Jan 21 '26 05:01 Hell1213

@Hell1213 i think so yes. Set UI sync to automatic by default, but let the users to set it to off as required. Can add a toggle inside Profile Icon for this. If off, the UI will fallback to how it is handled as of now

its-me-abhishek avatar Jan 22 '26 06:01 its-me-abhishek

Hi @its-me-abhishek I would like to work on this issue if it’s still open I agree with the approach discussed (sync on dialog close + settings toggle) and can implement it accordingly, please let me know if I can take this up

HarshRaj29004 avatar Jan 22 '26 16:01 HarshRaj29004

@Hell1213 i think so yes. Set UI sync to automatic by default, but let the users to set it to off as required. Can add a toggle inside Profile Icon for this. If off, the UI will fallback to how it is handled as of now

sure thanks, I’m working on it now based on your suggestion . I’ll update the PR shortly.

Hell1213 avatar Jan 22 '26 16:01 Hell1213