Redesign the home screen widgets

Offen
#287 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
15/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
android, kotlin
Bereich
mobile-dev

Rechercherichtung

This is a design issue: the screens are mockups and nothing is built yet, and the Sessions, Session and Needs You widgets depend on #185, #186 and #188 for a live background connection. The Ask widget can be built now and is the most self-contained slice, but the widget data store needs status, current step and times added first. Done means the widgets render their mockup states and show when data is stale, with a refresh option.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

The current widgets (Start Call, Open Session, New Session) are single shortcut buttons. Replace them with widgets that look like the desktop app and show something useful at a glance. These are mockups, in light and dark; nothing is built yet.

Sessions

Your sessions, with the ones that need you first, then working, then done. Tapping a row opens it.

Sessions widget at 4×3, 4×2 and 2×2

Needs You

One pending permission or question, answered from the home screen.

Needs You widget: permission, question, nothing waiting, and 2×2

Ask

The desktop composer on the home screen. Tapping it opens a small composer over the home screen, since a widget can't take typing.

Ask widget at 4×2, 4×1 and 2×1

Session

Follows one session you pick: the live step and plan progress while it works, then the reply.

Session widget: working, done, and 2×2

States

Not paired, offline and loading.

Not paired, offline and loading states

On the home screen

Two example home screens

Notes
  • Ask can be built now. Sessions, Session and Needs You need a live connection in the background, so they depend on #185, #186 and #188.
  • Those PRs only hold the connection while a run you saw start is running. A run started elsewhere while the app is closed won't reach the widgets until there's push, so the widgets need to show when their data is old and offer a refresh.
  • Needs You should offer only Deny and Allow Once, as #188 does. The mockup still shows Always Allow.
  • Glance can't use custom fonts, so the widgets use the system font, not Inter and OpenMono.
  • The widget data store only has a session's title and project today. It needs status, the current step and times.
Vorherrschende Sprache
Kotlin
Sterne
146
Forks
35
Ø Merge
7 Std. 41 Min.
Gemergte PRs (30 T.)
221

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus anomalyco/opencode-android

Alle Issues in anomalyco/opencode-android

Ähnliche Issues

Weitere Issues zu Kotlin

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.