Skip to content

feat(ui): make the monitored-state pill toggle monitoring - #887

Open
krejko wants to merge 1 commit into
Listenarrs:canaryfrom
nexalapp:up/interactive-pill
Open

feat(ui): make the monitored-state pill toggle monitoring#887
krejko wants to merge 1 commit into
Listenarrs:canaryfrom
nexalapp:up/interactive-pill

Conversation

@krejko

@krejko krejko commented Aug 23, 2026

Copy link
Copy Markdown

On the author and series collection pages, the "Monitoring Author" / "Not Monitored" pill sits in the hero where people look, but is inert. The control that actually toggles is a toolbar button — measured at y: 669 on a 1200px-wide window, below the fold behind the entire hero section. The page reads as having no way to monitor.

Pill gains an optional interactive prop that renders a <button> instead of a <span>, defaulting to false so the six existing read-only usages are unchanged.

The click emit is declared explicitly rather than left to attribute fallthrough, since the template now has v-if/v-else roots.

Verified in a browser:

Step Result
Renders <BUTTON>, cursor: pointer, y: 259 — above the fold
Click POST /api/v1/authors/monitoring fired
Busy pill disabled during the request
Complete label → "Monitoring Author", variant → pill-primary
Click again back to "Not Monitored"

No Vue fallthrough warning in the console.

On the author and series collection pages the "Monitoring Author" /
"Not Monitored" pill sits in the hero where people look, but was inert.
The control that actually toggles is a toolbar button measured at y=669
on a 1200px-wide window - below the fold, behind the whole hero - so the
page reads as having no way to monitor at all.

Pill gains an optional interactive prop that renders a button instead of
a span, defaulting to false so the existing read-only usages are
unchanged. The click emit is declared rather than left to attribute
fallthrough, because the template now has v-if/v-else roots.

Verified in a browser: the pill renders as a button above the fold,
clicking posts to /authors/monitoring, the label flips to "Monitoring
Author" with the primary variant, and clicking again returns it to "Not
Monitored". No Vue fallthrough warning is emitted.
@krejko
krejko requested a review from a team August 23, 2026 03:28
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