Group Android sessions by project

Aperta
#198 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

Start in feature/drawer, where ProjectIcon.kt already resolves a project for each session, and trace how the regular Pinned/Recents list is built. Group sessions under collapsible project headers by server project identity, so worktrees of one repo share a section. The issue also asks for a New Session action on each header that opens a draft in that project, and it leaves Catch Up, search and the Inbox Sidebar unchanged. The issue is design-heavy, so confirm the approach with maintainers before writing code.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

When one OpenCode server has sessions from several projects, Android mixes them in the same sidebar list. The project label tells me where a row belongs, but I still have to scan unrelated sessions to find older work for one project. This affects the regular Pinned/Recents drawer and the experimental Inbox Sidebar, which orders sessions by attention rather than project.

Starting related work also takes a separate step: New Session opens a draft, then I may have to switch projects or choose the folder again. On a phone it would be easier to find the project once and start from there.

Proposal
  • Add collapsible project sections to the regular Android drawer. Use the server's project identity so different worktrees of the same repo stay together. Make older sessions reachable within their project, not just the sessions already loaded in Recents.
  • Offer New Session from a project header. Open a draft in that project without requiring a folder picker, and keep the selected working folder visible and changeable before the first send.
  • Keep Catch Up and cross-project search available. This should organize existing sessions, not move them or replace the experimental Inbox Sidebar.
Reference

Current behavior checked against Android v0.8.3 / 53b3e8a. The drawer already resolves a project for each session, so this can use the existing server data.

Desktop/web issue #55446 describes the same navigation problem. Desktop/web PR #57895 is a design reference for collapsible groups; it was not merged and is not an Android implementation.

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anomalyco/opencode-android

Tutte le issue di anomalyco/opencode-android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.