MapColonies / MapColonies/infra-tools
Debounced checking while typing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 22h 52m
- Merged PRs (30d)
- 13
Description
## Parent
#17
## What to build
Fixing a typo clears the squiggle without saving. Checks re-run about three quarters of a second after typing stops, so the developer learns a tag is wrong before committing to it rather than after.
Blocked by the cache deliberately. Debounce without a cache means a registry request on every pause in typing, which turns a rate limit into a wall — the ordering is a correctness-of-cost decision, not an arbitrary sequence.
## Acceptance criteria
- [ ] Editing a tag re-checks shortly after typing stops, with no save required
- [ ] Typing continuously issues no requests until it pauses
- [ ] Correcting a bad tag clears its diagnostic and renders a checkmark
- [ ] Editing back and forth between two already-seen values is served from cache rather than re-requested
## Blocked by
- #27 — Persistent result cache and request concurrency cap
Contributor guide
No contributing guide indexed for this repository
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
This issue is blocked by #27, so first read the persistent cache and request-concurrency work, then review parent issue #17 for the editing flow. Trace the existing tag check and diagnostic rendering, and verify that paused typing rechecks without saving, continuous typing sends no requests, corrections clear diagnostics, and cached values avoid repeat requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100