learningequality / learningequality/studio
Client doesn't get updated on syncing of files during channel sync
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 191
- Forks
- 307
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 10
Description
When channel sync is made using 'Sync resources', we don't create change events for the modifications we make to the database tables. So, the frontend's UI doesn't get updated like for e.g. if a file is deleted from the backend database, the frontend still shows that file in the preview pane.
I discussed this with @bjester and we think that to fix this, we either need to create change events for the modifications we are making or do a re-fetch of all data from the client-side.
@rtibbles sir we need your thoughts on this, what do you think we should do?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the “Sync resources” flow and how its database-table modifications reach the client. Review the existing change-event and client re-fetch paths, then confirm with the maintainer which approach is intended. Done means the frontend reflects files deleted or otherwise modified during channel sync.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend, database, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100