Skip to content

docs: add DX Roadmap for post-v3.0 developer experience improvements#641

Merged
hotlong merged 2 commits intomainfrom
copilot/improve-developer-experience
Feb 12, 2026
Merged

docs: add DX Roadmap for post-v3.0 developer experience improvements#641
hotlong merged 2 commits intomainfrom
copilot/improve-developer-experience

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 12, 2026

Full codebase + docs audit (171 schemas, 191 test files, 40+ doc pages, 4 examples, 19 packages) to identify DX gaps and prioritize next improvements.

Key Findings

  • Onboarding: No interactive playground, no create-objectstack scaffolder, examples missing "How to Run" sections
  • Schema DX: Field.* helpers are excellent but ObjectSchema.create() is a pass-through identity function; no defineView()/defineApp()/defineFlow() helpers
  • Validation errors: Zod defaults + sparse custom refinements — no contextual error map
  • Reference gaps: No field type gallery (46+ types undocumented visually), no error code catalog, no query syntax cheat sheet
  • Tooling: objectstack diff and enhanced objectstack doctor marked as future in v3.0 roadmap but not implemented

DX_ROADMAP.md — 6 Phases

  • Phase 1 — First Five Minutes (2w): StackBlitz playground, create-objectstack wizard, quick-start improvements
  • Phase 2 — Schema DX Helpers (2w): Enhanced factories, custom Zod error map, branded types
  • Phase 3 — Documentation & Reference (3w): Field type gallery, error code catalog, protocol diagrams, common patterns guide
  • Phase 4 — CLI & Tooling (2w): diff, doctor, lint, explain commands; VSCode extension
  • Phase 5 — Studio as DX Hub (3w): Visual object builder, query builder UI, code↔visual bridge
  • Phase 6 — Ecosystem & Community (ongoing): Plugin marketplace, example gallery, Discord

Includes priority matrix (impact × effort), success metrics table, and relationship mapping to existing ROADMAP.md and apps/studio/ROADMAP.md.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectstack-play Error Error Feb 12, 2026 11:24am
spec Ready Ready Preview, Comment Feb 12, 2026 11:24am

Request Review

…plan

Based on full codebase scan of 171 schemas, 191 test files, 40+ doc pages,
4 examples, and 19 packages. Covers 6 phases: Onboarding, Schema DX Helpers,
Documentation, CLI & Tooling, Studio, and Ecosystem.

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Plan roadmap for developer experience improvements docs: add DX Roadmap for post-v3.0 developer experience improvements Feb 12, 2026
Copilot AI requested a review from hotlong February 12, 2026 06:49
@hotlong hotlong marked this pull request as ready for review February 12, 2026 06:52
Copilot AI review requested due to automatic review settings February 12, 2026 06:52
@hotlong hotlong merged commit b2e1047 into main Feb 12, 2026
3 of 5 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dedicated post-v3.0 Developer Experience roadmap to capture gaps found in the repo audit and outline phased DX improvements across onboarding, schema helpers, documentation, CLI/tooling, Studio, and ecosystem efforts.

Changes:

  • Introduces DX_ROADMAP.md with a 6-phase DX plan, prioritization matrix, and success metrics.
  • Documents concrete DX tasks such as an interactive playground, create-objectstack, schema helper factories, improved error messaging, and CLI tooling enhancements.

Comment thread DX_ROADMAP.md

| Task | Details | Priority |
|------|---------|----------|
| Visual field type reference | Interactive page showing all 46+ field types with live previews | 🔴 High |
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This claims there are "46+" field types, but packages/spec/src/data/field.zod.ts currently defines 44 values in the FieldType enum. Consider updating the count (or referencing the enum directly so the roadmap doesn’t go stale).

Suggested change
| Visual field type reference | Interactive page showing all 46+ field types with live previews | 🔴 High |
| Visual field type reference | Interactive page showing all field types defined in the FieldType enum, with live previews | 🔴 High |

Copilot uses AI. Check for mistakes.
Comment thread DX_ROADMAP.md

| Task | Details | Priority |
|------|---------|----------|
| Error code catalog | All 46 error codes with descriptions, causes, and fixes | 🔴 High |
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This references "46 error codes", but StandardErrorCode in packages/spec/src/api/errors.zod.ts currently contains 51 codes. Please update the number (or phrase it as "all StandardErrorCode values") to keep the roadmap accurate.

Suggested change
| Error code catalog | All 46 error codes with descriptions, causes, and fixes | 🔴 High |
| Error code catalog | Catalog of all StandardErrorCode values with descriptions, causes, and fixes | 🔴 High |

Copilot uses AI. Check for mistakes.
Comment thread DX_ROADMAP.md

### Phase 3 Checklist

- [ ] Create field type gallery page with all 46+ types
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checklist item says "46+ types", but the current FieldType enum has 44 values. Suggest updating this to the actual count or wording it to avoid hardcoding a number.

Suggested change
- [ ] Create field type gallery page with all 46+ types
- [ ] Create field type gallery page with all defined field types

Copilot uses AI. Check for mistakes.
Comment thread DX_ROADMAP.md

- [ ] Create field type gallery page with all 46+ types
- [ ] Create per-field-type configuration reference tables
- [ ] Create error code catalog with 46 error codes
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checklist item says "46 error codes", but StandardErrorCode currently contains 51 entries. Please update the count or wording so it matches the spec.

Suggested change
- [ ] Create error code catalog with 46 error codes
- [ ] Create error code catalog for all standard error codes

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants