ankitects / ankitects/anki

Changing note type should not require a full sync

Open
#2,142 1 comment 13 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
30.5k
Forks
3.2k
Avg merge
2d 8h
Merged PRs (30d)
72

Description

Changing a note type of a note row should not trigger a full sync. This change is no more complex than any update of the **notes** row. It should only involve an update of **mid** and **flds** columns. Eventually it should come to a delete followed by an insert on the server side.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Trace the note-type update and sync handling for notes rows, focusing on changes to the mid and flds columns. Done means changing a note type avoids a full sync and limits the local update to those columns, with the intended server-side delete-and-insert behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.