Skip to content

feat(windows): connect links, file types, long-run notifications, type editors and a JSON view - #4325

Merged
datlechin merged 17 commits into
mainfrom
feat/windows-std-wave-2
Nov 19, 2026
Merged

datlechin merged 17 commits into
mainfrom
feat/windows-std-wave-2

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • W-60: tablepro://connect/<id> opens a saved connection; /table/<name>, /database/<db>/table/<name> and /database/<db>/schema/<s>/table/<name> open the table in the right database; /query?sql= shows the SQL and opens it in a new tab only on Open query; tablepro://settings opens Settings. The grammar is the core's (tablepro_core::app_link, FFI parse_app_link).
  • W-60: the package registers the database URL schemes the core reads. A SQLite or DuckDB URL for a file on a local drive opens the file; a UNC or mapped-drive path, and any network URL, fills the connection form first.
  • W-61: .sql, .psql, .pgsql open in a query tab; SQLite and DuckDB files open as a connection that saves nothing. File, protocol and command-line activations become one ActivationRequest, handed to the running app by a second launch, which first makes relative paths whole.
  • W-53: a query that runs past Settings > Notifications' threshold (20 s) and ends out of sight posts a Windows notification (connection, database, outcome and duration, never the server's error text); a click brings its tab forward. Where Windows shows none, the taskbar button flashes and Settings says why.
  • W-30: the FFI's edit columns carry their kind, an enum's or a set's labels and whether a typed time needs its offset. A boolean toggles on Enter, F2 or a double-click; an enum opens a menu, a SET a menu of checks; date, time and timestamp open a calendar and time picker. Each has Edit as text; Tab still opens the text box. JSON was already checked by the core.
  • W-49: every results pane has Data and JSON; JSON shows the shown rows as text or as a tree, with Copy JSON, so MongoDB documents read as documents.
  • windows/docs/decisions/0018-links-files-notifications-type-editors-and-json.md records it.
  • Tests changed on purpose: SharedLinkOpen.LinkIn and its test went into ActivationRequest, and PendingSharedLinks is now PendingLinks.

Screenshots

Light Dark
Link query Link query light Link query dark
Notifications Notifications light Notifications dark
Boolean toggle Boolean toggle light Boolean toggle dark
Date picker Date picker light Date picker dark
JSON text JSON text light JSON text dark
JSON tree JSON tree light JSON tree dark

Test plan

  • Core: app_link unit tests; FFI a_column_says_what_it_holds_and_an_enum_names_its_labels (DuckDB enum), a_timestamp_with_a_time_zone_needs_its_offset_typed, parse_app_link tests; clippy.
  • Windows: App.Model tests (activation, linked tables, notification rule, type editor text, rows JSON); Interop tests (AppLink.Parse, edit column kinds); bindings regenerated.
  • UI tests on CI (windows.yml run 44298336150, x64 and Arm64 green): file and link handover, notification settings, boolean toggle and date picker, JSON view.

…nk targets once and take the picked day's offset
# Conflicts:
#	core/crates/ffi/src/lib.rs
#	windows/docs/decisions/README.md
#	windows/src/TablePro.App.Model/AppSettings.cs
#	windows/src/TablePro.App.Model/QueryTab.cs
#	windows/src/TablePro.App/Strings/en-US/Resources.resw
#	windows/src/TablePro.App/Views/SettingsView.xaml
#	windows/src/TablePro.App/Views/SettingsView.xaml.cs
#	windows/src/TablePro.App/Views/WorkspaceView.xaml.cs
#	windows/src/TablePro.Interop/Generated/tablepro_ffi.cs
@datlechin

Copy link
Copy Markdown
Member Author

The unsigned release-windows.yml dispatch on this branch passed: both MSIX builds, the bundle, install and start on x64 and Arm64, and the winget manifest. Run: https://github.com/TableProApp/TablePro/actions/runs/44326626858

@datlechin
datlechin disabled auto-merge November 19, 2026 03:32
# Conflicts:
#	core/crates/ffi/src/row_edits.rs
#	windows/AGENTS.md
#	windows/src/TablePro.App.Model/QueryTab.cs
#	windows/src/TablePro.App/Views/QueryTabView.xaml.cs
#	windows/src/TablePro.Interop/Generated/tablepro_ffi.cs
# Conflicts:
#	windows/docs/decisions/README.md
#	windows/src/TablePro.App/Views/WorkspaceView.xaml.cs
@datlechin
datlechin enabled auto-merge (squash) November 19, 2026 08:17
@datlechin
datlechin disabled auto-merge November 19, 2026 08:34
@datlechin
datlechin merged commit 706fa29 into main Nov 19, 2026
41 of 42 checks passed
@datlechin
datlechin deleted the feat/windows-std-wave-2 branch November 19, 2026 08:34
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