Skip to content

Thomasgorissen/fix mixfix track result codelens#894

Merged
serrynaimo merged 6 commits intomainfrom
thomasgorissen/fix-mixfix-track-result-codelens
Apr 19, 2026
Merged

Thomasgorissen/fix mixfix track result codelens#894
serrynaimo merged 6 commits intomainfrom
thomasgorissen/fix-mixfix-track-result-codelens

Conversation

@serrynaimo
Copy link
Copy Markdown
Collaborator

No description provided.

serrynaimo and others added 6 commits April 19, 2026 08:43
rebuildMixfixAppAnno in TypeCheck was producing one payload hole per
restructured arg, but the generic ToConcreteNodes instance for App
expects exactly two (funcName + args list as a whole). The extra holes
caused toNodes to fail with InsufficientHoleFit, so rangeOfNode returned
Nothing for any enclosing Directive and the codelens was silently
dropped on mixfix call sites.

Also reorder the AI tutorials README to put "Composing L4 with AI"
first, and point the jl4-web example selector's external button at the
VS Code marketplace listing.
The VSCode webview inspector formats structured result values by
breaking commas onto indented lines and stripping the outer parens
from record values (so `(Foo WITH a = 1, b = 2)` renders as a
multi-line block). jl4-web was still displaying them single-line.
Port formatResultValue and apply it to both the colorized and
uncolorized render paths.
Adopt the structural improvements from the VSCode inspector while
keeping jl4-web's existing light theme:

- Wrap each file's sections in a .file-group so the "Remove all"
  button sits alongside a per-file result count.
- Merge the chevron toggle and the file/section label into a single
  button so the whole header row is clickable; hover now highlights
  the whole section header.
- Support ⌘/Ctrl+click on a result's header to reveal the directive
  in the Monaco editor (wired through a new onRevealSource prop).
- Bump the success/failure left border from 2 to 3px to match the
  VSCode side.

Skipped intentionally: VSCode theme variable CSS (jl4-web has its
own light theme), the @repo/l4-highlight colorizer swap (Monaco is
already loaded here), and the directive-id parser rewrite (jl4-web
uses a bare "line:col" id, not the "uri:line:col" form VSCode uses).
@serrynaimo serrynaimo merged commit 5ee83c9 into main Apr 19, 2026
5 checks passed
@serrynaimo serrynaimo deleted the thomasgorissen/fix-mixfix-track-result-codelens branch April 19, 2026 13:26
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