Skip to content

chore(assets): asset cleanup, brand reorg, favicon update - #41

Merged
hb-agent merged 9 commits into
mainfrom
staging
Apr 21, 2026
Merged

chore(assets): asset cleanup, brand reorg, favicon update#41
hb-agent merged 9 commits into
mainfrom
staging

Conversation

@hb-agent

@hb-agent hb-agent commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove unused images from public/assets/ (20 files, ~565 lines)
  • Reorganize brand assets: rename sign-in SVGs to certified_signin(with)_black convention, move hyperboards logo into partners/, move OTP email template to public/email/
  • Swap navbar + footer wordmark from PNG to SVG
  • Use properly-sized 192/512 PWA icons (generated from certified_brandmark_black_512.png source)
  • Use certified_brandmark_black_512.png as favicon (src/app/icon.png)
  • Delete unused sidebar.tsx component (CSS was already removed; no imports remain)

Test plan

  • Navbar and footer render the black wordmark at all viewport sizes
  • Sign-in buttons (hero, CTA, navbar, dashboard preview card) render the new certified_signin(with)_black.svg assets
  • PWA install prompt shows the brandmark (check /manifest.webmanifest)
  • Favicon appears correctly in browser tab
  • /email/otp-email-template.html resolves (and /.well-known/oauth-client-metadata references the new path)
  • Connected apps list still renders logos (maearth, gainforest, simocracy, hyperboards)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Refactor

    • Removed the sidebar navigation component from the app
  • Style

    • Updated app icons in the manifest (192×192 and 512×512)
    • Refreshed logos and sign-in imagery across navbar, footer, dashboard, and landing pages
    • Converted footer logo to SVG for improved display
  • New Features

    • Added Apple Web App metadata (web app capable with default status bar)
  • Chores

    • Updated email template path and connected-app logo asset paths; documented updated public asset structure

hb-agent and others added 4 commits April 15, 2026 03:52
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Move hyperboards logo to partners/ folder
- Rename sign-in assets to certified_signin(with)_black naming
- Use certified_wordmark_black.svg in navbar and footer (was PNG)
- Switch PWA icons to properly sized 192 and 512 brandmark files
- Move OTP email template from /assets/ to /email/
- Delete unused sidebar component

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
certified-app Ready Ready Preview, Comment Apr 21, 2026 7:44am

Request Review

@coderabbitai

coderabbitai Bot commented Apr 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (4)
  • public/assets/certified_brandmark_black.png is excluded by !**/*.png
  • public/assets/certified_brandmark_black.svg is excluded by !**/*.svg
  • public/assets/certified_brandmark_black_192.png is excluded by !**/*.png
  • public/assets/certified_brandmark_black_512.png is excluded by !**/*.png

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1130617b-749c-43ba-91e3-476e46e17e12

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Replaced multiple image and asset paths, adjusted manifest icons and app metadata, changed an OAuth email template URI, added an appleWebApp metadata block, and removed the Sidebar component from the codebase.

Changes

Cohort / File(s) Summary
OAuth & Manifest
src/app/.well-known/oauth-client-metadata/route.ts, src/app/manifest.ts, src/app/layout.tsx
Updated OAuth email_template_uri location; swapped manifest icon asset paths; added metadata.appleWebApp fields.
UI Asset Updates
src/components/dashboard/sign-in-preview-card.tsx, src/components/landing/hero-signin-button.tsx, src/components/landing/sections/ready-cta-button.tsx, src/components/layout/footer.tsx, src/components/layout/navbar.tsx, src/lib/constants/apps.ts
Repointed multiple image asset paths (PNG→SVG or different filenames/locations) for logos, sign-in buttons, and a connected-app logo; no behavior changes.
Component Removal
src/components/layout/sidebar.tsx
Deleted the entire Sidebar component and exported SidebarProps type (removes navigation/account/org rendering and related hooks/imports).
Documentation
AGENTS.md
Updated public asset structure and listed new sign-in and OTP email template files under public/email/.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Poem

🐰 I hopped through assets, swapped a file or two,
I moved the OTP where emails come through,
The sidebar waved as it went on its way,
New icons gleam for the app's display,
Tiny hops, tidy trails — a carrot-cheer for you! 🥕

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: asset cleanup, brand reorganization (sign-in SVGs, hyperboards logo, email template), and favicon update via PWA icons.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch staging

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.

@claude claude 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.

LGTM — all asset path renames are consistent and the deployment preview is green. The stale AGENTS.md entries noted in the inline comment are the only issue.

Extended reasoning...

Overview

This PR touches 55 files but the actual code changes are mechanical: asset files added/removed, and consistent path updates across a handful of component and config files. The substantive changes are: renaming sign-in SVGs to the certified_signin(with)_black convention, moving otp-email-template.html to public/email/, reorganizing partner logos into public/assets/partners/, swapping PNG wordmarks to SVGs in navbar/footer, updating PWA icon paths in manifest.ts, and deleting the unused sidebar.tsx.

Security risks

None. No auth, permissions, crypto, or API logic was modified. The route.ts change is a string path update (/assets/otp-email-template.html/email/otp-email-template.html) with no security implications.

Level of scrutiny

Low. Every source-code change is a direct asset path substitution following the new naming convention, and each can be verified by matching the deleted filename against the added one. The Vercel preview deployed successfully, providing additional confidence.

Other factors

The only bug found is a documentation nit: two entries in AGENTS.md were not updated to reflect the new asset names and locations. This has no runtime impact and is already surfaced as an inline comment. No outstanding reviewer comments exist.

tos_uri: `${origin}/terms`,
policy_uri: `${origin}/privacy`,
email_template_uri: `${origin}/assets/otp-email-template.html`,
email_template_uri: `${origin}/email/otp-email-template.html`,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 AGENTS.md was not updated to reflect the asset reorganization in this PR: line 171 still references sign_in_with_certified*.svg/png (deleted and replaced by certified_signin_black.svg / certified_signinwith_black.svg), and line 173 still lists otp-email-template.html under public/assets/ (moved to public/email/). The runtime code was correctly updated, but the developer/AI-agent file map in AGENTS.md is now stale.

Extended reasoning...

What the bug is and how it manifests

AGENTS.md maintains a file map of the repository's asset structure to help developers and AI agents navigate the codebase. This PR reorganized the brand assets but forgot to update two entries in that map.

The specific stale references

Line 171 of AGENTS.md still reads:

├── sign_in_with_certified*.svg/png # Sign-in button assets

But the PR deleted all sign_in_with_certified_* files and replaced them with certified_signin_black.svg, certified_signin_black.png, certified_signinwith_black.svg, and certified_signinwith_black.png under the new naming convention.

Line 173 of AGENTS.md still reads:

└── otp-email-template.html         # Branded OTP email

listed as a child of public/assets/, but the PR moved this file to public/email/otp-email-template.html.

Why existing code does not prevent it

There is no automated check that keeps AGENTS.md in sync with the actual file tree. It is a manually maintained document, and the PR author correctly updated the runtime reference in src/app/.well-known/oauth-client-metadata/route.ts (changing /assets/otp-email-template.html to /email/otp-email-template.html) but missed the corresponding prose update in AGENTS.md.

Step-by-step proof

  1. Before this PR: public/assets/sign_in_with_certified_black.svg existed → AGENTS.md line 171 was accurate.
  2. This PR deletes those files (see diff: public/assets/sign_in_with_certified_black.svg removed) and adds certified_signin_black.svg / certified_signinwith_black.svg.
  3. After this PR: AGENTS.md line 171 still says sign_in_with_certified*.svg/png — the files no longer exist.
  4. Before this PR: public/assets/otp-email-template.html existed → AGENTS.md line 173 was accurate.
  5. This PR moves it to public/email/otp-email-template.html (confirmed in diff).
  6. After this PR: AGENTS.md line 173 still lists it under public/assets/ — wrong directory.

Impact

No runtime impact — this is documentation-only. However, AGENTS.md is specifically designed to orient AI coding agents, so stale file paths may cause agents to look for assets in the wrong locations or under wrong names.

How to fix

Update AGENTS.md line 171 to reflect the new sign-in asset names (certified_signin_black.svg/png, certified_signinwith_black.svg/png) and move line 173 (otp-email-template.html) to be listed under the public/email/ directory entry instead of public/assets/.

- 180x180 apple-icon.png flattened on theme background (#f9f9f6)
- Enable iOS standalone mode via appleWebApp metadata

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
holkexyz and others added 2 commits April 21, 2026 08:28
# Conflicts:
#	src/components/layout/sidebar.tsx
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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