Skip to content

Wire status formatters / badges on the type:index manifest pages #229

Description

@rubenvdlinde

Context

softwarecatalog is on the Tier-4 CnAppRoot shell with @conduction/nextcloud-vue@^1.0.0-beta.40 (these landed in #226), so its six type:"index" pages (Contactpersonen, Contracten, Standaarden, Reviews, Komplianties, Moduleversies) now self-fetch and render rows. The column values are raw — no formatter / widget / aggregate wired yet.

Ask

  1. Add src/services/formatters.js (procest is the reference) and pass it as :formatters to CnAppRoot in App.vue. Prefer widget:"badge" (built in) for status columns.
  2. Wire status/enum columns:
    • Contractenstatus column → widget:"badge"
    • Standaardenstatus (and categorie?) → widget:"badge" / formatter
    • Komplianties (compliance) — its status field → widget:"badge"
    • any date columns → formatter (or wait for the built-in date formatter — nextcloud-vue#224)
  3. Consider an aggregate column where useful — e.g. a Standaard's "N implementations" or an Organisatie's contactpersonen count (note Organisaties is currently type:"custom"; converting it to type:"index" + config.cardComponent:"OrganisatieCard" is tracked separately — the OrganisationModal/AddContactpersoonModal/status-dialog flow around it is what keeps it custom for now).

Part of the fleet manifest-index wave (pipelinq #351, procest #436, scholiq #71). Non-production → auto-merge OK once CI is green.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions