Neon Glow interface sketches#
Status: proposed layouts, not implemented screens. The reviewed design specifications define interaction details, visual direction, TanStack Start/Base UI/CSS Modules web components, native components, and TanStack DB state shared across platforms.
One builder: chat with a playable preview. Desktop shows both together. Mobile web and native use the same Chat / Play structure, with controls suited to each platform. The existing build plan defines app and sharing behavior.
The examples are playful, but they are not a fixed list of supported formats. People can start with any idea. Generated creations should work on phones.
Desktop web: home#
Home starts with an idea field, recent creations, and responses from people. Submitting an idea opens its new builder; it is already the first chat message.
+--------------------------------------------------------------------------------+
| NEON GLOW [Sam v] |
+--------------------------------------------------------------------------------+
| |
| What do you want to make? |
| |
| +--------------------------------------------------+ |
| | A sandwich that judges my life choices | |
| | | |
| | [+ Attach] [Mic] [Make ->]| |
| +--------------------------------------------------+ |
| Try: [An angry pet] [A silly game] [A sound toy] |
| |
| Yours [See all] |
| +--------------------+ +--------------------+ +--------------------+ |
| | | | | | | |
| | app thumbnail | | app thumbnail | | app thumbnail | |
| | | | | | | |
| +--------------------+ +--------------------+ +--------------------+ |
| Judgmental Sandwich Screaming Piano Tiny Moon |
| Shared Private Private |
| |
| For you |
| +------------------------------------------------------------------------+ |
| | Alex remixed your sandwich. It gives terrible advice now. [Open] | |
| +------------------------------------------------------------------------+ |
| |
+--------------------------------------------------------------------------------+
The examples are optional prompt starters. They do not constrain the generator. The personal home can follow a first creation or sign-in; public links open the creation directly. Initial social responses come from real share/remix exchanges, without requiring an address-book import or a friend graph.
Desktop web: builder#
+--------------------------------------------------------------------------------+
| [< Home] Judgmental Sandwich Shared via link [Share] [...] |
+----------------------------------+---------------------------------------------+
| CHAT | PREVIEW [Restart] [Expand]|
| | |
| You | +-----------------------+ |
| Make a sandwich that judges | | | |
| my life choices. | | JUDGMENTAL SANDWICH | |
| | | | |
| Glow | | | |
| Tap it. It has opinions. | | _________ | |
| | | / \ | |
| You | | | - - | | |
| Make it more passive aggressive. | | | ___ | | |
| | | \_________/ | |
| Glow | | | |
| It now says "interesting choice" | | "Interesting choice."| |
| when you tap it. | | | |
| | | [Ask for advice] | |
| [Undo last change] | | | |
| | +-----------------------+ |
| | |
| +------------------------------+ | Ready to try |
| | What should we change? | | |
| | | | |
| | [+] [Mic] [Send]| | |
| +------------------------------+ | |
+----------------------------------+---------------------------------------------+
- Chat stays a readable width. The preview receives the remaining space and starts at a phone aspect ratio. Expand gives the creation more room; it is available to landscape games and other formats too.
- The app supplies the content inside the player. The title, chat, sharing, status, and navigation belong to Neon Glow, outside generated content.
- The preview is interactive. Restart resets only private preview test state, never a friend's progress in the shared app.
- Keep the prior preview playable during changes. A small status says what is happening; successful validated output becomes available. Offer Try it rather than replacing an active game. Avoid invented percentages.
- The header says Private before sharing. After sharing it says Shared via link or Public, with a clear explanation that successful changes update that link.
- The overflow menu holds rename, history, and access controls. No file tree, deployment controls, or model picker is required for ordinary creation.
- A first build uses the same layout, with a simple making status in the empty preview area. There is no separate setup wizard.
Mobile web and native: home#
+--------------------------------+
| NEON GLOW [Sam] |
| |
| What do you want to make? |
| +----------------------------+ |
| | A pet cloud that rains | |
| | when it gets lonely | |
| | | |
| | [+] [Mic] [Make ->]| |
| +----------------------------+ |
| [Angry pet] [Silly game] |
| |
| Yours [See all] |
| +------------+ +-------------+ |
| | | | | |
| | thumbnail | | thumbnail | |
| | | | | |
| +------------+ +-------------+ |
| Sandwich Tiny Moon |
| Shared Private |
| |
| For you |
| +----------------------------+ |
| | Alex remixed your sandwich | |
| | "It's much worse now." | |
| | [Open] | |
| +----------------------------+ |
+--------------------------------+
Use a scrolling home rather than adding a permanent bottom navigation bar at this stage. The profile menu provides account settings. Home holds the user's creations and incoming remix responses.
Mobile builder: Chat and Play#
CHAT PLAY
+--------------------------------+ +--------------------------------+
| [<] Sandwich [Share] [...] | | [<] Sandwich [Share] [...] |
| Shared via link | | Shared via link |
| [ Chat ] Play | | Chat [ Play ] |
+--------------------------------+ +--------------------------------+
| | | |
| You | | |
| Make a sandwich that judges | | JUDGMENTAL SANDWICH |
| my life choices. | | |
| | | |
| Glow | | _________ |
| Tap it. It has opinions. | | / \ |
| +----------------------------+ | | | - - | |
| | [thumbnail] Ready to play | | | | ___ | |
| | [Play]| | | \_________/ |
| +----------------------------+ | | |
| | | "Interesting choice." |
| You | | |
| Make it passive aggressive. | | |
| | | [Ask for advice] |
| Glow | | |
| Done. It disapproves quietly. | | |
| [Undo last change] | | |
| | | |
| +----------------------------+ | +--------------------------------+
| | What should we change? | | | [Restart] [Expand] |
| | [+] [Mic] [Send] | | | [Change something] |
| +----------------------------+ | | |
+--------------------------------+ +--------------------------------+
- Start a new creation in Chat. When a result is ready, its Play card opens the full playable view. Do not switch away while someone is typing or reading.
- Change something returns to Chat and focuses the composer. Switching tabs preserves conversation position and the current preview session where possible; it does not intentionally restart play. Device suspension can still reload it.
- Pause hidden player audio, input, and rendering where supported. Switching views does not pause or cancel the coding job.
- Chat can use a still thumbnail. Avoid running a second miniature game inside the conversation while another copy is running in Play.
- Keep the composer above the keyboard; attachments open the platform picker. When the keyboard is visible, chat gets the remaining space. Do not squeeze a second live preview above it.
- Expand hides builder controls for immersive play, with an accessible way back. The player respects safe areas and supports the creation's orientation.
Prefer this switch over a draggable chat sheet initially. It leaves the game enough space and avoids competing with game drag gestures or keyboard behavior.
Opening a shared app#
The recipient sees the actual creation first, without the creator's chat. The same entry works in a browser and, when installed, through a native deep link.
+--------------------------------+
| NEON GLOW [...] |
+--------------------------------+
| |
| JUDGMENTAL SANDWICH |
| |
| |
| _________ |
| / \ |
| | - - | |
| | ___ | |
| \_________/ |
| |
| "Interesting choice." |
| |
| [Ask for advice] |
| |
| |
+--------------------------------+
| Judgmental Sandwich |
| by Sam |
| [Remix] [Share] |
+--------------------------------+
On desktop, center the player in the available space, keeping attribution and Remix nearby. Do not expose the editing conversation to visitors. Owners see Edit as well. The overflow menu includes Report. Playing public content does not require an account or installation; native installation is optional.
Remix opens a private builder with the source preview and a short introduction: "Your remix of Sam's Judgmental Sandwich. What should we change?" Show attribution under the title; keep the parent's private conversation out of the new chat. Sign-in, when needed, preserves the intended remix and any typed request before creating its backend. A pending fork shows progress and Retry on failure, without pretending an independent editable app exists before provisioning completes.
Once created, the remix has its own identity and fresh gameplay. Parent updates do not change it. Sharing it can offer Send back to Sam through the OS/browser share flow; shared remix responses can appear on the source creator's home. Private experiments create no public activity.
Sharing#
+--------------------------------+
| Share [x] |
| |
| Judgmental Sandwich |
| |
| Who can open it? |
| (*) Anyone with the link |
| ( ) Everyone / public |
| |
| People can play and remix it. |
| Working changes update this |
| same link. |
| |
| [Create link] |
+--------------------------------+
This is a centered dialog on desktop and a sheet on phones. Create link explicitly changes first visibility; dismissing the dialog changes nothing. After success, show Copy link and Send. Anyone with the link means unlisted, not invite-only; the copy must say so. Later Share actions reuse the same link. Send uses native/browser sharing where available and falls back to Copy link. Titles are generated and editable; naming, icons, and descriptions are optional.
Working, queued, offline, and failure states#
Keep these inside chat rather than introducing a separate jobs screen:
Glow Adding dramatic thunder... [Stop]
You Also make the cloud purple. Queued [Remove]
Glow Ready. Tap the cloud to hear it. [Play]
[Undo last change]
Glow That change didn't work. Your last version is still here.
[Try again]
Reconnecting... Your message is waiting to send.
Ordinary messages queue behind the active change; they are not silently treated as interruptions. Stop shows Stopping until durable cancellation is confirmed. Remove cancels a pending message before execution; if it has already started, show its actual running state and Stop instead. An unsent offline message is distinct from a server-accepted queued request. Reopening either client fetches current conversation and build state before reconciling live updates.
Undo restores the preceding working edit and matching agent context; chat stays visible. On a shared app it also updates the live link after validation. Preview and undo do not reset live player progress. Incompatible state changes need an explanation and a safe resolution before replacing the shared version. If work is active/queued, confirm that restoration stops it and discards pending requests. Explain the shared-app effect before confirming restoration.
Platform differences#
| Surface | Navigation and chat | Player | Sharing and attachments |
|---|---|---|---|
| Desktop web | Side-by-side chat and preview; browser URLs | Sandboxed web player, phone-shaped default with Expand | Copy link/browser share; browser upload and supported recording |
| Mobile web | Chat / Play switch; browser back and keyboard | Same player with mobile viewport and touch input | Browser share where supported; file/camera picker and supported recording |
| Native iOS/Android | Native navigation, chat, composer, safe areas and keyboard handling | Same generated web experience in an isolated WebView | OS share sheet and native photo/file/audio flows |
Native is a native builder around the shared creation format, not a second generated-app target. Accessible labels, touch targets, text scaling, reduced motion, and keyboard focus apply to the builder. The generated content needs its own mobile and accessibility validation.