Skip to content

Restore footer suggestion chips on tablet and desktop only - #317

Merged
BigSimmo merged 8 commits into
mainfrom
cursor/restore-desktop-footer-chips-3035
Jul 6, 2026
Merged

Restore footer suggestion chips on tablet and desktop only#317
BigSimmo merged 8 commits into
mainfrom
cursor/restore-desktop-footer-chips-3035

Conversation

@BigSimmo

Copy link
Copy Markdown
Owner

Summary

Reverses the phone-only part of the footer chip removal from #303. Footer suggestion chips (Evidence-based, All sources, mode shortcuts) are visible again from the sm breakpoint up, while phones continue to use the integrated + menu without a chip row.

Changes

  • Restore footer chip helpers and chip row rendering in master-search-header.tsx
  • Gate visibility with showFooterSearchChips = usesFooterChipLayout && !usesPhoneSearchLayout
  • Wire integratedChipRow on ModeActionPopup to match when chips are shown
  • Extend ui-tools coverage: phones still expect zero visible chips; tablet/desktop expect chips present

Verification

  • npm run typecheck — pass
  • npm run verify:cheap — pass (1094 tests)

Notes

Mobile scope/actions remain reachable via the Open answer options menu; desktop/tablet users get the chip shortcuts back.

Open in WebOpen in Cursor

BigSimmoand others added 8 commits July 6, 2026 12:40
Co-authored-by: Cursor <cursoragent@cursor.com>
Defer focus restoration until after the scope popover unmounts, and use double requestAnimationFrame in dismissable layers so Escape reliably returns focus to the answer options trigger.
Keep the footer chip row (Evidence-based, All sources, mode shortcuts)
visible from the sm breakpoint up. Phones still reach the same actions
through the integrated + menu without the chip row.
@supabase

supabaseBot commented Jul 6, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@BigSimmo
BigSimmo marked this pull request as ready for review July 6, 2026 06:16
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for freeto 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

@BigSimmo