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.
Upload the file
CompleteRead the pages
CompleteExtract prices
In progressFind 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
Review changes
UpcomingPublish 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
Upload the file
CompleteRead the pages
CompleteExtract prices
Stopped hereFind 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.
Review changes
UpcomingPublish the price list
Upcoming
Waiting to retry
Waiting to retry from the last recorded step. Saved progress is restored when the retry starts.
Upload the file
CompleteRead the pages
CompleteExtract prices
Waiting to retryFind each product's price, unit and pack size, with the wording it came from.
312 of 480 rows read
Review changes
UpcomingPublish the price list
Upcoming
Last reported: no recent update
Upload the file
CompleteRead the pages
CompleteExtract prices
Last reportedFind 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.
Review changes
UpcomingPublish 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.
Upload the file
UpcomingRead the pages
UpcomingExtract prices
UpcomingReview changes
UpcomingPublish the price list
Upcoming
Unknown: steps not recorded
Step progress was not recorded for this run. Last reported task: Matching product codes.
Upload the file
Not recordedRead the pages
Not recordedExtract prices
Not recordedReview changes
Not recordedPublish the price list
Not recorded
Finished
Upload the file
CompleteRead the pages
CompleteExtract prices
CompleteReview changes
CompletePublish 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
| Name | Type | Default | Description |
|---|---|---|---|
steps | EcoStep[] | — | { title, state?, description?, count?, done?, total?, details?, badge?, href?, to?, reachable? }. Only the current step shows description, count, bar and details. |
step.href / step.to | string / 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.reachable | boolean | false | Horizontal only: an upcoming step the form lets people skip ahead to; with href or to it links too, keeping its number. |
current | number | -1 | Index 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. |
label | string | — | Accessible name of the list. |
horizontal | boolean | false | Numbered 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 / noteIcon | string | — / "information-line" | Explanation above the list when the markers cannot say it (#note slot). |
foot | string | — | What the counts cover, or when it finished (#foot slot). |