ActivityWatch / ActivityWatch/activitywatch

Improve import result message interface

Offen
#394 5 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
good first issue improves: ux size: small stale
Vorherrschende Sprache
Python
Sterne
18.9k
Forks
1k
Ø Merge
1 T. 4 Std.
Gemergte PRs (30 T.)
28

Beschreibung

## Feature requests on the [forum](https://forum.activitywatch.net/t/message-internal-server-error-when-i-try-import-buckets/507/4)

**Is your feature request related to a problem? Please describe.**
Upon successful import, a `null` message is displayed, which is very difficult to associate with a successful import. And if import fails, the message `{"message": "Internal Server Error"}` is displayed all the time, which also does not say what the problem is.

**Describe the solution you'd like**
If import is successful, the message `Import completed successfully!` is displayed. And if import fails, a message is displayed that the import could not be completed, and the specific reason why (and also its solution is possible).

**Describe alternatives you've considered**

**Additional context**
The server should give the correct error messages, which can be displayed in the web interface to the user.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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