QuantStack / QuantStack/Arbalister

Update data on file change

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
28
Forks
3
Avg merge
29m
Merged PRs (30d)
4

Description

Since the data is loaded manually, and since we deactivated expensive file hashes, there is likely no notification when the file changes.

Since this uses a server extension, we can add another special route to listen for file changes and reset the DataModel.
Project like watchfiles can help to efficiently detect/listen for changes.

On the client-side a websocket connection or polling on this route will let the frontend know when to update.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named; begin by locating the server extension entry point and the DataModel reset path. Evaluate watchfiles for change detection and compare the proposed websocket or polling route on the client side. Done means file changes reset the DataModel and the frontend is notified to update.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, typescript
Domain
backend-api-design, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.