Skip to content

J2: bow tie stage model with the seven Stage ids #220

Closed

Description

@wab

Parent

#212 (PRD: website redesign v2, delivery steps J1 to J6)

What to build

The seven bow tie stages are defined once in the website. Six enjeu pages, the method page and the enjeu schema share them.

  • Each stage has a Stage id, a stage label, a Milestone, a KPI title, a short KPI label and a description. Labels live in locales/, French and English.
  • The model exposes the ordered list of Stage ids. The enjeu schema in J3: read challenge files through the content API #229 (J3: read enjeu files through the content API) uses it to validate bowtie.activeStages.
  • A pure function turns a set of active stages into a per-stage state.
  • The method page bow tie moves to the model in J2: bow tie with active stages, challenge colour and KPI tooltips #227 (J2: bow tie with active stages), which also switches it to the model's seven labels.

The Stage ids must equal the frozen list in ocobo-revops/posts#94 (Enjeu content type: core schema, Stage ids and validation). In bow tie order: demand-generation, discovery, negotiation, closing, onboarding, adoption, expansion. A comment beside the list says a change needs a PR in both repos.

Acceptance criteria

  • Unit tests cover the order of the Stage id list and the active set to per-stage state function.
  • The Stage ids equal the posts#94 list.
  • The method page bow tie renders from the model, unchanged in French and English. Moved to J2: bow tie with active stages, challenge colour and KPI tooltips #227 (J2: bow tie with active stages): the method page takes the model's seven stages and labels, so it cannot stay unchanged.

Open question for Ocobo

  • The word "jalon". The French Milestone label lives in locales/ only; the domain term stays Milestone. A different answer changes one locale string. It does not hold this ticket.

Blocked by

None, can start immediately. The Stage ids are already agreed with posts#94, so this ticket does not wait for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-for-agentFully specified, AFK-ready for an agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions