Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有关章节列表分组的新设计 #46

Open
Hentioe opened this issue Mar 21, 2020 · 1 comment
Open

有关章节列表分组的新设计 #46

Hentioe opened this issue Mar 21, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Hentioe
Copy link
Owner

Hentioe commented Mar 21, 2020

  • 新设计的 helper::grouped_items 模块将支持已分组章节列表解析
  • 每一个组间隔 10000(自增的 which 值)。作用在于仅靠 which 就可以判断章节是否位于同一个分组中。假设要将 which 值为 10010 的章节之前的所有同组章节标记为已阅读状态,那么只需要操作 10000 - 10010 之间的章节即可。注:前提是你确实要求仅操作同一组数据。
  • 分组可以全部展平,亦或部分或不展平。无论最终结果如何,都不应该有 which 值的变化。
@Hentioe Hentioe added document documentation Improvements or additions to documentation and removed documents labels Mar 21, 2020
@Hentioe
Copy link
Owner Author

Hentioe commented Mar 21, 2020

在最后一个 fetch_chapters 方法使用 grouped_items 重构前,此 issue 将不会关闭。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant