Skip to content

feat(site): OFUSE button, supporters roll and stricter backdrop close - #44

Merged
mkpoli merged 3 commits into
mainfrom
feat/ofuse-roll
Nov 6, 2026
Merged

mkpoli merged 3 commits into
mainfrom
feat/ofuse-roll

Conversation

@mkpoli

@mkpoli mkpoli commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

OFUSE button. The Sponsor dialog gets an OFUSE button beside Ko-fi, the live supporters roll, and a stricter backdrop close.

ELI5. The Sponsor window had only a Ko-fi button. It now has an OFUSE button too, listed first because the page is Japanese, and shows who recently tipped. The window used to close if you let go of the mouse outside it, even after selecting text inside; now it closes only when you press and release outside.

flowchart LR
  A[Sponsor button] -->|first open| B[load roll.js]
  B --> C[supporters-roll shown]
  A --> D[OFUSE + Ko-fi buttons]
  E[press outside] --> F{release outside?}
  F -->|yes| G[close]
  F -->|no| H[stay open]
Loading

Commits

  1. OFUSE button: unaltered mark in brand/ofuse-icon.svg, white on #267da0; steps reworded to the generic two-button wording; OFUSE first (Japanese page).
  2. Roll: https://supporters.mkpo.li/roll.js and the <supporters-roll> element are added when the dialog first opens, and the element is removed on close. A page view makes no request to that service.
  3. Backdrop: close needs pointerdown and click both outside the box.

Screenshots (2x)

Before After
Light
Dark
Phone 390

"After" shows the dialog scrolled to the bottom. Top of the dialog:

Verification

Static site, no test suite. Served site/public locally and drove it in Chromium:

  • Opens from the pill; links are https://ofuse.me/mkpoli and https://ko-fi.com/mkpoli; OFUSE listed first.
  • No request to supporters.mkpo.li on load; the roll loads on open and lists names (checked live).
  • Escape closes; a click outside closes; a drag from inside to outside and from outside to inside leave it open.
  • No horizontal overflow at 390/768/1024/1280/1440, and the same count of visible nav links as the base page at each width.
  • The Japanese-first order flip is not testable: the page has one locale.
  • Once, the roll element still had a child right after Escape; a rerun and a separate check showed it cleared.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 87015e98-4883-4132-9466-398205c5fbb3
Commits

Reviewing files that changed from the base of the PR and between c78c6eb and d9f2a1a.

Files ignored due to path filters: 1

  • site/public/brand/ofuse-icon.svg is excluded by !**/*.svg
Files selected for processing: 1

  • site/public/index.html
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@mkpoli
mkpoli merged commit 2668894 into main Nov 6, 2026
3 checks passed
@mkpoli
mkpoli deleted the feat/ofuse-roll branch November 6, 2026 13:00
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