Skip to content

app placeholder fix#2154

Merged
ragnep merged 2 commits intomainfrom
minor-fix-logged-out-placeholder
Mar 23, 2026
Merged

app placeholder fix#2154
ragnep merged 2 commits intomainfrom
minor-fix-logged-out-placeholder

Conversation

@ragnep
Copy link
Copy Markdown
Contributor

@ragnep ragnep commented Mar 23, 2026

Summary by CodeRabbit

  • New Features

    • Added a loading skeleton UI for unauthenticated users.
  • Improvements

    • Show wave avatar and name instead of the previous "Members Only" badge.
    • Refined header sizing, spacing, and description typography.
    • Adjusted logged-out rendering in app mode to streamline the preview behavior.

Signed-off-by: ragnep <ragneinfo@gmail.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3bd61871-a423-491e-919d-03d3580db674

📥 Commits

Reviewing files that changed from the base of the PR and between 65532f1 and 38a3cd4.

📒 Files selected for processing (1)
  • components/waves/public/PublicWaveShell.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • components/waves/public/PublicWaveShell.tsx

📝 Walkthrough

Walkthrough

Refactors WavesLayout to render wallet connection immediately in app mode and prevent public shell loading there. Adds a LoggedOutSkeleton component and replaces the old locked preview in PublicWaveShell. PublicWaveShell data shape now includes a nullable picture field.

Changes

Cohort / File(s) Summary
Authentication Flow
components/waves/layout/WavesLayout.tsx
Immediately renders <ConnectWallet /> when isApp is true; updates usePublicWaveShellState enabled condition to require !isApp, avoiding public-shell loading in app mode.
Skeleton & Shell Components
components/waves/public/LoggedOutSkeleton.tsx, components/waves/public/PublicWaveShell.tsx
Adds LoggedOutSkeleton (new file) and replaces the old locked-preview with it; removes "Members Only" badge, renders WavePicture avatar and adjusts layout/typography.
Public Wave Data Model
components/waves/public/usePublicWaveShellState.ts
Extends PublicWaveShellData with `picture: string

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • simo6529
  • prxt6529

Poem

🐰 A hop, a sketch, a skeleton bright,
Wave pictures gleam in morning light,
Wallet waits when app takes stage,
Public shell turns a fresher page,
Hooray — a rabbit cheers the sight! 🥕✨

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 11.11% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'app placeholder fix' is vague and generic, using non-descriptive terms that don't convey meaningful information about the changeset's primary objectives. Consider a more descriptive title that captures the main change, such as 'Replace logged-out preview placeholder with skeleton UI' or 'Update public wave shell for app mode rendering'.
✅ Passed checks (1 passed)
Check name Status Explanation
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch minor-fix-logged-out-placeholder

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.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
components/waves/public/usePublicWaveShellState.ts (1)

29-29: Optional cleanup: remove redundant nullish coalescing.

ApiWave.picture is already string | null, so ?? null is unnecessary noise.

♻️ Proposed simplification
-    picture: wave.picture ?? null,
+    picture: wave.picture,
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@components/waves/public/usePublicWaveShellState.ts` at line 29, In
usePublicWaveShellState, remove the redundant nullish coalescing when assigning
picture: currently using "picture: wave.picture ?? null"; since ApiWave.picture
is already string | null, change this to "picture: wave.picture" to simplify the
code and avoid unnecessary noise.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@components/waves/public/usePublicWaveShellState.ts`:
- Line 29: In usePublicWaveShellState, remove the redundant nullish coalescing
when assigning picture: currently using "picture: wave.picture ?? null"; since
ApiWave.picture is already string | null, change this to "picture: wave.picture"
to simplify the code and avoid unnecessary noise.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: df571aa7-f0ce-4d95-8a3d-9390122462df

📥 Commits

Reviewing files that changed from the base of the PR and between dfefe59 and 65532f1.

📒 Files selected for processing (4)
  • components/waves/layout/WavesLayout.tsx
  • components/waves/public/LoggedOutSkeleton.tsx
  • components/waves/public/PublicWaveShell.tsx
  • components/waves/public/usePublicWaveShellState.ts

Signed-off-by: ragnep <ragneinfo@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

@ragnep ragnep merged commit b30c00e into main Mar 23, 2026
8 checks passed
@ragnep ragnep deleted the minor-fix-logged-out-placeholder branch March 23, 2026 14:39
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