-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Feature request: Export sort method by card and note creation time #108
Comments
This should be straightforward — just adding: NoteSortingMethods.NOTE_ID: lambda i: i.anki_object.id, in and NOTE_ID = "note_id" in FWIW it seems that Anki's internal note sort order is by id (currently — AFAIK you shouldn't rely on any sort order, if it's not explicitly specified in the SQL query), even if you manually change the id of a note, so However, given that currently It would work exactly as desired, provided that only one collaborator was working on the deck (or provided that only the initial collaborator was always responsible for creating new notes and exporting the deck for "end users") — they'd edit their note ids and export the notes in the needed order. However, once more than one person contributes and tries to change the order, this would start breaking down. For example:
I'm not familiar/comfortable enough with Obviously, as you described and as explored above, sorting by note id might still have some valuable even without exporting the actual note ids, so it might be worth implementing anyway. |
This is certainly problematic especially when a logical next step is: I think I have a semi-solution (feel free to critique): Any time a deck collaborator alters a creation time to change the order, they notify the other collaborators. The other collaborators would then delete their notes for that shared deck and do a full import of the new json. This has the unfortunate side effect of deleting the scheduling info for cards of collaborators. If the learning material is important enough for these people to collaborate on a deck, I'm willing to bet they would not enjoy regularly deleting any progress they make in their reviews. Therefor these collaborators should utilize a separate Anki profile so that they have a stable profile for reviews and a "dev" profile for collaborating on CrowdAnki decks. |
Yeah, that would work. I think that the drawbacks you listed are sufficiently inconvenient that I personally would strongly prefer using an index/sort field, but I can see that some would still rather use the note id sort. |
Spinning off #107, I think it'd be useful to have an option to export by card and note creation time. There's an add-on that can change the card creation time. Together with a CrowdAnki export sort method via creation time, the two add-ons could work well together for deck collaborators that need to change the order that cards appear in for new users.
The Change Creation Time add-on is a port of this add-on for 2.0 which notes in its 'Caveats' section:
So maybe only sorting by notes.id from the database structure would be needed.
The text was updated successfully, but these errors were encountered: