Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove sidebar in onboarding #29846

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

joshsny
Copy link
Contributor

@joshsny joshsny commented Mar 12, 2025

Problem

From looking at recordings, users get very distracted during the onboarding flow by the sidebar and all the products there

Changes

  • Remove the sidebar on the products and onboarding flow to make things less complicated
  • Fix dark mode on plain pages
Screenshot 2025-03-12 at 18 21 45

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Ran it locally

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR removes the sidebar during onboarding flows to reduce user distraction, while also fixing dark mode behavior on plain pages and improving layout consistency.

  • Modified frontend/src/scenes/scenes.ts to use layout: 'plain' for Products and Onboarding scenes instead of previous app-raw layout
  • Added height constraint (h-full) in frontend/src/scenes/products/Products.tsx for proper vertical centering
  • Simplified dark mode logic in themeLogic.ts by removing sceneConfig?.layout === 'plain' condition
  • Replaced BridgePage component with direct flexbox styling in Wizard.tsx for cleaner layout
  • Added padding classes in Onboarding.tsx to compensate for sidebar removal while maintaining proper spacing

6 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@joshsny joshsny requested a review from a team March 12, 2025 18:23
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

20 snapshot changes in total. 0 added, 20 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Contributor

github-actions bot commented Mar 12, 2025

Size Change: -44 B (0%)

Total Size: 9.93 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 9.93 MB -44 B (0%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

4 snapshot changes in total. 0 added, 4 modified, 0 deleted:

  • chromium: 0 added, 0 modified, 0 deleted
  • webkit: 0 added, 4 modified, 0 deleted (diff for shard 2)

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

4 snapshot changes in total. 0 added, 4 modified, 0 deleted:

  • chromium: 0 added, 0 modified, 0 deleted
  • webkit: 0 added, 4 modified, 0 deleted (diff for shard 2)

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

4 snapshot changes in total. 0 added, 4 modified, 0 deleted:

  • chromium: 0 added, 0 modified, 0 deleted
  • webkit: 0 added, 4 modified, 0 deleted (diff for shard 2)

Triggered by this commit.

👉 Review this PR's diff of snapshots.

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