Skip to content

Task 033: Split StatusPage.vue into child components - #34

Merged
Igloczek merged 3 commits into
masterfrom
task/033-split-status-page
Jun 30, 2026
Merged

Igloczek merged 3 commits into
masterfrom
task/033-split-status-page

Conversation

@Igloczek

@Igloczek Igloczek commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

Implements tasks/033-split-status-page.md from the ponytail audit backlog.

Goal

Reduce duplication and size of the ~1,848 LOC public status page.

Scope

  • Extract: incident list, monitor group cards, header/footer, maintenance banner, custom CSS/JS blocks into child components.
  • Reuse shared favicon helper (Task 020) and markdown sanitization pattern from a small shared module.
  • Target: StatusPage.vue ≤1,200 LOC.

Acceptance criteria

  • At least 3 new components under src/components/status-page/.
  • Public status page renders monitors, incidents, and maintenance messages correctly.
  • Custom CSS/JS from status page settings still applies.
  • bun run lint passes.
  • bun run build:frontend succeeds.

Depends on

Task 020 (shared favicon).

Verification

bun run lint
bun run build:frontend
wc -l src/pages/StatusPage.vue

Audit reference

Finding #34 — StatusPage.vue monolith.

@Igloczek

Copy link
Copy Markdown
Collaborator Author

/ponytail-review

Lean already. Ship.

14 files changed, 1405 insertions(+), 1043 deletions(-)

@Igloczek
Igloczek force-pushed the task/033-split-status-page branch from d4f0462 to 0fc83db Compare June 30, 2026 12:12
Igloczek added 3 commits June 30, 2026 14:39
Extract header, footer, incidents, monitor groups, maintenance banner,
custom CSS, overall status, and edit sidebar into child components under
src/components/status-page/. Add shared favicon-badge and markdown-sanitize
utilities and refactor socket mixin to use the favicon helper.

StatusPage.vue reduced from 1848 to 940 LOC.
@Igloczek
Igloczek force-pushed the task/033-split-status-page branch from 0fc83db to bbd8ed0 Compare June 30, 2026 12:39
@Igloczek
Igloczek merged commit 2875941 into master Jun 30, 2026
@Igloczek
Igloczek deleted the task/033-split-status-page branch June 30, 2026 12:59
Igloczek added a commit that referenced this pull request Aug 8, 2026
Task 033: Split StatusPage.vue into child components
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