Close a project from the All Projects list
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- mobile-dev
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Kotlin
- Star
- 146
- Fork
- 35
- Merge trung bình
- 7 giờ 41 phút
- Pull request đã merge (30 ngày)
- 221
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của anomalyco/opencode-android
-
F-droid releaseĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
anomalyco/opencode-android#345 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Crash: IllegalStateException in AppContext.getLiveValueCó thể đã có người làm @Tarquinen đã nhận 1 ngày trước. Đang mởcrash crash-triaged
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 65/100
anomalyco/opencode-android#343 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
crash crash-needs-human crash-triaged
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
anomalyco/opencode-android#341 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
crash crash-needs-human crash-triaged
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
anomalyco/opencode-android#340 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Crash: OutOfMemoryError in LiveTransportKt$awaitResponse$2$2.onResponseCó thể đã có người làm @Tarquinen đã nhận 3 ngày trước. Đang mởcrash crash-triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
anomalyco/opencode-android#320 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của anomalyco/opencode-android
Issue tương tự
-
feature request needs decision
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
tswistak/Battery-Monitor#207 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
IzzyOnDroid inclusionĐang mởF-Droid FOSS question
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
d4rken-org/butler#365 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
panel-assistant/android#224 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày