Close a project from the All Projects list
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 半天
- 新手友好度
- 45/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 領域
- mobile-dev
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Kotlin
- 星號
- 146
- 分支
- 35
- 平均合併
- 7 小時 41 分鐘
- 30 天內合併 PR
- 221
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
anomalyco/opencode-android 的其他 Issue
-
F-droid release未關閉
難度 3/5 1-2 天 新手友好度 55/100
anomalyco/opencode-android#345 ·
維護者通常 1 天內回覆
-
Crash: IllegalStateException in AppContext.getLiveValue可能已有人在做 @Tarquinen 於 1 天前認領。 未關閉crash crash-triaged
難度 3/5 半天 新手友好度 65/100
anomalyco/opencode-android#343 · 1 則留言 ·
維護者通常 1 天內回覆
-
crash crash-needs-human crash-triaged
難度 3/5 1-2 天 新手友好度 58/100
anomalyco/opencode-android#341 · 1 則留言 ·
維護者通常 1 天內回覆
-
crash crash-needs-human crash-triaged
難度 3/5 1-2 天 新手友好度 45/100
anomalyco/opencode-android#340 · 1 則留言 ·
維護者通常 1 天內回覆
-
Crash: OutOfMemoryError in LiveTransportKt$awaitResponse$2$2.onResponse可能已有人在做 @Tarquinen 於 3 天前認領。 未關閉crash crash-triaged
難度 2/5 1-3 小時 新手友好度 35/100
anomalyco/opencode-android#320 · 1 則留言 ·
維護者通常 1 天內回覆
查看 anomalyco/opencode-android 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 77/100
ScoopInstaller/Extras#19589 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 62/100
-
difficulty: beginner documentation help wanted networking
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 1/5 1 小時以內 新手友好度 72/100
維護者通常 1 天內回覆
-
feature request needs decision
難度 2/5 1-3 小時 新手友好度 83/100
tswistak/Battery-Monitor#207 ·
維護者通常 1 天內回覆