Skip to content

Show a desktop-only notice on narrow screens with a generated Aurora background - #1

Merged
TheoSlater merged 1 commit into
elarisbrowser:mainfrom
GautierPicon:feat/mobile-desktop-only
Dec 2, 2026
Merged

TheoSlater merged 1 commit into
elarisbrowser:mainfrom
GautierPicon:feat/mobile-desktop-only

Conversation

@GautierPicon

@GautierPicon GautierPicon commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • Viewports of 900 px or less no longer mount the editor. They get a full-screen notice: "Elaris Studio is only available on desktop for now".
  • The background is generated with the app's own Aurora shader through ArtworkRenderer: a fresh seed, palette and composition on every page load. A CSS gradient is used as a fallback when WebGL 2 is unavailable.
  • The editor is loaded with React.lazy, so narrow screens don't download the editor bundle at all.
  • The notice uses the existing local fonts, respects safe-area insets and prefers-reduced-motion, and removes the 760 px minimum width on small screens.

Why

The editor needs WebGL 2, a wide layout and precise pointer input. On a phone it only produced a clipped, unusable interface; a clear message is a better first impression.

Screenshots

Before (main, 390×844) After (390×844)
image image
image
image

Checks

  • npm run build
  • npm test — 163 passed
  • npm run test:e2e — 19 passed, including new mobile coverage for the notice and the regenerated background

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Dec 2, 2026

Copy link
Copy Markdown

@GautierPicon is attempting to deploy a commit to the TheoSlater's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

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: f7dc8bda-4159-4940-9ffd-6782a205df61
  • 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

@TheoSlater

Copy link
Copy Markdown
Contributor

❤️

@TheoSlater
TheoSlater merged commit ce62b80 into elarisbrowser:main Dec 2, 2026
2 of 3 checks passed
@GautierPicon
GautierPicon deleted the feat/mobile-desktop-only branch December 2, 2026 21:58
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
studio Ready Ready Preview Dec 2, 2026 10:26pm UTC

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.

2 participants