Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
This repository was archived by the owner on May 29, 2026. It is now read-only.

Cosmetic: detail-page header description + Register slug + version pills #73

Description

@rubenvdlinde

Three small display issues on the Application detail page hero

All visible in the verified post-wizard detail screenshot at `docs/tutorials/img/app-detail-after-create.png` (PR #70).

1. Description field renders a number

The description placeholder under the app name shows e.g. `29` instead of the description string the wizard saved. Likely `applicationDescription` computed in `ApplicationDetailHeader.vue` is reading the wrong field on the Application record (perhaps counting an array length).

2. Register widget shows truncated slug

The Register widget renders `openbuilt-permit-tracker-` instead of the full `openbuilt-permit-tracker-production`. Looks like the version-slug suffix is being trimmed. Underlying OR register is correctly named (verified via OR admin UI).

3. Only Production version pill renders

The hero shows a single `Production` pill, but for a `dev-prod` preset there should be two pills (`Development` + `Production`). `loadVersions()` may be filtering on something that excludes the development version, OR the list-versions endpoint isn't returning both rows.

All three are cosmetic / minor

None of them block the create flow (verified end-to-end in PR #70). They surface in the detail page after creation and matter for the maintainer-dashboard polish but don't prevent the user from doing real work — schema list still works, version routing still works, KPIs still render.

Investigation pointers

  • `src/components/applicationDetail/ApplicationDetailHeader.vue` — `applicationDescription`, `appSlug`, `versions`, `loadVersions()` are the likely culprits
  • `src/components/applicationDetail/widgets/RegisterWidget.vue` — slug rendering
  • `GET /api/applications/{slug}/versions` — verify response includes both rows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions