Skip to content

fix(landing): harden cross-browser compatibility - #7139

Merged
waleedlatif1 merged 3 commits into
stagingfrom
codex/fix-safari-landing-previews
Aug 27, 2026
Merged

fix(landing): harden cross-browser compatibility#7139
waleedlatif1 merged 3 commits into
stagingfrom
codex/fix-safari-landing-previews

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • add feature-gated color fallbacks across landing visuals for older browser engines
  • limit animated properties and add a Firefox 111 inert fallback without changing modern Chrome output

Type of Change

  • Bug fix

Testing

Tested with lint, 33 repository audits, type-check, focused Vitest coverage, production build, and Chromium/Firefox/WebKit landing smoke checks.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Aug 27, 2026 12:22am

Request Review

@greptile-apps

greptile-apps Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds feature-gated color fallbacks for older browser engines, narrows animated properties, and provides an inert fallback for Firefox 111.

  • Moves landing-page color-mix() styling into a shared fallback CSS module.
  • Renames the loader compatibility property to the component-scoped --thinking-loader-outer namespace.
  • Adds legacy inert handling and focused tests for the demo booking panels.
  • Restricts several transitions to opacity, transform, and max-height.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains; the previously reported retired token namespace has been removed consistently from the fallback definitions and both loader consumers.

Important Files Changed

Filename Overview
apps/sim/app/(landing)/components/shared/color-mix-fallbacks/color-mix-fallbacks.module.css Defines baseline colors for legacy engines and restores modern color-mix values behind feature detection; the loader property rename is complete and consistently scoped.
apps/sim/app/(landing)/components/hero/components/hero-visual/hero-visual.tsx Applies the renamed loader compatibility property from an ancestor of ThinkingLoader, preserving the expected inheritance chain.
apps/sim/app/(landing)/components/navbar/components/logo-mark/logo-mark.tsx Uses the component-scoped loader property consistently and retains the fallback and modern loader color behavior.
apps/sim/app/(landing)/demo/components/legacy-inert-fallback.ts Implements legacy interaction blocking with restoration of prior ARIA, pointer-event, and tabindex state.
apps/sim/app/(landing)/demo/components/demo-booking/demo-booking.tsx Applies the legacy inert fallback only when native inert support is unavailable.
apps/sim/app/(landing)/demo/components/legacy-inert-fallback.test.ts Covers interaction suppression, exact state restoration, and focus removal for the legacy fallback.

Reviews (3): Last reviewed commit: "fix(landing): blur legacy inert focus" | Re-trigger Greptile

@cubic-dev-ai cubic-dev-ai 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.

1 issue found across 22 files

Confidence score: 4/5

  • In apps/sim/app/(landing)/demo/components/demo-booking/demo-booking.tsx, Firefox 111 can leave the Continue button focused inside a panel that becomes aria-hidden and removed from the tab order, creating an accessibility and keyboard-navigation issue; move focus to the scheduler or blur the active form before hiding it.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="apps/sim/app/(landing)/demo/components/demo-booking/demo-booking.tsx">

<violation number="1" location="apps/sim/app/(landing)/demo/components/demo-booking/demo-booking.tsx:40">
P2: When the form advances in Firefox 111, the clicked Continue button remains focused inside the panel this fallback makes `aria-hidden` and removes from the tab order. Move focus to the scheduler or blur the active form control before applying the fallback.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread apps/sim/app/(landing)/demo/components/legacy-inert-fallback.ts
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1
waleedlatif1 merged commit 18e0532 into staging Aug 27, 2026
29 checks passed
@waleedlatif1
waleedlatif1 deleted the codex/fix-safari-landing-previews branch August 27, 2026 00:31
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.

1 participant