You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
12
12
- i18n support
13
+
- Custom dashboard cards — `config.dashboard_cards` accepts an array of `{ title:, stats:, link: }` hashes; each card is rendered after the built-in queue stat cards on the dashboard; `stats:` is a lambda returning a `{ label => value }` hash evaluated at render time; `link:` is an optional `{ label:, url: }` header link
14
+
- Custom nav links — `config.nav_links` accepts an array of `{ label:, url: }` hashes appended to the main navigation bar after the built-in links
@@ -102,6 +105,8 @@ SolidQueueWeb surfaces all of this in a browser UI available at any route you ch
102
105
-**Error frequency report** — `GET /jobs/failed_jobs/errors` groups all failed jobs by error class and message prefix, shows a count per group, and surfaces a sample backtrace in an expandable row; sorted by count descending so the most common errors appear first; accessible via the "Error Summary" button on the Failed Jobs page
103
106
-**Metrics / health endpoint** — `GET /jobs/metrics.json` returns a machine-readable JSON document with job counts, throughput, per-queue depth and pause state, and process health summary; suitable for Prometheus scraping, uptime monitors, or external dashboards; `slow_jobs` count included when `slow_job_threshold` is configured
104
107
-**i18n** — all UI strings (page titles, table headers, buttons, empty states, flash messages) are backed by `config/locales/en.yml`; locale switching via `?locale=` param or session; add a custom locale by supplying a YAML file in your host app and registering it with `config.available_locales`
108
+
-**Custom dashboard cards** — `config.dashboard_cards` accepts an array of `{ title:, stats:, link: }` hashes rendered after the built-in queue stat cards; `stats:` is a lambda returning a `{ label => value }` hash evaluated at render time; `link:` is an optional header link
109
+
-**Custom nav links** — `config.nav_links` accepts an array of `{ label:, url: }` hashes appended to the main navigation bar after the built-in links
105
110
106
111
[↑ Back to top](#table-of-contents)
107
112
@@ -174,6 +179,8 @@ SolidQueueWeb.configure do |config|
The `stats` lambda runs on every dashboard render, so keep it fast. Defaults to `[]` — no custom cards appear when unconfigured.
486
+
487
+
### Custom nav links
488
+
489
+
`config.nav_links` appends extra links to the main navigation bar after the built-in links. Use it to link back to your host application's admin pages or related tools.
490
+
491
+
```ruby
492
+
SolidQueueWeb.configure do |config|
493
+
config.nav_links = [
494
+
{ label:"Back to App", url:"/" },
495
+
{ label:"Admin", url:"/admin" }
496
+
]
497
+
end
498
+
```
499
+
500
+
Defaults to `[]` — no extra links appear when unconfigured.
501
+
502
+
[↑ Back to top](#table-of-contents)
503
+
504
+
---
505
+
454
506
## Roadmap
455
507
456
508
See [ROADMAP.md](ROADMAP.md) for the full post-1.0 feature plan, organized by release milestone.
0 commit comments