After editing tasks in the UI I need to sync
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.
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 .
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 ,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 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
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
@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.