Skip to content

refactor(feed): drop empty auxiliary toolbar strip - #304

Merged
guyghost merged 2 commits into
developfrom
fix/drop-empty-toolbar-strip
Aug 21, 2026
Merged

refactor(feed): drop empty auxiliary toolbar strip#304
guyghost merged 2 commits into
developfrom
fix/drop-empty-toolbar-strip

Conversation

@guyghost

@guyghost guyghost commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Follow-up to #303, which merged just before this commit landed on the feature branch.

Why

The search/filter controls moved to the floating glass capsule in #303, but the old toolbar container kept rendering inside the section card. When none of its remaining content (refinement banner, checklist pill, busy indicator, presets) is visible, it leaves an empty bordered 17px strip under the hero.

What

  • Gate the toolbar container behind a new feedToolbarVisible derived in FeedPage.svelte so it only renders when it actually carries content
  • The sr-only busy live region stays functional: it renders whenever feedChromeBusy is true, which is part of the visibility condition

Verification

  • eslint + tsc --noEmit pass
  • e2e: busy toolbar (manual partial results), filter dock, and ARIA attributes tests all pass
  • Browser inspection on the dev server: the empty sticky strip is gone (strayCount: 0), section card renders only the hero block

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com


Open in Devin Review

The search/filter controls moved to the floating capsule, but the old
toolbar container kept rendering an empty bordered 17px strip inside the
section card whenever none of its content (refinement banner, checklist
pill, busy indicator, presets) was visible. Gate the container behind a
feedToolbarVisible derived so it only renders with actual content.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 21, 2026 12:51
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pulse Ready Ready Preview Aug 21, 2026 1:07pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
pulse-dashboard Skipped Skipped Aug 21, 2026 1:07pm

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

Comment thread apps/extension/src/ui/pages/FeedPage.svelte

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes an empty, bordered “auxiliary toolbar” strip that could render under the Feed hero after #303 moved search/filter controls into the floating capsule, by conditionally rendering the toolbar container only when it has visible content.

Changes:

  • Introduces a new $derived boolean (feedToolbarVisible) to determine whether the auxiliary toolbar container should render.
  • Wraps the auxiliary toolbar markup in {#if feedToolbarVisible} to prevent an empty container from leaving a stray bordered strip.
  • Keeps the existing busy live-region content tied to feedChromeBusy within the gated container.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread apps/extension/src/ui/pages/FeedPage.svelte

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a287fb6056

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/extension/src/ui/pages/FeedPage.svelte
…\nInclude runtime availability checks for lazy-loaded ProfileRefinementBanner and ProfileChecklistPill so the toolbar container only renders when it can contain content. Also keep the aria-live status region mounted (visually hidden) so screen readers reliably announce scan-start messages.\n\nfix(a11y): keep scan live region mounted for screen readers\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vercel
vercel Bot temporarily deployed to Preview – pulse-dashboard August 21, 2026 13:07 Inactive
@guyghost
guyghost merged commit a23a631 into develop Aug 21, 2026
8 checks passed
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.

2 participants