FEATURE REQUEST: Add an Analyze Repo menu to Sidebar for easier navigation
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- react, typescript
- Área
- frontend
Línea de trabajo
Empieza leyendo src/components/layout/Sidebar.tsx y la ruta / existente que renderiza LandingPage; confirma cómo están definidos los navItems actuales y cómo se gestiona el estado del repositorio. Verifica la navegación del dashboard a la raíz y que entrar en un repositorio nuevo funcione sin producir un error, y después comprueba la etiqueta y el destino de la barra lateral con respecto al resultado esperado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem?
- Yes, it is related to a problem
Describe the feature you'd like
🌟 Feature Description
I would like to add a "Analyze New Repo" (or "New Analysis") button to the application's sidebar menu.
Currently, the application flow starts at the LandingPage (at /), where users input a repository URL. However, once the analysis is complete and the user navigates to the Dashboard, there is no UI element to return to the LandingPage to analyze a different repository.
🔍 Problem Statement
When a user opens the website (e.g., localhost:5173), they land on the analysis input page. After successfully fetching data, the user is redirected to the /dashboard.
At this point, the Sidebar displays navigation options like Dashboard, Bot Integration, and Contributors, but it lacks an option to start over.
Users are currently "locked" into the current repository's view unless they manually modify the browser URL or refresh the application to return to the root (/) path.
🎯 Expected Outcome
- Sidebar Update: A new navigation item labeled "Analyze New Repo" (or similar) should appear in the
Sidebarcomponent. - Navigation: Clicking this button should redirect the user back to the root route (
/), which renders theLandingPage. - State Management: The app should handle the transition cleanly, allowing the user to input a new URL and overwrite the existing
repoData.
📷 Screenshots and Design Ideas
Current Sidebar (Missing Option to go back to Landing Page to analyze a repo)
Proposed Solution
We can add a new item to the navItems array in Sidebar.tsx. I suggest using a "Plus" or "Search" icon from the existing lucide-react library.
Mockup of the code change:
// In src/components/layout/Sidebar.tsx
const navItems = [
// New Item Added Here
{ icon: <Search size={20} />, label: 'Analyze New Repo', path: '/' },
// Existing Items
{ icon: <LayoutDashboard size={20} />, label: 'Dashboard', path: '/dashboard' },
{ icon: <Bot size={20} />, label: 'Bot Integration', path: '/integration' },
// ... others
];
📋 Additional Context
Component to Modify
- File:
src/components/layout/Sidebar.tsx
Route Handling
- The
/route is already protected and renders<LandingPage />insideProtectedLayout. - No routing changes are needed in
App.tsx.
State Handling
- We must ensure that navigating back to
/does not crash the app ifrepoDatais already present. - The current
LandingPagelogic appears designed to handle new inputs regardless of previous state, but this should be verified during implementation.
Record
- I agree to follow this project's Code of Conduct
- I want to work on implementing this feature
- Lenguaje dominante
- Python
- Estrellas
- 103
- Forks
- 143
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AOSSIE-Org/Devr.AI
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
AOSSIE-Org/Devr.AI#315 · 1 comentario ·
-
Bump Weaviate image to 1.39.13 (Go 1.26.10 / CVE-2026-111943)Posiblemente ocupada @dudanogueira la tomó hace 38 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
AOSSIE-Org/Devr.AI#309 · 1 comentario ·
-
DOCS UPDATE: Incorrect Flask command path in backend installation guidePosiblemente ocupada @Ashwin-Pillai-22 la tomó hace 321 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
AOSSIE-Org/Devr.AI#229 · 3 comentarios ·
-
BUG:Devr.AI Agent loses user_profile for returning users and fails to persist conversation summaries & cumulative interaction countsPosiblemente ocupada @shubhumre777 la tomó hace 34 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
AOSSIE-Org/Devr.AI#311 · 2 comentarios ·
-
BUG: Local pytest suite fails to collect due to deprecated imports and mock schemasQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
AOSSIE-Org/Devr.AI#307 · 1 comentario ·
Todos los issues de AOSSIE-Org/Devr.AI
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pimutils/vdirsyncer#1242 ·
-
priority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
QuantConnect/lean-cli#792 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
open-webui/open-webui#35360 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100