Skip to content

feat(yasgui): improve the SPARQL Anything query builder and open the Source view on load - #247

Merged
MathiasVDA merged 2 commits into
mainfrom
claude/project-thread-sboz5y
Oct 28, 2026
Merged

MathiasVDA merged 2 commits into
mainfrom
claude/project-thread-sboz5y

Conversation

@MathiasVDA

@MathiasVDA MathiasVDA commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by Mathias · project thread

Three changes to the SPARQL Anything source inspector (#244):

  • Build query: one compact bar on top. A sticky row at the top of the view: an All checkbox with a ticked count (2/3) on the left; Replace block (primary) plus icon buttons for insert at cursor (text cursor) and open in a new tab (external link) on the right. The actions are dimmed until a value is ticked. The generated patterns stay below the tree.
  • Build query: All. Ticks every value of the source (keeping what was already picked; like ticking one by one, the first is required and later ones optional). It is indeterminate for a partial selection, and unticking clears the selection.
  • Load structure opens the side panel. The chip's Load structure and Retry, and the Ctrl+K "Load structure of …" command, open the Source view so the progress and result show next to the editor.

Adds two Lucide icons (externalLink, textCursor). User guide updated, changeset added (yasgui minor).

Tests

Two new browser tests in test/sparql-anything-browser.ts (Source view opens on load; bar above the tree, actions disabled until a pick, All ticks and clears). All 12 SPARQL Anything browser tests pass, over repeated runs.

🤖 Generated with Claude Code

…Source view on load

- Build query: action buttons at the top of the view, disabled until a value is ticked
- Build query: All values checkbox to tick or clear every value at once
- Load structure (chip, Retry and Ctrl+K) opens the Source view of the side panel
@MathiasVDA MathiasVDA self-assigned this Oct 27, 2026
One row at the top of the Build query view: All checkbox with a ticked count on the left,
Replace block and icon buttons for insert at cursor and new tab on the right.
@MathiasVDA
MathiasVDA merged commit ebba58e into main Oct 28, 2026
2 checks passed
@MathiasVDA MathiasVDA mentioned this pull request Oct 28, 2026
3 tasks done
@MathiasVDA
MathiasVDA deleted the claude/project-thread-sboz5y branch October 29, 2026 13:46
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