Commit Graph

11 Commits

Author SHA1 Message Date
Ruslan Bakiev
947ef4d56d refactor: migrate CRM data layer from manual gqlFetch to Apollo Client
Replace custom gqlFetch() with proper Apollo useQuery/useMutation hooks
powered by codegen-generated TypedDocumentNode types. Key changes:

- Add GraphQL SDL schema file and codegen config for typescript-vue-apollo
- Replace all 28 raw .graphql imports with generated typed documents
- Add 12 useQuery() hooks with cache-and-network fetch policy
- Add 17 useMutation() hooks with surgical refetchQueries per mutation
- Optimistic cache update for setContactInboxHidden (instant archive UX)
- Fix contact list subtitle: show lastText instead of channel name
- Migrate login page from gqlFetch to useMutation
- WebSocket realtime now calls Apollo refetch instead of full data reload

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 10:07:35 +07:00
Ruslan Bakiev
94c01516ba precompute call waveforms and stop list-time audio loading 2026-02-23 16:02:57 +07:00
Ruslan Bakiev
60b9bb9fd1 remove contact company/country/location across db and ui 2026-02-23 14:52:26 +07:00
Ruslan Bakiev
6ad53e64c5 feat(documents): delete document from context menu 2026-02-23 14:27:00 +07:00
Ruslan Bakiev
d3b751db65 refactor(graphql): replace dashboard query with resource queries 2026-02-23 12:46:29 +07:00
Ruslan Bakiev
4b9682e447 feat: add unified client timeline query 2026-02-23 10:48:21 +07:00
Ruslan Bakiev
95fd9a64ce feat(chat): add contact inbox sources with per-user hide filters 2026-02-23 10:41:02 +07:00
Ruslan Bakiev
f1fb2fbfa6 feat(chat): add outbound delivery statuses to omnichat thread UI 2026-02-23 09:04:49 +07:00
Ruslan Bakiev
9efb42f598 frontend: add create-workspace-document graphql operation 2026-02-23 07:50:38 +07:00
Ruslan Bakiev
129daa31d7 Add URL-based change review and selective change-set rollback 2026-02-20 19:04:49 +07:00
Ruslan Bakiev
46cca064df chore: rename service folders to lowercase 2026-02-20 12:10:25 +07:00