GeezerVison is showing github.com — Build software better, together
test(issues): cover adapter source resolution
MacroscopeApp / Macroscope - UI Consistency
failed
Aug 16, 2026 in 2m 50s
UI Consistency: 5 issues found
Five concrete consistency/regression findings were posted as inline review comments.
apps/web/src/routes/_chat.issues.tsx:1661 — the scroller uses pull-requests-scroll-fade, a utility that is not defined anywhere (index.css defines topbar-scroll-fade and virtualized-scroll-fade), so the issues page renders no top fade at all while the pull requests page does.
apps/web/src/components/sourceControl/ListFilterMenu.tsx:83-105 — ListSearchInput rebuilds InputGroup/InputGroupInput as a raw <input> with hand-written focus ring, placeholder token and no dark background/shadow or type="search" reset; it now backs the existing pull requests search too, so this is a focus-ring and dark-mode regression on a shipped surface.
apps/web/src/components/sourceControl/EntityPicker.tsx:81-88 — raw <input> replaces the Input size="compact" the reviewer picker used, dropping the primitive's focus-visible ring, disabled opacity and dark treatment for the labels/assignees/reviewers menus.
apps/web/src/components/issue/IssueDetailPanel.tsx:635-638 — the header MenuTrigger recreates a ghost icon Button with a raw class string, losing the focus-visible ring, pointer cursor and coarse-pointer hit target that PullRequestDetailPanel's equivalent trigger keeps by rendering the primitive.
apps/web/src/components/issue/IssueListFilters.tsx:65 — the sort trigger duplicates the shared ListFilterMenu trigger's geometry and off-default dot verbatim instead of sharing the treatment.
Details
Scope reviewed: files matching apps/web/src/**/*.{ts,tsx,css} in this diff — the new components/issue/* and components/sourceControl/* modules, the _chat.issues route, RightPanelTabs, ChatView, rightPanelStore, lib/openIssueLink, and the pull request components refactored onto the new shared source-control components.
Methodology:
- Compared every new/moved control against the primitives in
apps/web/src/components/ui (input, input-group, button, menu, scroll-area) to find raw elements recreating them, and against the pre-refactor pull request implementations to catch treatment lost in the migration (PullRequestSearchInput → ListSearchInput, reviewer picker Input → EntityPicker raw input, PullRequestDetailPanel menu trigger → IssueDetailPanel menu trigger).
- Traced the scroll-fade class names through
apps/web/src/index.css (@utility topbar-scroll-fade, @utility virtualized-scroll-fade) and every consumer via git grep; pull-requests-scroll-fade has exactly one occurrence in the repository and no definition.
- Checked repeated durable geometry across call sites: the
ListFilterMenu trigger string appears identically in issue/IssueListFilters.tsx.
Not reported (intentional or acceptable):
- Raw
<button> rows in IssueCreateDialog's template chooser, ListRow, IssueSummaryTab's linked-pull-request rows and the timeline rails — these are semantic rows/list targets whose geometry differs from Button.
data-tab-scroller marker additions in PullRequestCodeTab/PullRequestDetailPanel and the useMountedTabs/DetailTabStrip/ListGhosts extractions, which preserve the previous class strings and behaviour.
IssuesPanel's use of ScrollArea for a non-virtualized list, and the content-visibility/contain-intrinsic-block-size pairs, which follow the existing pull request patterns.
- Live-refresh interval change (60s → 5min) is behavioural rather than a UI-consistency matter and is covered by its own test.
🔍 Agent activity — 1 tool call
💭 I need to narrow my focus to just the web app source files—TypeScript, TSX, and CSS—so let me pull the stats for those specific paths. I'm reviewing this large PR and spotting inconsistencies in the web UI components. In EntityPicker.tsx, there's a raw <input> element with custom styling instead of using the shared Input component with size="compact" like the original PullRequestReviewerPicker did—looks like the migration recreated the primitive instead of reusing the component. Similarly, ListSearchInput in ListFilterMenu.tsx moved away from InputGroup that was in the original PullRequestSearchInput. Now I'm seeing more of the same pattern: IssueDetailPanel's MenuTrigger has a long className string that's hand-rolling a button ghost icon style, and I need to check if PullRequestDetailPanel uses a different approach or if this is consistent across the codebase. The IssueSortMenu also has a similar MenuTrigger with custom classes, so I'm tracking whether these are duplicated patterns or intentional divergences from the existing code. Looking at the IssueCreateDialog chooser rows — those are raw <button> elements arranged semantically, which should fall under the allowed exception for semantic rows. The IssuesPanel correctly uses the Input and ScrollArea primitives, so those are fine. But I'm noticing that pull-requests-scroll-fade class is being used in the issues route, and the rules specify that repeated overflow fades should use a shared approach rather than duplicating the class across multiple places. I found a dead utility class pull-requests-scroll-fade being used in the issues page that doesn't exist in the stylesheet, while the pull requests page uses a similar topbar-scroll-fade class with a custom height variable instead. I'm also spotting several other regressions where the issues page uses raw HTML elements instead of the proper component wrappers: IssueDetailPanel recreates Button styling inline instead of using the Button component like PullRequestDetailPanel does, EntityPicker uses a bare input instead of the Input component, and ListSearchInput has hand-rolled icon positioning instead of using InputGroup — all of these were properly migrated in the pull requests equivalents. There's also a duplication in IssueSortMenu where the trigger repeats the same size and border classes that ListFilterMenu already defines, which should be extracted into a shared primitive. I found the issue—pull-requests-scroll-fade doesn't exist, so the fade effect on the issues page is broken and should use topbar-scroll-fade with the 1.5rem variable like the pull requests page does. Now I need to check how EntityPicker and ListSearchInput compare to their primitive counterparts in the input components. The new ListSearchInput is a reimplementation that swaps out some styling details—it's using a muted foreground placeholder instead of the primitive's text-placeholder, adding a custom focus ring with reduced opacity, and dropping the search input type's native cancel button handling. It's also missing the dark mode background variant and shadow that were there before, which represents a step backward in how it handles light and dark themes. Now I'm seeing that this component has replaced PullRequestSearchInput on the pull requests page, so this visual regression is affecting an existing user-facing surface. I need to check the actual code in the new files to get the exact line numbers for the diff so I can pinpoint where these changes are happening. EntityPicker's raw input is missing the focus ring styling, dark background, and shadow that were present in the previous compact Input implementation — this is a regression I need to address. Let me locate the MenuTrigger class in IssueDetailPanel to check its styling. I'm identifying two concrete issues: first, a missing CSS class on the chat issues page that should reference the topbar scroll fade styling instead, causing a visual regression where the top fade effect is missing. Second, there's inefficient component reconstruction in the list filter menu where the input group is being rebuilt unnecessarily on each render. I'm also spotting three more problems where components are using raw HTML inputs or className recreations instead of the proper design system components—the entity picker lost the compact input styling, the issue detail panel's menu trigger is missing button focus rings and disabled states, and the issue list filters are duplicating trigger geometry that should be shared. Let me verify the exact button variant and size being used in the pull request detail panel to give accurate recommendations. The PR panel button has the right styling with icon-xs size, ghost-muted variant, and proper accessibility features like focus ring and coarse-pointer hit target, but the issue panel's MenuTrigger is missing those details. I need to grab the diff line positions to add inline comments to the review, starting with the new file at line 1661. Now I'm mapping out the five locations where I need to add suggestions: the issues file, ListFilterMenu, EntityPicker, IssueDetailPanel, and IssueListFilters. For the first one, I'm replacing the className with a properly indented string that includes the topbar scroll fade styling. The second suggestion involves updating ListSearchInput with InputGroup imports, which spans multiple hunks, so I'll describe it without a full diff format. For EntityPicker, I need to add the Input import—another multi-hunk change that I'll describe rather than show as a diff. The IssueDetailPanel MenuTrigger already has Button imported, so I can make that an inline suggestion, though I need to check the exact span of lines 634-639. For IssueListFilters, I'm considering whether to suggest reusing or exporting a shared trigger component instead of duplicating code. I'm reviewing the MenuTrigger component in IssueDetailPanel and reconsidering where the className should be placed—it's safer to apply the size styling directly to the Button render prop rather than on the MenuTrigger itself.
1. modify_pr — Reviewed the changed web UI for shared-primitive use, Tailwind ownership and visual/interaction preservation. Five concrete findings, all introduced by this patch: - The issues page's scroll fade names a utility that does not exist, so the page has no fade at all. - Three controls were reconstructed by hand in the new shared source-control components instead of using Input/InputGroup/Button, which drops the primitives' focus-visible ring, disabled/dark treatment and coarse-pointer hit target. Two of these are on the existing pull request surfaces too, because PullRequestSearchInput and the reviewer picker's field were replaced by them. - The new issue filter trigger duplicates the shared ListFilterMenu trigger's geometry verbatim. Details inline.
Agent Credits: 374 credits
Loading
Re-running checks...
|