Repository navigation
feat(account): every app asks for a license the same way, as support, and never asks someone who paid - #4729
Merged
Merged
Conversation
… and never asks someone who paid The ask's rules, who has paid, the referrers and the purchase links move into tablepro_account::support and reach every app through the FFI (core ADR 0083). macOS shows the ask as an NSAlert sheet, Linux as a toast that stays until dismissed (ADR 0049), Windows as a teaching tip (ADR 0032). I Use It Personally and the Black Friday line are gone.
…unify # Conflicts: # core/docs/decisions/README.md
…e after a finished query First ask on the 7th day of use once 10 queries finished, the second 14 days later after 5 more days of use, then every 90 days, at most 4 a year. It shows only after a query finished, two minutes past launch and two seconds after the last input (core ADR 0098). Also fixes the Windows CA1822 build error.
…unify # Conflicts: # windows/docs/decisions/README.md # windows/src/TablePro.Interop/Generated/tablepro_ffi.cs
…ExtManual, and Windows settings compare them by value
…unify # Conflicts: # core/docs/decisions/README.md
This was referenced Nov 29, 2026
datlechin
added a commit
that referenced
this pull request
Nov 29, 2026
… on the device, with #4729's license ask fields
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
app-*referrers and every purchase and sponsor link now live in one place,tablepro_account::support, and reach macOS, Linux and Windows through the FFI (core ADR 0099). The three hand-written copies had drifted.NSAlertrun as a sheet, which replaces the custom window. The Support window's Buy a License carries where it was opened from (app-support,app-sidebar,app-welcome). The Black Friday line is removed, since its sale ends before this ships.not_now. Toasts that arrive later show first, and a license found while it shows takes it down. The main menu adds Support TablePro, and the metainfo gets a donation URL.TeachingTip, which replaces the InfoBar. Help adds Support TablePro, and Settings offers Upgrade... for a Free account.upgrade_clicked: the share sheet's Pro tag on macOS and Linux, and the paid-feature row on macOS. The About panel's Website label is now localized.Tests changed on purpose:
FeatureAccessTests(the audience reads the core'shasPaid),SupportLinksTests(the core's codes;icloud_syncnow readsapp-gate-icloud-sync),TelemetryTestsand WindowsLicenseAskTests(no personal answer), and Linuxworkspace/tests/shell.rs(one more primary menu action). Removed with their types:SupportAskScheduleTests,DatedSaleTests,DatedSaleScheduleTests.Needs the maintainer: tablepro-cloud's
docs/design/clients.mdstill describes I Use It Personally and the old Linux toast, and its portal's/billingrecords noref, so an order placed from Upgrade... carries no attribution.Screenshots
macOS, signed out (a debug build that skips the schedule and the wait). Before is the shipped sheet; after is the standard alert sheet.
Help > Support TablePro:
Windows: the UI test
LicenseAskTestssaves the tip and the Support TablePro dialog (64-support-tablepro) in the Windows jobs' screenshot artifact. Linux has no local build on this Mac.Test plan
cargo test -p tablepro-account --lib support: 16 pass, including past the device limit, an unread plan, and a development stack, which covers nobody.cargo test -p tablepro-ffi --lib account: 39 pass. C# bindings regenerated with uniffi-bindgen-cs 0.11.1.