Commit graph

622 commits

Author SHA1 Message Date
Arthur Belleville
2ffe4b1b41
feat(pwa): wire InstallBanner into app shell
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:52:29 +02:00
Arthur Belleville
8e41b031aa
feat(pwa): add InstallBanner component with tests
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:51:38 +02:00
Arthur Belleville
e23013b0af
feat(pwa): add useInstallPrompt hook with tests
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:48:13 +02:00
Arthur Belleville
c80a6fa94b
fix(pwa): resolve workbox-window build error with Cloudflare plugin
Add workbox-window as direct dependency and set injectRegister: false
to prevent conflict between vite-plugin-pwa and @cloudflare/vite-plugin.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:42:10 +02:00
Arthur Belleville
d199e9e3a8
feat(pwa): add safe area insets for standalone mode
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:35:08 +02:00
Arthur Belleville
9dc4ad95c5
feat(pwa): register service worker with auto-update
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:34:38 +02:00
Arthur Belleville
a467e2c167
feat(pwa): add PWA meta tags and update viewport for standalone mode
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:32:31 +02:00
Arthur Belleville
4e01b8cab4
feat(pwa): configure vite-plugin-pwa with manifest and workbox precaching
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:32:14 +02:00
Arthur Belleville
6d5f78aecf
feat(pwa): add icon generation script and generated PWA icons 2026-04-02 19:01:21 +02:00
Arthur Belleville
ab38e8115b
feat(pwa): add vite-plugin-pwa and sharp dependencies 2026-04-02 18:58:54 +02:00
Arthur Belleville
795378e1f8
docs: add PWA implementation plan
10-task plan covering dependencies, icon generation, vite-plugin-pwa
config, meta tags, SW registration, safe areas, install prompt hook,
banner component, and end-to-end verification.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 18:56:41 +02:00
Arthur Belleville
61ec7e44cf
docs: add PWA design spec for apps/main
Covers installable PWA with vite-plugin-pwa, icon generation,
custom install prompt, mobile polish, and deployment strategy.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 18:50:51 +02:00
Arthur Belleville
949888ec63
fix: resolve insertBefore DOM reconciliation error in React 19
UserStoreProvider was switching between three different return structures
(LoadingSpinner / children directly / Context.Provider wrapping children),
causing full fiber tree restructures in React 19 concurrent mode. When
batched with other state updates (e.g. UpgradeBlockContext loading),
React called insertBefore with a reference node already detached from
the DOM.

- Always render UserStoreContext.Provider so tree structure is stable;
  spinner vs children toggle happens inside it
- Use useRef to hold a stable Zustand store (update via setState instead
  of recreating on every render)
- Move inline <style> from App.tsx JSX into main.css to avoid React 19
  style-tag edge cases with conditional sibling rendering

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:07:47 +02:00
Arthur Belleville
0012bc87b3
db: enforce is_temporary = false on paid plans at the schema level
Adds a BEFORE trigger and CHECK constraint on profiles to guarantee that
is_temporary cannot coexist with a paid plan (solo, team, or annual),
regardless of which code path performs the update.

Also back-fills any existing inconsistent rows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 22:18:40 +02:00
Arthur Belleville
0b0d7b6cf0
Block app access until organizations add a paid plan 2026-03-24 21:41:38 +01:00
Arthur Belleville
50ee39104b
Update founder signup copy to highlight unlimited features 2026-03-24 20:58:49 +01:00
Arthur Belleville
530e4a0257
Clarify Founder 50-seat limit on signup pages 2026-03-24 20:42:43 +01:00
Arthur Belleville
1113af72ac
allow invited to upgrade plan 2026-03-24 19:10:15 +01:00
Arthur Belleville
f6e5c39dcc
feat: implement trial period for checkout sessions and enforce team plan member limit
Added a 14-day trial period for the "solo" and "team" plans during checkout session creation. Also, enforced a member limit of 3 for the "team" plan in the user invitation process and updated the settings page to reflect this limit with appropriate messaging.
2026-03-16 10:21:34 +01:00
Arthur Belleville
9cd51e9f0b
refactor: remove debug log from settings page 2026-03-16 10:07:10 +01:00
Arthur Belleville
9e0529f73b
feat: add plan badge to overview and settings pages
Show the active subscription plan pill (Founder/Teams/Solo) next to the
user's name on the overview greeting and in the settings page header.

Made-with: Cursor
2026-03-16 09:52:34 +01:00
Arthur Belleville
65ea60a91c
Add pill in profile 2026-03-16 09:43:18 +01:00
Arthur Belleville
63edd59c57
feat: add PlanAnnouncement component to display active subscription plan notifications 2026-03-16 09:31:26 +01:00
Arthur Belleville
8ae27c2168
feat: add additional Stripe pricing IDs to cloudbuild configuration 2026-03-16 09:05:31 +01:00
Arthur Belleville
4d22e987de
Rename env var 2026-03-16 08:44:33 +01:00
Arthur Belleville
1a0d77857e
Fix missing Stripe price config 2026-03-16 08:41:02 +01:00
Arthur Belleville
5775ff3c8f
feat: enhance Stripe configuration to prioritize environment variables for secret keys 2026-03-16 08:32:41 +01:00
Arthur Belleville
e73268ab31
feat: add Stripe pricing IDs to configuration and update plan price retrieval 2026-03-16 08:32:31 +01:00
Arthur Belleville
c481f2c577
Retry signup tests with Stripe CLI 2026-03-15 19:09:35 +01:00
Arthur Belleville
3d4297f330
docs: add pricing signup flow verification design spec 2026-03-15 18:35:02 +01:00
Arthur Belleville
ca4ede28bb
Merge pull request #62 from artslidd/codex/tablo-overview-builder-v1
Codex/tablo overview builder v1
2026-03-14 14:06:27 +01:00
Arthur Belleville
0efc36e70c
feat: add configurable overview layout builder 2026-03-14 13:36:47 +01:00
Arthur Belleville
6b65e3fee4
chore: ignore local git worktrees directory 2026-03-14 10:47:51 +01:00
Arthur Belleville
105fe7645e
Add no-code tablo overview builder design spec 2026-03-14 10:43:16 +01:00
Arthur Belleville
2d965c524e
Fix organization modal flows 2026-03-08 22:44:02 +01:00
Arthur Belleville
a735c063ab
Add trial rollout date fallback 2026-03-08 22:13:32 +01:00
Arthur Belleville
8fc463313d
Fix trial upsell modal logic 2026-03-08 21:59:38 +01:00
Arthur Belleville
76f497d2c8
Keep founder plan during invites 2026-03-08 21:43:31 +01:00
Arthur Belleville
992b846a85
Fix CircleCI docker node pull 2026-03-08 21:28:44 +01:00
Arthur Belleville
03e426dd23
Implement new billing model 2026-03-08 21:11:42 +01:00
Arthur Belleville
d0820ebbf1
Implement solo teams founder billing 2026-03-08 19:29:44 +01:00
Arthur Belleville
0e91257aa1
Add tablo invite popover 2026-03-07 19:27:22 +01:00
Arthur Belleville
cd327c8b79
Move dispos, split types d'appels, and also put the tablo invitations in the top bar 2026-03-07 19:12:19 +01:00
Arthur Belleville
354831c82f
Some work towards initial release 2026-03-07 15:45:49 +01:00
Arthur Belleville
28d0b938fa
Fix various issues 2026-03-04 22:09:10 +01:00
Arthur Belleville
0c4e9c1301
Enhance recovery mechanism for orphaned tablos by managing triggers
- Introduce logic to temporarily disable the notify_users_on_tablos trigger during the update of orphaned tablos to prevent unwanted notifications.
- Ensure that the trigger is re-enabled after the update, even in case of exceptions, maintaining database integrity.
2026-03-04 21:54:37 +01:00
Arthur Belleville
521772becb
Implement recovery mechanism for orphaned tablos in organization migration
- Add a safety net to handle legacy inconsistencies by assigning orphaned tablos to a dedicated recovery organization.
- Ensure that the NOT NULL constraint can be applied to the organization_id field in the tablos table.
2026-03-04 21:52:50 +01:00
Arthur Belleville
7c15ff3275
Organization support 2026-03-04 21:47:44 +01:00
Arthur Belleville
f2a35a85dc
Merge pull request #58 from artslidd/develop
develop
2026-02-27 09:23:05 +01:00
Arthur Belleville
ec62b9c341
feat(auth): add v2 login/signup pages with localized copy 2026-02-24 12:31:25 +01:00