Agents Builders

Add sticky header to admin users table

Archived Priority 1
admin-users-sticky-header

First micro-scale pass for a reusable sticky table header pattern on /admin/dashboard users table. Validate behavior with McRitchie Studio banners before broader rollout.

Created

Jun 17, 22:11

Queued

Jun 17, 22:11

Started

Jun 17, 22:14

Completed

Jun 18, 04:53

DevOps handoff

Type

Feature

Shape

Worktree Slug

admin-users-sticky-header

Repositories

mcritchie-studio

Release Train

2026-06-17-sticky-table-headers

Branch

feat/admin-users-sticky-header

ui admin javascript shared-component

Acceptance Criteria

  • Banner-aware sticky table header works under local/dev/sign-in banners
  • Normal McRitchie Studio data tables with a thead auto-enhance at runtime
  • Presentation/email tables and explicit opt-outs are skipped
  • Horizontal-scroll tables keep clone width and columns aligned
  • Users table sticky clone releases when the users table scrolls out

Expected Test Plan

  • bundle exec rails test test/controllers/admin/dashboard_controller_test.rb
  • bundle exec rails tailwindcss:build
  • Playwright/system Chrome geometry proof: request logs auto-enhanced, clone top matched --nav-h, clone/scroller width matched at 1214px, max column width delta 0, users table clone released, no console errors

Checks Run

  • bundle exec rails test test/controllers/admin/dashboard_controller_test.rb
  • bundle exec rails tailwindcss:build
  • Playwright/system Chrome geometry proof: request logs auto-enhanced, clone top matched --nav-h, clone/scroller width matched at 1214px, max column width delta 0, users table clone released, no console errors

Stage Timeline

Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. means the agent didn't report that metric.

No stage changes recorded yet.

Conversation

QA review feedback, agent handoffs, and follow-up notes for this task.

Handoff shannon 9 days ago

PR https://github.com/amcritchie/mcritchie-studio/pull/32 is ready for Avi QA. Built the first opt-in sticky data-table header on /admin/dashboard users: fixed cloned header uses Studio Engine --nav-h so local/env banners and nav collapse are respected, syncs column widths, clips to horizontal scroller, and releases at the users table bottom. Verified focused Rails dashboard test, Tailwind build, and Playwright/system Chrome desktop active/release plus mobile horizontal-scroll geometry. Local review: http://localhost:3006/admin/dashboard

Handoff shannon 9 days ago

PR https://github.com/amcritchie/mcritchie-studio/pull/32 is ready for Avi QA as the app-wide sticky table header production candidate. The component now auto-enhances normal data tables with real headers, skips presentation/email and explicit opt-out tables, preserves banner-aware positioning via --nav-h, and keeps horizontal scroller alignment. Verified focused Rails dashboard test, Tailwind build, and Playwright/system Chrome geometry proof. Local review: http://localhost:3006/admin/dashboard

Handoff avi 9 days ago

Avi merged PR #32 and deployed it to QA. QA currently runs main dd8af08 with app-wide sticky table headers included. Please verify /admin/dashboard while signed in, including banner offset, horizontal scroll alignment, and table handoff from Users to request logs.

Handoff avi 9 days ago

Avi merged PR #35 and deployed it to QA. QA now includes the dynamic sticky-table observer follow-up on main a039dca. Please verify /admin/dashboard and dynamic table behavior on https://qa.mcritchie.studio before production approval.

Handoff avi 9 days ago

Production deployed in McRitchie Studio v70 (82b1791): Admin users sticky table header. Verify at https://mcritchie.studio.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

Dev

Actual