test: collaboration demo dev server with seeded data #14

Merged
KofTwentyTwo merged 9 commits from feature/demo-dev-server into develop 2026-10-14 12:09:36 +00:00
KofTwentyTwo commented 2026-10-14 03:20:09 +00:00 (Migrated from github.com)

Summary

This adds a demo dev server so the collaboration features can be seen in the Next dashboard and screenshotted. Stacked on #13.

CollaborationDevServer (test code), modeled on qbit-object-storage's StorageDevServer:

  • An in-memory "Sales" app with person and sales_order, every record feature on, and FIELD-level audit.
  • Mock users, chosen with -Dcollab.dev.user:
    • alice: full access to Sales;
    • bob: People read and comment;
    • admin: everything plus collaboration administration.
  • Seed data, created through the real services:
    • 25 people and 40 orders;
    • 8 tags and 2 active custom fields;
    • comment threads with mentions;
    • 3 attachments;
    • 4 tasks, one of them overdue;
    • assignments, shares, an open access request, follows, favorites, recents, and audit history.
  • It serves the Next export on -Dcollab.dev.port (default 8098). The README has the run command.

Also: a fix so CustomFieldsProvider registers the generated SELECT possible value sources on refresh, with a regression test.

Test plan

  • ./mvnw verify on QQQ 4.1.0-RC.6, including the CollaborationDevServerTest smoke test (instance validates, seed counts).
  • CircleCI test_only.

🤖 Generated with Claude Code

## Summary This adds a demo dev server so the collaboration features can be seen in the Next dashboard and screenshotted. **Stacked on #13.** **`CollaborationDevServer`** (test code), modeled on qbit-object-storage's StorageDevServer: - An in-memory "Sales" app with `person` and `sales_order`, every record feature on, and FIELD-level audit. - Mock users, chosen with `-Dcollab.dev.user`: - `alice`: full access to Sales; - `bob`: People read and comment; - `admin`: everything plus collaboration administration. - Seed data, created through the real services: - 25 people and 40 orders; - 8 tags and 2 active custom fields; - comment threads with mentions; - 3 attachments; - 4 tasks, one of them overdue; - assignments, shares, an open access request, follows, favorites, recents, and audit history. - It serves the Next export on `-Dcollab.dev.port` (default 8098). The README has the run command. **Also:** a fix so `CustomFieldsProvider` registers the generated SELECT possible value sources on refresh, with a regression test. ## Test plan - [x] `./mvnw verify` on QQQ 4.1.0-RC.6, including the `CollaborationDevServerTest` smoke test (instance validates, seed counts). - [ ] CircleCI `test_only`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.