Incorrect hostname in `/api/0/info` breaks "this device" badge in Web UI
Los mantenedores suelen responder en 2 días
Ya se ha fusionado un pull request relacionado.
- #369 de @TimeToBuildBob — fusionado
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by reading the /api/0/info handler and the device hostname lookup used elsewhere in the Android application; then trace how the Web UI decides which device gets the “this device” badge. Done means the endpoint reports the real device hostname and the badge identifies that device in a multi-device setup. Pull request #369 is already open, so check its changes and status first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
There are a couple of related issues regarding how the Android device hostname is handled, which affects device identification in multi-device setups.
Current Behavior
- When querying the
/api/0/infoendpoint, the hostname is returned aslocalhostinstead of the actual device name. The rest of the application already uses the device hostname correctly. - On the
/#/buckets(Raw Data) page in the Web UI, the "this device" badge only appears for a device namedlocalhost. It fails to highlight the actual device currently being used.
Screenshot
Expected Behavior
- The
/api/0/infoendpoint should return the device hostname (the same one used elsewhere in the application). - The Web UI should correctly identify the current device and display the "this device" badge based on the real device name.
- Lenguaje dominante
- Kotlin
- Estrellas
- 279
- Forks
- 63
- Merge medio
- 4 d 15 h
- PR fusionados (30 d)
- 53
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ActivityWatch/aw-android
-
Web watcher: add support for Brave (`com.brave.browser` missing from KNOWN_BROWSER_PACKAGES)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ActivityWatch/aw-android#306 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
AuthSettingsActivity crashes on launch (InflateException: Material attributes under AppCompat theme)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
ActivityWatch/aw-android#210 · 11 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 54/100
ActivityWatch/aw-android#378 ·
Los mantenedores suelen responder en 2 días
-
Correctness and performance issues in watchers, sync and workersPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
ActivityWatch/aw-android#333 ·
Los mantenedores suelen responder en 2 días
-
CI: emulator jobs (Test E2E, R8 smoke) fail non-deterministically — red run gives no code signalAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
ActivityWatch/aw-android#332 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de ActivityWatch/aw-android
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
software-mansion/enriched-markdown#1084 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
lysine-dev/okhttp#9814 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getdictus/dictus-android#187 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
bryangerlach/rdgen#319 ·