ActivityWatch/activitywatch

Improve import result message interface

开放

#394 创建于 2020年3月25日

 (5 条评论) (1 个反应) (0 位负责人)Python (442 个派生)batch import
good first issueimproves: uxsize: smallstale

仓库指标

星标
 (9,534 个星标)
PR 合并指标
 (平均合并 1天 18小时) (30 天内合并 6 个 PR)

描述

Feature requests on the forum

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.

贡献者指南