Skip to content

feat(status-pages): pull defaultOpen (formerly collapsed) + Camp-A uptime spec#7

Merged
caballeto merged 1 commit into
mainfrom
feat/status-page-component-tracking-and-default-open
Apr 22, 2026
Merged

feat(status-pages): pull defaultOpen (formerly collapsed) + Camp-A uptime spec#7
caballeto merged 1 commit into
mainfrom
feat/status-page-component-tracking-and-default-open

Conversation

@caballeto
Copy link
Copy Markdown
Member

Summary

Regenerated _generated.py from the upstream devhelmhq/mono#261 spec.

  • StatusPageComponentGroupDto.collapseddefaultOpen (still bool, default true; semantic flip from the old collapsed=true default).
  • StatusPageBatchComponentUptimeDto gained trackingSince: Mapping[str, str] so consumers can render a Tracking since {date} caption for component-centric uptime bars.
  • Negative-validation tests assert on defaultOpen instead of collapsed.

No hand-coded SDK surface beyond the generated models, so no client-code edits required.

Test plan

  • uv run pytest
  • uv run mypy src
  • uv run ruff check
  • BDD + integration tests in monorepo pass against this branch

Made with Cursor

…A uptime spec

Regenerated `_generated.py` from the upstream `mono` spec after
two coordinated API changes:

- `StatusPageComponentGroupDto.collapsed` → `defaultOpen` (still
  bool, default `true` on the API; semantic flip from the old
  `collapsed=true` default).
- `StatusPageBatchComponentUptimeDto` gained `trackingSince:
  Mapping[str, str]` so consumers can render a "Tracking since
  {date}" caption for component-centric ("Camp A") uptime bars.

Negative-validation tests updated to assert on `defaultOpen`
instead of `collapsed`. No hand-coded SDK surface beyond the
generated models, so no client-code edits required.

Made-with: Cursor
@caballeto caballeto merged commit 92a652e into main Apr 22, 2026
4 checks passed
@caballeto caballeto deleted the feat/status-page-component-tracking-and-default-open branch April 22, 2026 14:51
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.

1 participant