Skip to content

fix: respect potato mode in emoji picker - #168

Open
PastaPastaPasta wants to merge 1 commit into
masterfrom
claude/fix-emoji-picker-potato-mode-0IiDD
Open

fix: respect potato mode in emoji picker#168
PastaPastaPasta wants to merge 1 commit into
masterfrom
claude/fix-emoji-picker-potato-mode-0IiDD

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

Add potato mode support to the emoji picker component to disable backdrop blur effects when potato mode is enabled for better performance on older devices.

@coderabbitai

coderabbitai Bot commented Jan 24, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@PastaPastaPasta has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 8 minutes and 20 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.


Comment @coderabbitai help to get the list of available commands and usage tips.

Add potato mode support to disable backdrop blur effects in the
emoji picker, including the emoji-mart library's internal blur
on the search input. Uses a CSS class to override all backdrop-filter
effects when potato mode is enabled.
@PastaPastaPasta
PastaPastaPasta force-pushed the claude/fix-emoji-picker-potato-mode-0IiDD branch from a955d6e to 9a05cb9 Compare January 24, 2026 03:37
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jan 24, 2026

Copy link
Copy Markdown

Deploying yappr with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9a05cb9
Status: ✅  Deploy successful!
Preview URL: https://a6a3dc45.yappr.pages.dev
Branch Preview URL: https://claude-fix-emoji-picker-pota.yappr.pages.dev

View logs

@thepastaclaw

thepastaclaw commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

🕓 Ready for review — 63 ahead in queue (commit 9a05cb9)
Queue position: 64/74 · 3 reviews active
ETA: start ~08:10 UTC · complete ~08:46 UTC (median 36m across 30 recent reviews; 3 slots)
Queued 40m ago · Last checked: 2026-07-21 19:20 UTC

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Preliminary review — Codex only

The potato-mode state is applied to the picker wrapper, but the new CSS cannot reach emoji-mart's blur-bearing elements inside its shadow root. Because the PR's intended behavior remains ineffective, this requires changes.

Validated blockers were found in the Codex precheck. Sonnet is deferred until a fresh Codex revalidation clears the blocker gate.

Review provenance

  • Codex reviewers: gpt-5.6-sol — general (failed), gpt-5.6-sol — general (failed), gpt-5.6-sol — general (completed)
  • Verifier: gpt-5.6-sol — verifier
  • Sonnet: not run (deferred by blocker gate)

🔴 1 blocking

🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify each finding against the current code and only fix it if needed.

In `app/globals.css`:
- [BLOCKING] app/globals.css:56-61: Potato-mode selector cannot reach emoji-mart's blur effects
  The lockfile resolves emoji-mart 5.6.0, whose `em-emoji-picker` custom element creates a shadow root and injects the `.sticky` and `.menu` rules containing `backdrop-filter: blur(4px)` inside it. Document-level descendant selectors cannot cross that shadow boundary, and `backdrop-filter` is not inherited, so these declarations only affect the wrapper and custom-element host. Potato mode therefore leaves the picker's internal blur effects enabled; the override must be installed inside the open shadow root or applied through a supported emoji-mart styling mechanism.

Comment thread app/globals.css
Comment on lines +56 to +61
.potato-mode,
.potato-mode *,
.potato-mode *::before,
.potato-mode *::after {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🔴 Blocking: Potato-mode selector cannot reach emoji-mart's blur effects

The lockfile resolves emoji-mart 5.6.0, whose em-emoji-picker custom element creates a shadow root and injects the .sticky and .menu rules containing backdrop-filter: blur(4px) inside it. Document-level descendant selectors cannot cross that shadow boundary, and backdrop-filter is not inherited, so these declarations only affect the wrapper and custom-element host. Potato mode therefore leaves the picker's internal blur effects enabled; the override must be installed inside the open shadow root or applied through a supported emoji-mart styling mechanism.

source: ['codex']

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.

3 participants