Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughA conditional logic expression in the WorkspaceListItem component was inverted, changing when the branch subtitle is displayed. The subtitle now shows under a different condition without modifying other component behavior or structure. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
|
Hey @AviPeltz, I believe it was supposed to
|
|
Though because type=branch now never shows menu item name but rather always hidden behind static
@AviPeltz WDYT? |
|
This logic deduplicates if the branch and name is exactly the same (when there's no custom name). I think this PR would regress that behavior |
|
Closing — this is intended behavior. When the workspace name matches the branch name, we intentionally hide the branch subtitle to declutter the sidebar. Showing it redundantly doesn't add useful information. |


Description
Fixes a sidebar regression where branch names were not shown in the subtitle row for some non-local workspaces.
Updated
/Users/alexs/Dev/superset/apps/desktop/src/renderer/screens/main/components/WorkspaceSidebar/WorkspaceListItem/WorkspaceListItem.tsxso:worktree) workspace rows always show the branch subtitlename !== branch)Related Issues
N/A
Type of Change
Testing
cd apps/desktop && SUPERSET_WORKSPACE_NAME=dev SKIP_ENV_VALIDATION=1 bun run devScreenshots (if applicable)
Additional Notes
This branch contains two commits, but the net diff vs
origin/mainis a single-line logic change in the file above.Summary by CodeRabbit
Bug Fixes