Hey everyone 👋
I’m building a frontend where users can edit “phases” and their “tickets.” Each phase can contain multiple tickets. The goal is to have an autosave workflow instead of a manual “Save changes” button.
The problem:
- Each ticket is created via an API that generates the real id on the backend.
- When users create, reorder, or edit tickets (like changing text fields), I want the frontend to automatically sync these changes to the backend.
- I’m using a low-code editor, so I can’t just drop in my own TypeScript class or debounce logic easily.
I’m looking for advice or examples on how to implement:
- Autosave or debounced API calls (PATCH/POST) for text inputs
- Handling pending requests or reorder operations so the latest state is always saved (e.g. trailing debounce or “latest wins” logic)
- How to structure this simply in the Nordcraft editor
If anyone has done something similar — especially autosave or queue-based syncing — I’d really appreciate some guidance or a pattern I could follow 🙏
Thanks in advance!