44ec30e988
refactor(store): replace Submission with SubmissionWithTestcaseResult in dockview store
2025-04-14 14:12:15 +08:00
ce4a0e64c9
feat(store): persist submission state in dockview store
2025-04-14 10:39:06 +08:00
c82b75b300
feat(dockview-store): add submission state management
2025-04-13 22:44:05 +08:00
69e06ecfc6
feat(dockview): add Zustand store for dockview API management
2025-04-12 10:41:52 +08:00
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
f1f2a70c0e
refactor(problem-store): consolidate problem data structure into ProblemWithDetails
2025-04-09 20:38:53 +08:00
a02335b255
feat(problem-store): add testcases to store state and provider
2025-04-09 19:41:55 +08:00
750fb74653
chore(imports): update imports to use @/generated/client instead of @prisma/client
2025-04-01 11:46:25 +08:00
2c013097a8
feat(problem-store): add markers to problem store state and actions
2025-03-25 13:01:34 +08:00
2a90162c73
feat(problem-store): add problem field to ProblemState
2025-03-24 10:28:16 +08:00
3fbec8cd24
feat(problem-store): add WebSocket to store and update actions
2025-03-23 23:47:36 +08:00
14bee1ade8
feat(store): add problem store for managing editor state
2025-03-21 23:58:50 +08:00
f43ba10a57
refactor(store): rename src/store to src/stores
2025-03-21 23:58:40 +08:00