MapColonies / MapColonies/infra-tools

Debounced checking while typing

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

Nobody has claimed this yet.

ready-for-agent
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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.