ankidroid / ankidroid/Anki-Android

New Anki Editor migration

未关闭
#21,353 1 条评论 5 个 reaction 已指派 1 人 已被 @criticalAY 认领 在 GitHub 查看
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

Upstream moved the note editor's control from Python to TypeScript and now serves it as a backend web page ([ankitects/anki#4029](https://github.com/ankitects/anki/issues/4029), tracking [ankitects/anki#3830](https://github.com/ankitects/anki/issues/3830)) the same mechanism we already use for deck options, graphs, card-info, etc. This proposes bringing that editor into AnkiDroid behind a developer-options flag, reusing the existing AnkiServer stack.

- The legacy NoteEditorFragment stays the default. Relates to [#10751](https://github.com/ankidroid/Anki-Android/issues/10751) and [#1377](https://github.com/ankidroid/Anki-Android/issues/1377).

## High-level steps (in order)
- Backend bump: In Anki-Android-Backend, move the anki submodule past [#4029](https://github.com/ankitects/anki/issues/4029)
- Consume the new backend in AnkiDroid
- Add the experimental flag and create the editor fragment
- Port the host bridge to Kotlin
- Close the mobile gaps (also see what we need to do differently in AnkiDroid than upstream)
- Testing (Unit test and user testing i.e. since it will be experimental)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。