Redesign the home screen widgets

Ouverte
#287 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
15/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
android, kotlin
Domaine
mobile-dev

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Kotlin
Étoiles
146
Forks
35
Merge moyen
7 h 41 min
PR mergées (30 j)
221

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de anomalyco/opencode-android

Toutes les issues de anomalyco/opencode-android

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.