Close a project from the All Projects list
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- mobile-dev
Direzione di ricerca
Start in ProjectPickerSheet and ProjectList in feature/session/src/main/kotlin/ai/opencode/feature/session/DraftProjects.kt, then trace where state.filteredProjects is built. Add a device-local hidden-project set that filters both the All Projects list and the recent projects above the message box, persisted across restarts. Done when a swiped project stays hidden after refresh and restart, and the server data is untouched. Open questions on swipe direction, undo and unhiding need maintainer input first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
In the All Projects sheet, I want to swipe a project row away to close it. A closed
project disappears from the lists on this device only. The server keeps the project.
Current behavior
- Tap All Projects above the message box. The project sheet opens.
- The sheet lists every project the server knows. Tapping a row picks that project
for the new session. - There is no way to close a project from this list. Projects I no longer use stay
in the list forever.
Requested behavior
- Swipe a project row away to close it. The row slides out and the rows below it
slide up, the way list rows in the drawer do. - A closed project disappears from the All Projects list.
- A closed project also disappears from the recent projects shown above the message
box. - The device saves the closed state, so the project does not come back after a
refresh, a reconnect, or an app restart. - The server is not changed. Closing a project only hides it on this device.
Open questions
- Swipe direction: left, right, or both, as the drawer does?
- Is there a way to undo a close right after the swipe, for example an Undo button?
- Is there a way to unhide a project later, or is a closed project hidden for good
on that device? - If I choose the same folder again through Choose Folder..., does the project
come back?
Notes for maintainers
- The sheet is
ProjectPickerSheetin
feature/session/src/main/kotlin/ai/opencode/feature/session/DraftProjects.kt.
Its rows are built inProjectList. - The list comes from
state.filteredProjects, which the server sends. The hidden
set on the device must take precedence over that list, or closed projects return
on the next refresh. - The iOS app does not have this feature. This is an Android-first feature, so
docs/parityneeds a new row that says so.
- Lingua principale
- Kotlin
- Stelle
- 146
- Fork
- 35
- Merge medio
- 7h 41m
- PR unite (30g)
- 221
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 anomalyco/opencode-android
-
F-droid releaseAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
anomalyco/opencode-android#345 ·
I maintainer di solito rispondono entro 1 giorno
-
Crash: IllegalStateException in AppContext.getLiveValueForse già presa @Tarquinen l’ha presa 1 giorno fa. Apertacrash crash-triaged
Difficoltà 3/5 Mezza giornata Idoneità per principianti 65/100
anomalyco/opencode-android#343 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
crash crash-needs-human crash-triaged
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
anomalyco/opencode-android#341 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
crash crash-needs-human crash-triaged
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
anomalyco/opencode-android#340 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Crash: OutOfMemoryError in LiveTransportKt$awaitResponse$2$2.onResponseForse già presa @Tarquinen l’ha presa 3 giorni fa. Apertacrash crash-triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
anomalyco/opencode-android#320 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di anomalyco/opencode-android
Issue simili
-
[Request]: KylleneAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
ScoopInstaller/Extras#19589 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
difficulty: beginner documentation help wanted networking
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
feature request needs decision
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
tswistak/Battery-Monitor#207 ·
I maintainer di solito rispondono entro 1 giorno