GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — impl(aggregator): /attention action UI - standard actions, item-suggested options, inline survey, delegation controls · Issue #1291 · developing-today/code

impl(aggregator): /attention action UI - standard actions, item-suggested options, inline survey, delegation controls #1291

New issue
Copy link
New issue
Copy link
Closed
Closed
impl(aggregator): /attention action UI - standard actions, item-suggested options, inline survey, delegation controls#1291
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:done

Description

@dezren39
dezren39
opened on Oct 27, 2026
Issue body actions

Finding

Drew's requirement (2026-10-26): "things that need Drew should have clear actions I can take and a legible view into them on the dashboard page, with clear next-step options that are standard, but also allow for the issue to incorporate custom choices that it suggests or survey quiz questions to cover what it's missing."

Evidence: /attention's tierItemCard (src/render.ts) renders source/kind badges, title, "Why you:" + reason, and optional question/blockedBy/recommendedAction/ref — read-only prose. There is no what-happens-if-nothing line, no action controls, nothing that renders an item's own choices or questions. #1152 builds the generic triage verbs + actions store; it does not cover the structured options/survey/delegation rendering or the new verbs below — this issue is that UI slice, built on #1152's store and the publisher contract slice (options/questions/delegation fields on needsDrew items).

Design: ~/workspace/pm-stack-needs-drew-actions-design-2026-10-26.md §1.2, §4.

Proposal — /attention needs-Drew card, extended

Card anatomy (mobile-first, existing card CSS, ≥44px targets): header (source/kind badges + whyDrew class badge + "in your queue since" + ref + comment badge) → What (title/summary) → Why you (reason) → If nothing (ifIgnored or the honest computed fallback) → question strip → item's own options as buttons (label; description; "→ predicted effect") → inline survey form (one form for all questions[]: prompt + "Needed: "; radios for single/yesno, checkboxes for multi, textarea for text) → proposal box / unable box when delegation state carries them → standard action row on every card: Answer (free text) · Delegate first-pass · Delegate auto · Snooze-until · Dismiss-with-reason · Escalate (plus #1152's Acknowledge).

New verbs in the existing DashAction envelope (kind triage): answer (payload text? / optionId? / answers[] — one content verb for text, chosen options, and survey answers), delegate (mode), approve-proposal, reject-proposal (reason required), dismiss (reason required at the boundary). Forms follow the comment form's .cform pattern as a new .aform + delegated submit script; clientToken dedupe and pending/applied badges come from #1152's store design. Controls an item's class forbids (Delegate-auto on access/policy items) render disabled WITH the reason, never hidden. Session-derived cards keep #1156's actions; options/survey/delegation render only on publisher-authored section items.

Acceptance

  • Fixture item with options + questions renders: class badge, If-nothing line, one button per option with effect line, survey with "Needed:" per question, full standard row.
  • Each control round-trips through the actions store: POST accepted, badge shows pending, a fixture consumer's result POST flips it to applied.
  • Boundary tests: dismiss/reject-proposal without reason → 400; answer with an optionId not on the published item → 400; double-submit one clientToken → one record.
  • Access-class fixture renders Delegate-auto disabled with reason text.
  • 390px-wide render: no horizontal scroll, all controls reachable (joins the fix(aggregator): per-page mobile audit - tables, timelines, chips at 390px across all 10 pages #1180 mobile audit).

Refs: #1184 (epic), #1152 (store + generic verbs — this extends, not duplicates), #1139 (honesty states gate controls). Design: pm-stack-needs-drew-actions-design-2026-10-26.md.

Acceptance criteria

  • /attention item cards render actionable controls: the standard actions, the item's own suggested options (from the design+impl(orchestrator/aggregator): needsDrew item contract - whyDrew class, structured options[], survey questions[], delegation state #1290 contract), its survey questions inline, and delegation controls — replacing today's read-only prose card (tierItemCard in src/render.ts).
  • Every card shows the what-happens-if-nothing line and the item's whyDrew reason alongside the actions.
  • Actions taken in /attention write through design+impl(aggregator): triage actions on /attention - acknowledge, snooze, escalate, answer - orchestrator-mediated #1152's actions store and reflect on the item without a manual refresh of the underlying data.
  • Items lacking options/questions still render cleanly with the standard actions only.

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-414

  3. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  4. dezren39
    added
    source/humanFiled directly by a human
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 27, 2026
  5. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Intake review

    Fleet monitor intake pass (protocol §5), 2026-10-27.

    Still live: verified this run — issue is OPEN, no merged PR references or closes it (0 closing-PR references), and it was filed within the last day, so nothing has had time to supersede it.

    Related: Built on #1152 (triage verbs + actions store) and the #1290 contract (options/questions/delegation fields). Siblings: #1292, #1293.

    Notes / risks: UI slice of the needsDrew set; blocked conceptually (not label-wise) on the #1290 contract fields existing. Risk: rendering controls for state the publisher contract doesn't yet emit — sequence after #1290 lands its fields, with the standard-actions-only fallback as the interim state.

    Suggested approach: Suggested approach: standard actions first against #1152's store, then options/survey rendering as #1290 fields appear, then delegation controls with #1292.

    Labels normalized this pass; acceptance criteria appended to the body (original text preserved verbatim above it).

  6. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Agent note — pickup (needs-user action layer build). Picked up as part of the #1290–#1293 slice on top of the landed triage write path (PR #1346/#1350, main f9c9ffdb, 228 tests). Spec: pm-stack-needs-drew-actions-design-2026-10-26.md incl. both decision updates (standing auto toggle ON for decision/missing-info/approval classes, access/policy never auto; role-based naming — new identifiers use whyUser, no new Drew-named fields; legacy needsDrew array name untouched). Sequencing: contract → UI → consumer (orchestration-pass cron step) → seam hardening. Self-merge per PR when CI green; deploy + bounded live proof (first-pass only, no approval, no live auto execution) at the end.

  7. dezren39
    added a commit that references this issue on Oct 27, 2026

    Merge pull request #1367 from developing-today/pm/needs-user-ui

    0cbb91b
  8. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    Agent note — complete. The /attention needs-user action UI is built and live (PR #1367, merged 0cbb91b1).

    Each Needs User card renders only what the published item + store back: Title Case why-class badge, summary, "If nothing happens" line; the item's options as answer buttons with description + predicted-effect lines (posting the one answer verb with optionId); the survey as one inline form ("Needed: " per question; required questions enforced at the POST boundary — #1365 — with a legible error, nothing recorded on failure); a free-text Answer when the item offers neither; delegation mode controls + status line (Auto disabled with the reason on access/policy items); Dismiss with required reason and the resurface rule stated. The standing delegation-default toggle sits above the queue, backed by the preference records, with its pending state shown. All controls join the card's actbox, so they disable with the triage set when the tier source is not live.

    Live verification (post-deploy): /attention renders the full contract on real items; the first-pass proposal for queue-discovery-design-pick (see #1292) renders its box + Approve/Reject forms on the live page. Tests: 8 render tests in test/needs-user.test.ts (full card, access auto-block, proposal identity, re-proposal naming, expiry, inability, stale-source disable, toggle states); suite 269 pass at merge.

  9. dezren39
    closed this as completedon Oct 27, 2026
  10. developing-today
    added
    status:done
    on Oct 27, 2026
  11. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:done

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.