Incorrect hostname in `/api/0/info` breaks "this device" badge in Web UI
I maintainer di solito rispondono entro 2 giorni
Una pull request collegata è già stata integrata.
- #369 di @TimeToBuildBob — integrata
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Kotlin
- Stelle
- 277
- Fork
- 61
- Merge medio
- 4g 22h
- PR unite (30g)
- 57
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ActivityWatch/aw-android
-
Web watcher: add support for Brave (`com.brave.browser` missing from KNOWN_BROWSER_PACKAGES)Forse già presa @NikitaMGrimm l’ha presa 25 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ActivityWatch/aw-android#306 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
AuthSettingsActivity crashes on launch (InflateException: Material attributes under AppCompat theme)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
ActivityWatch/aw-android#210 · 11 commenti · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
Correctness and performance issues in watchers, sync and workersForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
ActivityWatch/aw-android#333 ·
I maintainer di solito rispondono entro 2 giorni
-
CI: emulator jobs (Test E2E, R8 smoke) fail non-deterministically — red run gives no code signalAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
ActivityWatch/aw-android#332 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ActivityWatch/aw-android#302 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di ActivityWatch/aw-android
Issue simili
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
xybrid-ai/xybrid#661 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
android bug kotlin vulkan
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
maplibre/maplibre-native-ffi#852 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
documentation importer size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
enorm-labs/event-junkie#3614 ·
I maintainer di solito rispondono entro 1 giorno
-
[CHORE] Update translationsApertamaintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno