Commit Graph
13 Commits
Author SHA1 Message Date
cfngc4594 44ec30e988 refactor(store): replace Submission with SubmissionWithTestcaseResult in dockview store 2025-04-14 14:12:15 +08:00
cfngc4594 ce4a0e64c9 feat(store): persist submission state in dockview store 2025-04-14 10:39:06 +08:00
cfngc4594 c82b75b300 feat(dockview-store): add submission state management 2025-04-13 22:44:05 +08:00
cfngc4594 69e06ecfc6 feat(dockview): add Zustand store for dockview API management 2025-04-12 10:41:52 +08:00
cfngc4594 82b0705bdb feat(problem-store): add submissions to problem store state and provider
- Added `submissions` field to `ProblemState` and `ProblemStore` type
- Updated `createProblemStore` function to handle `submissions`
- Modified `ProblemStoreProvider` to pass `submissions` as a prop
- Updated `ProblemLayout` to fetch `submissions` from the database and pass to the provider
2025-04-11 17:42:52 +08:00
cfngc4594 f1f2a70c0e refactor(problem-store): consolidate problem data structure into ProblemWithDetails 2025-04-09 20:38:53 +08:00
cfngc4594 a02335b255 feat(problem-store): add testcases to store state and provider 2025-04-09 19:41:55 +08:00
cfngc4594 750fb74653 chore(imports): update imports to use @/generated/client instead of @prisma/client 2025-04-01 11:46:25 +08:00
cfngc4594 2c013097a8 feat(problem-store): add markers to problem store state and actions 2025-03-25 13:01:34 +08:00
cfngc4594 2a90162c73 feat(problem-store): add problem field to ProblemState 2025-03-24 10:28:16 +08:00
cfngc4594 3fbec8cd24 feat(problem-store): add WebSocket to store and update actions 2025-03-23 23:47:36 +08:00
cfngc4594 14bee1ade8 feat(store): add problem store for managing editor state 2025-03-21 23:58:50 +08:00
cfngc4594 f43ba10a57 refactor(store): rename src/store to src/stores 2025-03-21 23:58:40 +08:00