You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Redundant 'Back' navigation link breaking page layout #199
On the 5th-level pages (ex 'Create RFE Workspace' and 'agentic-session...') page as well as any give RFE Workspace page, there is a 'Back ' link in the top center of the view. It is redundant with the breadcrumb control, sidebar nav control, and native browser back button. In some cases it shifts the page heading to the center of the view creating an inconsistency with other views that makes the view hard to scan and feel very WIP.
🔄 Steps to Reproduce
Navigate to the 'Create RFE Workspace' view or the page for any RFE Workspace that is already created. Observe how the heading is pushed toward the center of the page.
Action: Remove the back button, keep only the heading
Lines to modify: 167-178
New layout:
<divclassName="mb-8"><h1className="text-3xl font-bold">Create RFE Workspace</h1><pclassName="text-muted-foreground">Set up a new Request for Enhancement workflow with AI agents</p></div>
Layout: Adjust heading layout to be consistent with other pages
Testing Checklist
After implementation:
Verify RFE workspace detail page: heading is left-aligned, no layout shift
Verify Create RFE Workspace page: heading is left-aligned, consistent with other pages
Verify session detail page: layout is consistent
Verify create session page: layout is consistent
Confirm breadcrumbs are functioning correctly on all affected pages
Verify sidebar navigation still works
Test responsive layout on mobile/tablet viewports
Run frontend build: npm run build (should pass with 0 errors, 0 warnings)
Design Rationale
Breadcrumbs provide sufficient hierarchical navigation
Sidebar navigation provides quick access to project sections
Removing redundant back buttons creates a cleaner, more consistent UI
Left-aligned headings improve scannability and match the rest of the application
Additional Context
This issue is categorized as:
Priority: Medium (affects UX consistency but not functionality)
Complexity: Easy (simple component layout changes, no logic changes)
Component: Frontend (Next.js/React)
The fix is straightforward: remove the back link components and adjust the flex container layouts to left-align headings. No breaking changes to functionality - users still have breadcrumbs and sidebar for navigation.
Activity
bobbravo2 commentedon Oct 30, 2025
@claude triage and come up with a root-cause-analysis for this bug. Come up with a fix plan to hand off to another agent.
claude commentedon Oct 30, 2025
Claude finished @bobbravo2's task —— View job
Root Cause Analysis: Redundant 'Back' Navigation Link
Task List
Visual Analysis
From the screenshot, I can see:
Root Cause
The redundant "Back" links are causing layout issues on 5th-level pages. The problem stems from three navigation mechanisms coexisting:
Affected Files and Lines
RFE Workspace Pages:
components/frontend/src/app/projects/[name]/rfe/[id]/rfe-header.tsx:19-24/projects/[name]/rfe/[id]/page.tsx:252-257components/frontend/src/app/projects/[name]/rfe/new/page.tsx:167-178Agentic Session Pages (also affected):
3.
components/frontend/src/app/projects/[name]/sessions/[sessionName]/page.tsx:552, 580backLabelquery param)components/frontend/src/app/projects/[name]/sessions/new/page.tsx:207Why Layout Breaks
The layout issue occurs because the back button and heading are placed in a horizontal flex container (
flex items-center gap-4). This causes:Example from
rfe-header.tsx:17-29:Fix Plan for Implementation
Scope
Remove redundant "Back" navigation links from:
Implementation Steps
Step 1: RFE Workspace Detail Page
components/frontend/src/app/projects/[name]/rfe/[id]/rfe-header.tsxStep 2: Create RFE Workspace Page
components/frontend/src/app/projects/[name]/rfe/new/page.tsxStep 3: Session Detail Page
components/frontend/src/app/projects/[name]/sessions/[sessionName]/page.tsxbackHrefandbackLabelstate variables are still needed after removalStep 4: Create New Session Page
components/frontend/src/app/projects/[name]/sessions/new/page.tsxTesting Checklist
After implementation:
npm run build(should pass with 0 errors, 0 warnings)Design Rationale
Additional Context
This issue is categorized as:
The fix is straightforward: remove the back link components and adjust the flex container layouts to left-align headings. No breaking changes to functionality - users still have breadcrumbs and sidebar for navigation.
Fixes Issue #199: Remove redundant back buttons from RFE and session …