Skip to content

feat(windows): value viewer, cut-cell tips, foreign key navigation, results grid menu and grid header peers - #4282

Merged
datlechin merged 15 commits into
mainfrom
feat/windows-grid-daily-use
Nov 14, 2026
Merged

datlechin merged 15 commits into
mainfrom
feat/windows-grid-daily-use

Conversation

@datlechin

@datlechin datlechin commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Summary

  • W-17: View value... on the grid menu opens the cell in a dialog: a picture where a system codec decodes it (first frame, bounded size), JSON laid out with its strings and numbers as stored, the text, or a binary value's hex, with Copy. The cell is read only as far as the dialog shows; a cut value says so.
  • W-17: a cut cell shows its text in a tooltip after the pointer rests on it, timed as ToolTipService times one; a cell that shows whole has none.
  • W-19: a table tab reads its foreign keys both ways once its first page shows. The cell menu offers Open referenced row and Show referencing rows (at most 64 each way, listed without copying values); choosing one has the core build the filter and opens the other table in a tab beside it, or brings forward a tab showing those rows. A key the core cannot follow says why.
  • W-22: the query results menu gains View value... and Export results...; the table menu gains them too.
  • W-56: row numbers are HeaderItem peers that select their row; column headers are one peer per column, so a cell's TableItem names both its headers on screen or off, which works around the empty TablePattern.ColumnHeaders of Windows App SDK 2.6.4.
  • Core FFI: DatabaseSession::table_keys, TableKeys::row_references and follow_reference over browse::RowReference, ResultSet::cell_text_head and cell_bytes. Bindings regenerated.
  • Docs: Windows ADR 0003 and 0007, core ADR 0022.
  • Not here: the hex dump's offset and character columns wait on C-11; keys from a query result wait on C-21; Copy as formats wait on C-11 (W-20).

Test plan

  • cargo test -p tablepro-ffi: keys both ways with composite values, NULL and empty keys, a sorted set, refusals, binary bytes.
  • TablePro.Interop.Tests RowReferenceTests; TablePro.App.Model.Tests TableTabReferenceTests, CellValueTests.
  • TablePro.DataGrid.Tests HeaderAutomationTests, CellTipTests (Windows CI).
  • UI tests with screenshots: AQueryResultsMenuOpensAValueAsJsonAnImageOrItsHex, AForeignKeyOpensTheRowItPointsAtAndTheRowsPointingBack, AGridCellNamesItsRowAndColumnHeadersAndARowHeaderSelectsItsRow.

Screenshots

From the Windows x64 UI tests (run 43607742936). Before is main with a temporary test (run 43598634756).

Before After
Query results menu on main Query results menu
Table grid menu on main Table grid menu with foreign keys

Table grid menu, dark
Query results menu, dark
Value viewer, JSON
Value viewer, JSON, dark
Value viewer, image
Value viewer, image, dark
Value viewer, hex
Open referenced row
Show referencing rows, dark

@datlechin
datlechin enabled auto-merge (squash) November 14, 2026 15:52
…ly-use

# Conflicts:
#	windows/src/TablePro.App.Model/TableTab.cs
#	windows/src/TablePro.App/Views/TableTabView.xaml.cs
#	windows/src/TablePro.App/Views/WorkspaceView.xaml.cs
…he SQLite keys that point at a table"

This reverts commit 9f834be.
@datlechin
datlechin merged commit 86fd78c into main Nov 14, 2026
34 checks passed
@datlechin
datlechin deleted the feat/windows-grid-daily-use branch November 17, 2026 04:12
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