Commit graph

964 commits

Author SHA1 Message Date
Arthur Belleville
29debcbf25
Fix session context 2026-04-15 21:39:18 +02:00
Arthur Belleville
bc07836538
Merge pull request #74 from artslidd/develop
Chat improvements, UI fixes, and auth cleanup
2026-04-15 21:38:10 +02:00
Arthur Belleville
3c8e3c6af3
Add recipes in turbo.json 2026-04-15 17:19:13 +02:00
Arthur Belleville
abc0e65a86
fix wrangler + send magic link 2026-04-15 17:13:23 +02:00
Arthur Belleville
f531f2437b fix(expo): add type annotation for members forEach in channel screen 2026-04-15 17:13:10 +02:00
Arthur Belleville
f00eec25e8 chore(expo): remove unused SwipeableChannelPreview (Stream Chat) 2026-04-15 17:12:29 +02:00
Arthur Belleville
60ac81deb1 feat(expo): rewrite channel screen with custom chat backend 2026-04-15 17:11:56 +02:00
Arthur Belleville
b321d42b89 feat(expo): rewrite discussions tab with custom chat backend 2026-04-15 17:10:58 +02:00
Arthur Belleville
8cc23fc76c feat(expo): remove Stream Chat, switch to custom chat backend 2026-04-15 17:09:57 +02:00
Arthur Belleville
74d1b4859d feat(expo): add useChatUnread hook for unread count polling 2026-04-15 17:07:16 +02:00
Arthur Belleville
68194d445f feat(expo): add useChat hook with WebSocket and REST integration 2026-04-15 17:07:16 +02:00
Arthur Belleville
f57185cd50 feat(expo): add chat message and WebSocket event types 2026-04-15 17:06:27 +02:00
Arthur Belleville
b516568b74 docs: add expo chat migration implementation plan
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 17:03:47 +02:00
Arthur Belleville
302eb665fd docs: add expo chat migration design spec
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 16:59:18 +02:00
Arthur Belleville
34e112efa7
Merge pull request #76 from artslidd/work-1
feat: client magic links portal with shared tablo views
2026-04-15 16:18:09 +02:00
Arthur Belleville
90fbbbfa53 fix: remove unused handleSendInvite and inviteEmail state
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 16:16:31 +02:00
Arthur Belleville
14b47db42b
Merge pull request #75 from artslidd/work-1
Rework invited user flow
2026-04-15 15:55:33 +02:00
Arthur Belleville
a42b79574f
fix: unique inspector ports,
remove temp invite UI, fix read-only race
2026-04-15 15:52:53 +02:00
Arthur Belleville
e8044182d8
fix: resolve lint and formatting issues in apps/main
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:33:38 +02:00
Arthur Belleville
f3fb08c9b2
feat(clients): add layout, auth callback, tablo page, and list page
Adds SessionProvider to main.tsx, creates ClientLayout with minimal top bar,
AuthCallback for magic link handling, ClientTabloPage with all 7 tabs using
tablo-views components, and ClientTabloListPage with auto-redirect for single tablo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:30:55 +02:00
Arthur Belleville
118b23bfb1
feat(main): add client invite UI to share dialog
Adds three React Query hooks (usePendingClientInvites, useCreateClientInvite, useCancelClientInvite) and a new Client Access section in the share dialog with email input, pending invite list, expiry countdown, and orange warning badge for invites expiring in less than 5 days.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 14:18:27 +02:00
Arthur Belleville
6379d8e2e2
refactor: update apps/main to import tablo views from shared package
- Add @xtablo/tablo-views workspace dependency to apps/main
- Update tablo-details.tsx to import from @xtablo/tablo-views and pass required props
- Remove inline EtapesSection and RoadmapSection functions (now in tablo-views)
- Update chat.tsx to import ChatMessages, useChat, useChatUnread from @xtablo/tablo-views
- Fix broken imports in DashboardTaskList, TabloOverviewSection, tablo.tsx, tasks.tsx
- Update kanban/index.ts to re-export from @xtablo/tablo-views
- Fix test files to import components from @xtablo/tablo-views
- Add is_client: false to test mock user objects

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:15:33 +02:00
Arthur Belleville
66d9ab9ad8
fix(expo): address review findings - cache invalidation, date handling, cleanup
- Add tasks cache invalidation to etape create/update hooks
- Fix timezone-unsafe overdue date comparison in TaskRow
- Add due date picker to EtapeSheet (was missing from spec)
- Use initialized ref to prevent form state overwrite on refetch
- Remove unused deleteTask import from TaskList

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:07:42 +02:00
Arthur Belleville
0ffcb871d8
feat(expo): navigate to tablo detail on tap instead of channel
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:02:26 +02:00
Arthur Belleville
956f97b19f
feat(expo): add task detail screen with create/edit/delete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 14:01:53 +02:00
Arthur Belleville
03cd92719c
feat(expo): add tablo detail screen with task list and etape management
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 14:00:57 +02:00
Arthur Belleville
559c0b4451
chore(expo): add @react-native-community/datetimepicker dependency
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 13:59:47 +02:00
Arthur Belleville
a00d95f8be
feat(expo): add TaskList component with etape grouping 2026-04-15 09:48:55 +02:00
Arthur Belleville
58bbcf840b
feat(expo): add AssigneePicker and EtapePicker modal components 2026-04-15 09:47:11 +02:00
Arthur Belleville
78dba5f15a
feat(expo): add EtapeSheet modal for etape create/edit 2026-04-15 09:46:44 +02:00
Arthur Belleville
ac6a133e26
feat(expo): add EtapeSection collapsible header component 2026-04-15 09:46:26 +02:00
Arthur Belleville
f30df0901d
feat(expo): add TaskRow component 2026-04-15 09:46:08 +02:00
Arthur Belleville
c7b2b8c2d0
feat(expo): add StatusControl segmented picker component 2026-04-15 09:45:53 +02:00
Arthur Belleville
db0b077c0d
feat(expo): add tablo members read-only hook 2026-04-15 09:44:48 +02:00
Arthur Belleville
d6d7892684
feat(expo): add etape CRUD hooks 2026-04-15 09:44:46 +02:00
Arthur Belleville
1d38602465
feat(expo): add task CRUD hooks 2026-04-15 09:44:41 +02:00
Arthur Belleville
5cfb892e11
feat(expo): add task and etape type definitions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 09:35:13 +02:00
Arthur Belleville
3d0a2f7cc0
feat(expo): add tasks and tasks_with_assignee database types
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 09:35:07 +02:00
Arthur Belleville
0330217551
chore: add biome config and fix formatting in apps/clients 2026-04-15 09:26:56 +02:00
Arthur Belleville
7b7b180f96
feat: scaffold apps/clients Cloudflare Worker app 2026-04-15 09:25:58 +02:00
Arthur Belleville
bc28194d3d
refactor: move tablo view components to packages/tablo-views
Moves kanban, gantt, section components, chat hooks and extracted
EtapesSection/RoadmapSection from apps/main into the new shared
packages/tablo-views package. Components that previously depended on
app-specific providers (UserStoreProvider, useIsReadOnlyUser, etc.) are
refactored to receive data/callbacks as props, keeping the package free
of apps/main dependencies.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:23:06 +02:00
Arthur Belleville
e10145d991
feat(api): add client invite endpoints with magic link flow
Adds createClientUser helper, POST/GET/DELETE /client-invites routes,
and mounts the router at /client-invites in authRouter.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:22:11 +02:00
Arthur Belleville
4189a5b140
docs: add expo tasks & etapes implementation plan
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:20:40 +02:00
Arthur Belleville
32fd9c1b2e
docs: add expo tasks & etapes feature design spec
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 09:06:42 +02:00
Arthur Belleville
ccb66f99d8
feat(api): add is_client check to middleware and billing 2026-04-15 09:03:00 +02:00
Arthur Belleville
9e75f9b78d
feat: scaffold packages/tablo-views package 2026-04-15 09:00:33 +02:00
Arthur Belleville
ec9c9622aa
feat(db): add is_client column and client_invites table 2026-04-15 08:58:10 +02:00
Arthur Belleville
05c552ce73
docs: add client magic links implementation plan
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 08:53:22 +02:00
Arthur Belleville
3bed5e20be
docs: add expiration warning for admins to client magic links spec
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 08:32:06 +02:00
Arthur Belleville
bc00eaf53e
docs: add client magic links design spec
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 08:26:52 +02:00