Skip to content

Improve interactive table result experience - #4

Merged
Ma1kovich merged 1 commit into
mainfrom
agent/improve-table-result-experience
Jul 18, 2026
Merged

Ma1kovich merged 1 commit into
mainfrom
agent/improve-table-result-experience

Conversation

@Ma1kovich

Copy link
Copy Markdown
Contributor

Summary

  • Add a dedicated interactive TAP table query that can load up to 10,000 rows within a 6 MiB widget-only dataset while keeping the model-visible preview to 20 rows.
  • Preserve the canonical query default of 100 rows while separating that default from the hosted service's absolute row ceiling.
  • Replace row virtualization with globally sorted, 100-row client-side pages, page-scoped selection, and repeatable page or selection analysis.
  • Fix copy and download fallbacks, use icon confirmation for copying, round durations, clarify overflow guidance, and keep fullscreen controls to supported desktop hosts.
  • Treat incomplete host snapshots as loading instead of invalid results, with a compact mobile loading shimmer until complete data arrives.
  • Update the public operator guide, privacy disclosure, and regression coverage.

Why

The previous hosted policy treated 100 rows as both the normal query default and the maximum, which made the interactive table too small for astronomical datasets. The widget also conflated incomplete compatibility snapshots with final invalid results, producing a transient error before valid data arrived. On mobile, this could leave the widget without a useful visible loading state, while fullscreen was not reliable.

Impact

Users can inspect substantially larger bounded datasets through predictable pages, sort the complete loaded result, select rows for analysis, and explicitly send the current page or selection to chat. The full widget dataset remains outside model-visible structured content unless the user chooses to expose a bounded page or selection.

Validation

  • npm run format:check
  • npm run lint
  • npm run typecheck
  • npm test — 381 passed, 3 skipped
  • npm run build
  • npm --workspace @starfetch-js/mcp-app run check — 69 server tests and 24 widget tests
  • npm --workspace @starfetch-js/mcp-app run test:browser — 12 desktop/mobile browser tests

@Ma1kovich
Ma1kovich marked this pull request as ready for review July 18, 2026 14:33
@Ma1kovich
Ma1kovich merged commit 4bfaa1d into main Jul 18, 2026
4 checks passed
@Ma1kovich
Ma1kovich deleted the agent/improve-table-result-experience branch July 18, 2026 14:41
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