FEATURE REQUEST: Add an Analyze Repo menu to Sidebar for easier navigation
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
Inizia leggendo src/components/layout/Sidebar.tsx e la route / esistente che esegue il rendering di LandingPage; verifica come sono definiti gli attuali navItems e come viene gestito lo stato del repository. Verifica la navigazione dalla dashboard alla root e che l’accesso a un nuovo repository funzioni senza crash, quindi controlla l’etichetta e la destinazione della sidebar rispetto al risultato previsto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 103
- Fork
- 143
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AOSSIE-Org/Devr.AI
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
AOSSIE-Org/Devr.AI#315 · 1 commento ·
-
Bump Weaviate image to 1.39.13 (Go 1.26.10 / CVE-2026-111943)Forse già presa @dudanogueira l’ha presa 38 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
AOSSIE-Org/Devr.AI#309 · 1 commento ·
-
DOCS UPDATE: Incorrect Flask command path in backend installation guideForse già presa @Ashwin-Pillai-22 l’ha presa 321 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
AOSSIE-Org/Devr.AI#229 · 3 commenti ·
-
BUG:Devr.AI Agent loses user_profile for returning users and fails to persist conversation summaries & cumulative interaction countsForse già presa @shubhumre777 l’ha presa 34 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
AOSSIE-Org/Devr.AI#311 · 2 commenti ·
-
BUG: Local pytest suite fails to collect due to deprecated imports and mock schemasForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
AOSSIE-Org/Devr.AI#307 · 1 commento ·
Tutte le issue di AOSSIE-Org/Devr.AI
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pimutils/vdirsyncer#1242 ·
-
priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
QuantConnect/lean-cli#792 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
open-webui/open-webui#35360 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100