Skip to content

The admin dashboard links to the screenshot blocklist, so it can be found (v7.208.1) - #1261

Merged
wintermeyer merged 1 commit into
mainfrom
admin-blocklist-link
Jul 31, 2026
Merged

The admin dashboard links to the screenshot blocklist, so it can be found (v7.208.1)#1261
wintermeyer merged 1 commit into
mainfrom
admin-blocklist-link

Conversation

@wintermeyer

Copy link
Copy Markdown
Owner

TL;DR The blocklist editor shipped in #1260 as a third tab of /admin/screenshots, with nothing on /admin pointing at it. /admin now has a "Screenshot blocklist" card linking straight to it.

Where: templates/admin/admin/index.html.heex + Admin.AdminController.index
Now: the tab is only reachable if you already know it exists; the neighbouring card's text is about the capture queue.
Want: a dashboard card of its own → /admin/screenshots?tab=blocklist.

Its own card rather than a line in the existing one, for two reasons: the whole admin card is a single <a>, so a second destination needs a second card at all; and a site whose preview is nothing but a cookie banner is a task an admin arrives with ("why does this link look broken?"), not a setting they go hunting for behind a tab. The card shows the entry count, so the dashboard also says at a glance whether anything is on the list.

A test asserts /admin renders the link in English and German — a missing link is exactly the gap a green suite does not notice.

Deploy: hot. Version 7.208.1. mix precommit green locally (6291 tests).

An AI agent wrote this text in my name, unreviewed by me. The work behind it is mine; I only delegated the writing.

…ound (v7.208.1)

The blocklist editor shipped as a third tab of /admin/screenshots, which is
only discoverable if you already know it is there: nothing on /admin pointed at
it, and the neighbouring card's text is about the capture queue.

It gets a card of its own rather than a line in that one, for two reasons. The
whole admin card is a single link, so a second destination needs a second card
at all. And a site whose preview is nothing but a cookie banner is a task an
admin arrives with ("why does this link look broken?"), not a setting they go
looking for behind a tab. The card carries the entry count, so the dashboard
also says at a glance whether anything is on the list.

A test now asserts /admin renders the link, in English and German, since the
missing link is exactly the kind of gap a green test suite does not notice.

An AI agent wrote this text in my name, unreviewed by me. The work behind it
is mine; I only delegated the writing.
@wintermeyer
wintermeyer merged commit 5daaa51 into main Jul 31, 2026
1 check passed
@wintermeyer
wintermeyer deleted the admin-blocklist-link branch July 31, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant