Skip to content

Implement multi-monitor support with URL-based style management#195

Merged
nomandhoni-cs merged 5 commits into
masterfrom
develop
Feb 26, 2026
Merged

Implement multi-monitor support with URL-based style management#195
nomandhoni-cs merged 5 commits into
masterfrom
develop

Conversation

@nomandhoni-cs
Copy link
Copy Markdown
Owner

@nomandhoni-cs nomandhoni-cs commented Feb 26, 2026

Description

Please provide a brief summary of the changes you made in this PR.


Type of Change

Check the options that match the changes in your PR:

  • 🐛 Bug fix (fixes an issue)
  • ✨ New feature (adds functionality)
  • 🛠️ Refactor (code changes without affecting the functionality)
  • 📝 Documentation update (improves documentation)
  • 🧪 Test improvement (adds/fixes tests)

Checklist

Ensure the following tasks are completed before submission:

  • My code follows the project's coding guidelines.
  • I have added tests or verified existing tests.
  • I have updated documentation (if applicable).
  • This PR has been self-reviewed for quality.

Related Issues

Closes #multi


Screenshots (if applicable)

Provide relevant screenshots or GIFs of the changes.


Additional Notes

Add any other information that reviewers might find helpful.

… passing

- Replace event-based background style broadcasting with URL parameters
- Remove reminder-background-style emit/listen logic from ReminderControl and reminder-minimal
- Pass background style via URL query params (?style=X) when creating windows
- Fix background visibility issue in reminder-minimal by removing bg-white/bg-black classes
- Add comprehensive logging for debugging URL parameter flow
- Update PlainGradientAnimation to properly set canvas dimensions
- Create reminder-minimal.tsx for lightweight secondary monitor windows (5MB vs 50MB)
- Add reminder-minimal.html entry point for secondary windows
- Update documentation (README files) to reflect new URL-based architecture

Benefits:
- 60% memory reduction for multi-monitor setups (60MB vs 150MB for 3 monitors)
- Zero latency - instant background rendering on all monitors
- No race conditions or flickering
- Simpler codebase with fewer event listeners
- Single source of truth for background style (URL parameter)
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Feb 26, 2026

Deploying blink-eye with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6dd41f8
Status: ✅  Deploy successful!
Preview URL: https://218ec6d4.blink-eye.pages.dev
Branch Preview URL: https://develop.blink-eye.pages.dev

View logs

@nomandhoni-cs nomandhoni-cs merged commit f7257aa into master Feb 26, 2026
5 checks passed
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