Skip to content

refactor(frontend): streamline breadcrumbs and top-level hierarchy views to 'Overview'#594

Merged
dembrane-sam-bot merged 2 commits into
mainfrom
sam/breadcrumb-consistency-overview
May 27, 2026
Merged

refactor(frontend): streamline breadcrumbs and top-level hierarchy views to 'Overview'#594
dembrane-sam-bot merged 2 commits into
mainfrom
sam/breadcrumb-consistency-overview

Conversation

@dembrane-sam-bot
Copy link
Copy Markdown
Contributor

@dembrane-sam-bot dembrane-sam-bot commented May 27, 2026

What this changes

  • user always sees breadcrumbs on every authenticated page (was: hidden for fewer than 2 crumbs) — AppBreadcrumbs.tsx
  • top-level page for Organisation, Workspace, and Project is called "Overview" in both the breadcrumbs and the sidebar (was: "Home" or workspace name) — OrgHomeView.tsx, WorkspaceHomeView.tsx, ProjectHomeView.tsx, AppBreadcrumbs.tsx
  • sidebar icons for top-level Organisation, Workspace, and Project views updated to AppWindow (was: House) — OrgHomeView.tsx, WorkspaceHomeView.tsx, ProjectHomeView.tsx
  • removed unnecessary language chit/badge from Project Settings / Portal Editor layout — ProjectOverviewLayout.tsx

Confidence
Confidence: high. Pure frontend UI & routing logic changes, highly focused on aligning breadcrumb and sidebar presentation. No functional APIs, DB queries, or schema changes are touched.

Summary by CodeRabbit

  • Bug Fixes

    • Fixed breadcrumb visibility for home, inbox, help, and workspace views
    • Breadcrumbs now display correctly with single navigation items
  • UI/UX Updates

    • Renamed "Home" labels to "Overview" throughout sidebar navigation
    • Updated sidebar navigation icons for visual consistency
    • Removed language badge from project overview header

Review Change Stack

@github-actions
Copy link
Copy Markdown

Hi @dembrane-sam-bot!

Thank you for contributing to Dembrane ECHO! Before we consider your Pull Request, we ask that you sign our Contributor License Agreement (CLA). This is only required for your first Pull Request.

Please review the CLA, and sign it by adding your GitHub username to the contributors.yml file. Thanks!

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 27, 2026

Warning

Review limit reached

@dembrane-sam-bot, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 2 minutes and 52 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, 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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 6c4c5d03-e8fe-4455-b653-5c4d3b16b4dd

📥 Commits

Reviewing files that changed from the base of the PR and between e9523ad and 2b08654.

📒 Files selected for processing (1)
  • echo/frontend/src/features/sidebar/breadcrumbs/AppBreadcrumbs.tsx

Walkthrough

PR consolidates navigation labeling and breadcrumb visibility across the app. Breadcrumb logic now returns trails for user-home and workspace-home views, handles single-crumb rendering, and provides context-aware labels. Sidebar components uniformly rename "Home" to "Overview" and swap icon from House to AppWindow. Project overview header simplifies to private-only conditional rendering.

Changes

Overview label and breadcrumb unification

Layer / File(s) Summary
Breadcrumb generation and display rules
echo/frontend/src/features/sidebar/breadcrumbs/AppBreadcrumbs.tsx
Project section home label mapped to "Overview". User-home and workspace-home views return pre-seeded breadcrumb trails instead of empty lists. Workspace-home appends workspace crumb with "Overview" or "New project" label based on pathname. Single-crumb breadcrumbs now render (visibility condition changed from < 2 to === 0).
Sidebar navigation and project header updates
echo/frontend/src/features/sidebar/views/org/OrgHomeView.tsx, echo/frontend/src/features/sidebar/views/project/ProjectHomeView.tsx, echo/frontend/src/features/sidebar/views/workspace/WorkspaceHomeView.tsx, echo/frontend/src/components/layout/ProjectOverviewLayout.tsx
All sidebar home navigation items renamed from "Home" to "Overview"; House icon replaced with AppWindow across organization, project, and workspace views. ProjectOverviewLayout header group conditional simplified to render only when project && isPrivate, removing previous language badge rendering.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Dembrane/echo#585: Sidebar navigation work establishing the navigation component structure that these label/icon updates extend.

Suggested labels

improvement

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main changes: renaming top-level pages to 'Overview' and updating breadcrumb/sidebar hierarchy views, which aligns with the core objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 sam/breadcrumb-consistency-overview

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
Contributor

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
echo/frontend/src/features/sidebar/breadcrumbs/AppBreadcrumbs.tsx (1)

65-66: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Stale behavior comment should be updated.

Line 65 says breadcrumbs render only for 2+ crumbs, but Line 214 now renders whenever there is at least 1 crumb. Please align the comment with current behavior to avoid future regressions.

Also applies to: 214-214

🤖 Prompt for 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.

In `@echo/frontend/src/features/sidebar/breadcrumbs/AppBreadcrumbs.tsx` around
lines 65 - 66, Update the stale comment in the AppBreadcrumbs component: change
the “Brand: 'Breadcrumbs for deep nesting only'. Render only when there are 2+
meaningful crumbs to show.” remark to reflect the current behavior (breadcrumbs
render when there is at least 1 meaningful crumb). Locate the comment inside the
AppBreadcrumbs.tsx file near the top of the component (the existing “Brand: ...”
comment) and revise it to accurately describe the one-or-more crumb rendering
condition used by the render logic.
🤖 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 `@echo/frontend/src/features/sidebar/breadcrumbs/AppBreadcrumbs.tsx`:
- Around line 147-154: The breadcrumb logic in AppBreadcrumbs.tsx incorrectly
short-circuits on (section === "home" || !section), preventing the /projects/new
branch from ever running; update the branching order so the pathname check runs
first: check if window.location.pathname.endsWith("/projects/new") and push({
label: "New project" }) before the (section === "home" || !section) fallback
that pushes({ label: "Overview" }); keep references to the same variables
(section, window.location.pathname) and the same push calls (out.push) when
implementing the reordering.

---

Outside diff comments:
In `@echo/frontend/src/features/sidebar/breadcrumbs/AppBreadcrumbs.tsx`:
- Around line 65-66: Update the stale comment in the AppBreadcrumbs component:
change the “Brand: 'Breadcrumbs for deep nesting only'. Render only when there
are 2+ meaningful crumbs to show.” remark to reflect the current behavior
(breadcrumbs render when there is at least 1 meaningful crumb). Locate the
comment inside the AppBreadcrumbs.tsx file near the top of the component (the
existing “Brand: ...” comment) and revise it to accurately describe the
one-or-more crumb rendering condition used by the render logic.
🪄 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: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3b7814bd-92a3-4bed-998f-0fa54722eaf8

📥 Commits

Reviewing files that changed from the base of the PR and between 2bdd1e6 and e9523ad.

📒 Files selected for processing (5)
  • echo/frontend/src/components/layout/ProjectOverviewLayout.tsx
  • echo/frontend/src/features/sidebar/breadcrumbs/AppBreadcrumbs.tsx
  • echo/frontend/src/features/sidebar/views/org/OrgHomeView.tsx
  • echo/frontend/src/features/sidebar/views/project/ProjectHomeView.tsx
  • echo/frontend/src/features/sidebar/views/workspace/WorkspaceHomeView.tsx

Comment thread echo/frontend/src/features/sidebar/breadcrumbs/AppBreadcrumbs.tsx Outdated
… in breadcrumbs

- Updates comment in AppBreadcrumbs to reflect current breadcrumb rendering behavior (1+ crumb)
- Reorders workspace-home breadcrumb checks so pathname check runs first, preventing wrong short-circuit
- Fixes useCollapsedElseIf biome lint warning by using flat else-if formatting

Refs: #594
@dembrane-sam-bot dembrane-sam-bot added this pull request to the merge queue May 27, 2026
Merged via the queue into main with commit b12baf5 May 27, 2026
11 checks passed
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.

2 participants