Navigation / Progress steps

Navigation

Progress steps

The ordered steps of a long-running job, each with a state marker and badge; only the current step carries live counts. Replaces Stepper.

import { EcoProgressSteps } from "vue-ecosphere"

Running: the current step, with live counts

The live block stays in the DOM and changes its text, so screen readers announce it. The bar is drawn only from a real count.

  1. Upload the file

    Complete
  2. Read the pages

    Complete
  3. Extract prices

    In progress

    Find each product's price, unit and pack size, with the wording it came from.

    312 of 480 rows read

    120 restored from saved progress

    Working on: pages 19–24

  4. Review changes

    Upcoming
  5. Publish the price list

    Upcoming

Counts describe the current step. Earlier steps are inferred from the recorded stage, and no finish time is estimated.

Stopped at a step

  1. Upload the file

    Complete
  2. Read the pages

    Complete
  3. Extract prices

    Stopped here

    Find each product's price, unit and pack size, with the wording it came from.

    312 of 480 rows read

    Page 21 could not be read. The rows read so far are saved.

  4. Review changes

    Upcoming
  5. Publish the price list

    Upcoming

Waiting to retry

Waiting to retry from the last recorded step. Saved progress is restored when the retry starts.

  1. Upload the file

    Complete
  2. Read the pages

    Complete
  3. Extract prices

    Waiting to retry

    Find each product's price, unit and pack size, with the wording it came from.

    312 of 480 rows read

  4. Review changes

    Upcoming
  5. Publish the price list

    Upcoming

Last reported: no recent update

  1. Upload the file

    Complete
  2. Read the pages

    Complete
  3. Extract prices

    Last reported

    Find each product's price, unit and pack size, with the wording it came from.

    312 of 480 rows read

    No update for 3 minutes. These are the last recorded counts.

  4. Review changes

    Upcoming
  5. Publish the price list

    Upcoming

Queued: not started yet

Every step is upcoming and none carries aria-current.

Waiting for a worker to start. Nothing has been read yet.

  1. Upload the file

    Upcoming
  2. Read the pages

    Upcoming
  3. Extract prices

    Upcoming
  4. Review changes

    Upcoming
  5. Publish the price list

    Upcoming

Unknown: steps not recorded

Step progress was not recorded for this run. Last reported task: Matching product codes.

  1. Upload the file

    Not recorded
  2. Read the pages

    Not recorded
  3. Extract prices

    Not recorded
  4. Review changes

    Not recorded
  5. Publish the price list

    Not recorded

Finished

  1. Upload the file

    Complete
  2. Read the pages

    Complete
  3. Extract prices

    Complete
  4. Review changes

    Complete
  5. Publish the price list

    Complete

Finished on 18 Nov at 09:40. 480 prices published.

Horizontal: a five-step form

Complete steps link back to their own URL (through the router with `to`). An optional step the form lets people skip ahead to is `reachable` and links while upcoming. Below 640px only the current title shows.

API

NameTypeDefaultDescription
stepsEcoStep[]—{ title, state?, description?, count?, done?, total?, details?, badge?, href?, to?, reachable? }. Only the current step shows description, count, bar and details.
step.href / step.tostring / string | RouteLocationRaw—Horizontal only: where a complete step links back to. `to` renders through RouterLink when vue-router is installed (a string falls back to a plain link without it).
step.reachablebooleanfalseHorizontal only: an upcoming step the form lets people skip ahead to; with href or to it links too, keeping its number.
currentnumber-1Index of the current step. Earlier steps are done, later upcoming. -1: nothing started.
step.state"done" | "current" | "upcoming" | "error" | "retry" | "stale" | "unknown"—Explicit state. error = Stopped here, retry = Waiting to retry, stale = Last reported, unknown = Not recorded.
labelstring—Accessible name of the list.
horizontalbooleanfalseNumbered row for a multi-step form (steps--h in a nav). Complete steps with href or to become links, and so do reachable upcoming steps.
note / noteIconstring— / "information-line"Explanation above the list when the markers cannot say it (#note slot).
footstring—What the counts cover, or when it finished (#foot slot).