1
0
Fork 0
Commit graph

9 commits

Author SHA1 Message Date
d50f114a75 docs: add dev server testing protocol to AGENTS.md 2026-08-02 14:32:55 -04:00
0a2a8a87b9 docs: note banking event targets and currency label preference in AGENTS.md 2026-08-02 04:11:13 -04:00
d7fafbd883 chore: update AGENTS.md with banking system documentation 2026-08-02 04:10:43 -04:00
1bf7c945cf chore: update AGENTS.md with information about shipments, game-tick SSE notifications, storage rules enforcement 2026-08-02 03:10:57 -04:00
fe863845bb refactor: use shadcn components in NodeEditDialog, add Textarea component
- Replace raw <textarea> with shadcn Textarea component
- Replace raw <button> with shadcn Button (variant='destructive' + icon)
- Remove custom className overrides fighting admin dark theme
- Add shadcn preference rule to AGENTS.md
2026-07-28 16:28:14 -04:00
103340271b feat: narrative events flowchart editor with React Flow
- NarrativeEvents collection redesigned with flowData JSON (React Flow format)
- Custom admin field component: NarrativeFlowEditor with @xyflow/react
- Three node types: NarrativeBeat (blue), Choice (amber), Outcome (emerald)
- NodeEditDialog with type-specific forms replacing prompt() editing
- Right-click context menu (Delete node/edge with Radix primitives)
- Dynamic handles on Choice nodes (one per option)
- Dark-themed canvas with MiniMap, Controls, and animated edges
- All changes sync bidirectionally with Payload form state
- AGENTS.md updated with architecture docs
2026-07-28 16:26:57 -04:00
9fd4b22d90 docs: comprehensively document event log system in AGENTS.md
- Update schema to reflect system field, targetCollection select options,
  and access controls (read/create for all, update for admins/devs,
  delete for devs only)
- Document narrative event creation workflow for GM/admin use
- Document EventLedger UI behavior: refreshKey prop, 30s polling, actor
  prefix with 'You' substitution, multi-select type filter, narrative
  styling, flicker-free re-fetch
- Add step-by-step guide for adding event logging to new actions
- Document non-structure events limitation and future pattern
2026-07-28 16:09:48 -04:00
59769076ff feat: add GameEventLogs collection and event emission infrastructure
- New game-event-logs collection with timestamp, type, message, actor,
  structure, targetCollection/targetId, and data (JSON) fields
- EventTypes constants registry for modular event category management
- emitGameEvent() utility for emitting events from server actions and hooks
- Register collection in Payload config
- Document event log system architecture in AGENTS.md
2026-07-28 16:08:04 -04:00
1eddf741ff feat: add AGENTS.md with technical documentation and configure email sending via Nodemailer 2026-07-27 17:48:43 -04:00