kiwix/kiwix-desktop

TOC navigations should be recorded in history

开放

#1,248 创建于 2024年11月13日

 (7 条评论) (0 个反应) (1 位负责人)C++ (174 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (1,391 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Currently, the TOC #42 navigations do not go through the Qt system and use Javascript to scroll directly. It would be great to have an in-page history, where the history records those actions but sends them to Javascript for scrolling instead of refreshing the current page to the URL.

Note that if a page is refreshed, all DOM states are also reset, which is not what we want. This is the reason why we cannot use setUr to navigate to TOC entries.

贡献者指南