Repository navigation
Extend Horrible mode with all 33 playbook ideas (draft) - #33
Conversation
Horrible mode now ships every playbook gag behind the existing toggle, with overlays that stay recoverable via Esc and Make it stop. Closing three popups finally starts the 6s quiet window instead of immediately spawning more. Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 0dbe5d24-678f-4606-aae2-9a7e70f4c042) |
Loose hasText: Paste also matched the hidden Horrible mode labels, which broke strict mode in design-audit and would have hit audit-pass-2 next. Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 64ac42bf-38e5-49ed-bcda-c1eebc0c6209) |
Ctrl/Cmd+Enter cleans in both modes; Horrible also treats Enter as clean. Every popup dismiss shares one counter so the 6s quiet window holds, X sits above overlays without dodging, and settings snap back on disable. Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: aeca2004-7c8b-4888-aa04-ca1e3c2b783e) |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: b22f160c-83c4-4b42-a5ee-bf7aa12849d9) |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cc4f5dd706
ℹ️ 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".
| view().setTimeout(() => { | ||
| slot.hidden = true; | ||
| if (cleanedUrl) cleanedUrl.textContent = url; | ||
| }, 400); |
There was a problem hiding this comment.
Cancel stale slot callbacks before updating the real result
With motion enabled, clean URL A in Horrible mode, turn the mode off, and clean URL B before A's slot animation finishes. This callback still overwrites #cleaned-url with A even though the result details and cleanedValue used by Copy now belong to B. Neither disable() nor subsequent cleans cancel these timers. Cancel or invalidate the previous animation when cleaning again or disabling the mode, and avoid writing an outdated animation value into the real result.
Useful? React with 👍 / 👎.
| for (const [key, box] of Object.entries(map)) { | ||
| const slider = q(`[data-gravity='${key}']`); | ||
| if (slider) slider.value = String(Math.round(gravity[key])); | ||
| setCheckbox(box, gravityIsOn(gravity[key])); |
There was a problem hiding this comment.
Keep temporary gravity settings out of persisted preferences
If a user enables Horrible mode, waits for the gravity sliders to sink, and reloads before disabling it, their original settings are permanently lost. syncGravityUi() calls setCheckbox(), which dispatches change; the handlers in app.js immediately persist those temporary values. After reload, savedSettings snapshots the already-modified preferences, so Make it stop cannot restore the original Clean on paste, Auto-copy, Aggressive, or Duplicates settings. Keep these temporary overrides separate from persisted preferences, or preserve the original snapshot across reloads.
Useful? React with 👍 / 👎.
Draft only. Do not merge or mark ready.
Extends the existing Horrible mode toggle (
url-cleaner.horrible) so every numbered idea from the garbage-UI playbook is implemented behind that switch. Normal mode is unchanged. CSP is unchanged.Quiet window fix (PR 32 QA)
Every popup close path — X, Esc on a focused popup, action button, and programmatic/forced remove — goes through one dismissal counter. The 3rd close starts a 6s quiet window before extras can spawn.
spawnPopupno-ops while quiet, so replacements cannot sneak in. Playwright closes 3 popups and asserts the count stays put for 6s. Popup X sits just below Make it stop (z-index2147482998/2147482999) and no longer dodges or wiggles.Ideas
translateX. Real value untouched.horrible/playbook.js,horrible/playbook.csshorrible/playbook.jsrotate(180deg)+ “Australia mode”.horrible/playbook.csshorrible/logic.js,horrible/playbook.jsutm_sourcegrid; cells split on click; “Skip, I'm a robot” always works.horrible/playbook.jsapp.js,horrible/playbook.jshorrible/playbook.jshorrible/playbook.jsindex.html,horrible/playbook.csshorrible/playbook.jshorrible/playbook.jshorrible/playbook.cssindex.htmlcontent+ “(lies)” chip. URLs stay put.horrible/playbook.csshorrible/playbook.jshorrible/playbook.jshorrible/logic.jsdata-horrible-themeskins. Cleared on disable.horrible/playbook.cssindex.htmlError 0x0000UTM: The operation completed successfully. Restored on off.horrible/playbook.jshorrible/playbook.jsindex.html,horrible/playbook.cssindex.html?mascot popup, counts toward the 8-popup cap. No Clippy art.horrible/playbook.jshorrible/playbook.jsindex.html,horrible/playbook.csshorrible.css).horrible.css--horrible-scale90%–130% after each clean.horrible/playbook.cssaria-hiddendrama bar. Real ARIA labels untouched.horrible/playbook.jsdata:SVG cursor.xmlnsis percent-encoded so CSS stays off-network.horrible/playbook.csstracker_theme.midbar + phone-slider volume. Mute: “Already muted. We have no ears.”index.html[ominous fax noises]etc., fade at ~0.8s. No audio.horrible/playbook.jshorrible/playbook.jsSafe substitutes
None skipped. These were already specified as parodies and implemented that way:
httpin the SVG xmlns is percent-encoded so the stylesheet has nohttp://literalmedia-src)Testing
npm test— 198 passednpm run test:playwright— full suite, including design-audit and the playbook click path, run with production CSP on the playbook specCtrl/Cmd+Enter cleans in both modes. In Horrible, plain Enter cleans and Shift+Enter adds a newline. Esc still turns the whole mode off unless a popup is focused (that Esc closes that popup and counts toward quiet). Make it stop stays above every overlay (
2147483000). Background gradient is a 28s cycle; banner stripes are static; blink/shimmer stay well under 2 Hz. Reduced motion drops gravity, slots, shell shuffle, and dial-up. No inline scripts/styles, no fonts, no network, no audio. CSP invercel.jsonis untouched. Faviconconnect-srcreports were left alone (not trivial without loosening CSP).Note
Medium Risk
Large UI-only surface area and new clean/keyboard paths, but core URL cleaning logic is unchanged; risk is mostly regressions in submit/Enter behavior, settings restore on disable, and overlay/popup interaction.
Reviewed by Cursor Bugbot for commit cc4f5dd. Bugbot is set up for automated code reviews on this repo. Configure here.