Skip to content

feat(desktop): typed ref hovers, field completion and shape refresh#77

Merged
gandarfh merged 6 commits into
mainfrom
feat/typed-refs-desktop
Jun 10, 2026
Merged

feat(desktop): typed ref hovers, field completion and shape refresh#77
gandarfh merged 6 commits into
mainfrom
feat/typed-refs-desktop

Conversation

@gandarfh

Copy link
Copy Markdown
Member

What

Desktop integration for typed {{alias.path}} resolution served by the language server:

  • save_block_result (command + wrapper) now carries the block's alias, so successful runs land an inferred response shape; both block panels send the custom httui/refresh notification after an aliased save so the server republishes field diagnostics.
  • Read-side {{alias…}} cache resolution now looks up the latest result by (file_path, alias) — the write side keys HTTP rows by a request+env hash the document scanner cannot reproduce, so the old content-hash lookup missed every row (hover always claimed the block had never run).
  • httui-core bumped to pick up the WAL journal mode and the response shape cache.
  • DB panel split into sibling hooks (explain, paging, cache hydrate, legacy migration) to clear the size gate; panel + hooks covered by new tests (48 checks in the db fenced suite).

Validation

Manually verified in the app: hover shows the field type from the last run, {{alias.response. completes with real fields, and a field typo gets a warning squiggle with a suggestion. Full unit suite (3207), clippy and prettier green.

@gandarfh
gandarfh merged commit e0dd0a7 into main Jun 10, 2026
5 checks passed
@gandarfh
gandarfh deleted the feat/typed-refs-desktop branch June 10, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant