Skip to content

Draft: Log out when hard logout button is triggered

Nikola Brković requested to merge nikolabr/kazv:servant into servant

Checklist | 检查清单

Before marking this merge request as Ready, the following must be done:

在把这个合并请求标记成就绪之前,这些东西必须完成:

  • The code must compile. Preferably, each commit should compile.

    代码必须能编译。最好每个提交都能编译。

  • Any added UI text must be translated via l10n.get(). The messages must be translated into every core language: en, cmn.

    任何添加的 UI 文字都要用 l10n.get() 翻译。 讯息必须翻译成所有核心语言:en,cmn。

    • The merge request creator must translate each message into one of the core languages. The others can be handled by others.

      开合并请求的人必须把每条讯息翻译成一种核心语言。 别的可以给别人做。

  • If the merge request contains a user-visible change, it must have a changelog.

    如果这个合并请求包括对用户可见的更改,必须写个更改记录。

This MR fixes Issue #14, by dispatching a LogoutAction when the hard logout button is pressed. Currently there is no graphical indication of this however, and the session data isn't deleted, since there is no way to return the path to the currently active session. Also refer to https://lily.kazv.moe/kazv/libkazv/-/merge_requests/14 which enables hard logout in libkazv.

Merge request reports