Skip to content

Add Universe PWA branding#26

Open
firstedition0123 wants to merge 2 commits into
BAWES-Universe:universefrom
firstedition0123:feat/mobile-pwa-branding-codex
Open

Add Universe PWA branding#26
firstedition0123 wants to merge 2 commits into
BAWES-Universe:universefrom
firstedition0123:feat/mobile-pwa-branding-codex

Conversation

@firstedition0123

@firstedition0123 firstedition0123 commented May 16, 2026

Copy link
Copy Markdown

Summary

  • add a BAWES Universe web manifest with fullscreen landscape PWA metadata
  • add 192px and 512px Universe app icons under play/public/static
  • point the play HTML entry at the new manifest and set mobile app meta tags

Closes #3
/claim #1

Demo

Universe PWA branding demo

Verification

  • manifest/icon validation passed: name, short name, display, orientation, icon existence, and icon dimensions
  • index marker validation passed: manifest link, theme color, Apple mobile tags, and Mustache script marker
  • npx prettier --check play/public/manifest.webmanifest
  • git diff --check
  • CodeRabbit pre-merge checks passed and confirmed the PR is scoped to issue Universe PWA branding: manifest + icons in play/public/ #3
  • npm run build --workspace play was attempted, but the production build hit the local Node heap/process limit after transforming 3373 modules; no failure was tied to this PWA metadata/icon change

@coderabbitai

coderabbitai Bot commented May 16, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@firstedition0123 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 16 minutes and 26 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4193e8be-7724-4019-b15c-c1a726f6dc84

📥 Commits

Reviewing files that changed from the base of the PR and between 4a27542 and 9e2784e.

📒 Files selected for processing (1)
  • play/public/manifest.webmanifest
📝 Walkthrough

Walkthrough

This PR updates the play application to support PWA installation and branding. A new Web App Manifest is created with Universe identity (name, icons, orientation), and the HTML head is updated to reference this manifest and add Apple mobile web app support meta tags.

Changes

PWA Branding Configuration

Layer / File(s) Summary
PWA Manifest Definition
play/public/manifest.webmanifest
New manifest.webmanifest file defines app metadata (name: "BAWES Universe", short_name: "Universe"), fullscreen display mode, landscape orientation, black background and theme colors, and two icon sizes (192x192 and 512x512 with maskable purpose).
HTML Head Updates
play/index.html
HTML head is updated to reference /manifest.webmanifest, replace the templated theme-color meta tag with hardcoded #000000, and add apple-mobile-web-app-capable and apple-mobile-web-app-title meta tags for iOS support.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related issues

  • #3: Universe PWA branding: manifest + icons in play/public/ — This PR directly implements the manifest setup task from issue #3, creating the required play/public/manifest.webmanifest file with BAWES Universe branding and updating HTML head tags to reference it and enable Apple mobile web app support.

Poem

🐰 A manifest blooms in the public square,
Black theming and icons, crafted with care,
HTML head tags dance to the tune,
The Universe PWA shines bright as the moon! 🌙

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add Universe PWA branding' directly and clearly summarizes the main change—adding PWA branding for the Universe app.
Linked Issues check ✅ Passed The pull request implements all core coding requirements from issue #3: manifest.webmanifest with required fields, icons, HTML meta tags, and changes scoped to play/public/ and HTML entry.
Out of Scope Changes check ✅ Passed All changes are directly related to issue #3 objectives: manifest updates, icon definitions, and HTML meta tag additions. No extraneous modifications detected.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@play/public/manifest.webmanifest`:
- Line 4: Update the "description" value in manifest.webmanifest to use the
exact required string by replacing the ASCII hyphen (-) between "BAWES Universe"
and "a virtual world" with an em dash (—) so the value reads "BAWES Universe — a
virtual world"; ensure you modify the "description" property shown in the diff.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bc984c12-6e8d-4c00-b4ef-e51abdf516c8

📥 Commits

Reviewing files that changed from the base of the PR and between e3106e7 and 4a27542.

⛔ Files ignored due to path filters (2)
  • play/public/static/universe-icon-192.png is excluded by !**/*.png
  • play/public/static/universe-icon-512.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • play/index.html
  • play/public/manifest.webmanifest

Comment thread play/public/manifest.webmanifest Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4a275425d4

ℹ️ 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".

Comment thread play/index.html
<link rel="{{ rel }}" type="image/png" sizes="{{ sizes }}" href="{{ src }}" />
{{/favIcons}}
<link rel="manifest" href="/static/images/favicons/manifest.json?url={{ url }}" />
<link rel="manifest" href="/manifest.webmanifest" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve room URL in installed PWA launch target

Linking index.html to the static /manifest.webmanifest makes every install use the hardcoded start_url: "/" from that file, whereas the previous manifest URL included ?url={{ url }} and displayManifestJson derived the launch URL from the current room path. In deployments where users install from a room URL like /@/..., launching the installed app will now always send them to / instead of back to that room, which is a functional regression for deep-linked worlds.

Useful? React with 👍 / 👎.

@firstedition0123

Copy link
Copy Markdown
Author

Addressed the manifest description nit in 9e2784e by using the requested em dash wording.\n\nVerification:\n- node manifest validation for description/name/icon entries\n- npx prettier --check play/public/manifest.webmanifest\n- git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Universe PWA branding: manifest + icons in play/public/

1 participant