ankidroid / ankidroid/Anki-Android

New Anki Editor migration

Ouverte
#21,353 1 commentaire 5 réactions 1 personne assignée Réclamée par @criticalAY Voir sur GitHub
Langage dominant
Kotlin
Étoiles
11.8k
Forks
2.9k
Merge moyen
2 j 3 h
PR mergées (30 j)
171

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.