Anki/rslib/src
Damien Elmes f758b33346
Default to current deck in csv import if settings allow it (#2527)
* Default to current deck in csv import if settings allow it

Reuses defaults_for_adding(). In the future we might also want to update
the last deck/notetype on successful completion, if entries weren't
specified in the file.

https://forums.ankiweb.net/t/importing-new-notes-to-wrong-deck-in-anki-2-1-63/30598

* Address review feedback from Rumo
2023-05-31 13:47:12 +10:00
..
backend Default to current deck in csv import if settings allow it (#2527) 2023-05-31 13:47:12 +10:00
card Ensure state mutator runs after card is rendered (#2421) 2023-03-16 16:31:00 +10:00
card_rendering Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
collection Add a .with_desktop_media_paths() helper 2023-05-18 11:02:02 +10:00
config Bump Rust version 2023-03-31 14:11:33 +10:00
deckconfig Bump Rust version 2023-03-31 14:11:33 +10:00
decks Expose some collection methods already public in rslib backend (#2510) 2023-05-22 13:44:18 +10:00
error Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
image_occlusion Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
import_export Default to current deck in csv import if settings allow it (#2527) 2023-05-31 13:47:12 +10:00
media Display a more informative message when attempting media op without folder 2023-05-18 10:48:25 +10:00
notes Expose some collection methods already public in rslib backend (#2510) 2023-05-22 13:44:18 +10:00
notetype Various tweaks to I/O code (#2478) 2023-04-19 15:30:18 +10:00
revlog Bump Rust version 2023-03-31 14:11:33 +10:00
scheduler Fix a panic when user sets a huge learning step 2023-05-11 09:10:22 +10:00
search Support prop queries in filtered decks 2023-05-20 10:49:00 +10:00
stats fix stats calendar incorrect due to daylight savings time (#2456) 2023-03-28 15:35:06 +10:00
storage Expose some collection methods already public in rslib backend (#2510) 2023-05-22 13:44:18 +10:00
sync Add a .with_desktop_media_paths() helper 2023-05-18 11:02:02 +10:00
tags Fix invalid ids on db check (#2445) 2023-03-19 10:58:35 +10:00
undo Fix invalid ids on db check (#2445) 2023-03-19 10:58:35 +10:00
adding.rs Default to current deck in csv import if settings allow it (#2527) 2023-05-31 13:47:12 +10:00
browser_table.rs Bump Rust version 2023-03-31 14:11:33 +10:00
cloze.rs Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
dbcheck.rs Fix invalid ids on import (#2449) 2023-03-20 07:04:59 +10:00
findreplace.rs Fix invalid ids on db check (#2445) 2023-03-19 10:58:35 +10:00
i18n.rs drop the legacy enum from rslib, and pass separate module/message idx 2021-03-27 11:56:31 +10:00
io.rs Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
latex.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
lib.rs Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
links.rs Expose backend_proto publicly for AnkiDroid, and rename to pb 2022-06-27 15:27:53 +10:00
log.rs Update Rust deps (#2332) 2023-01-18 22:24:29 +10:00
markdown.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
ops.rs Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
pb.rs Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
preferences.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
prelude.rs Global new ignore review limit (#2417) 2023-03-06 19:06:12 +10:00
serde.rs Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
template.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
template_filters.rs Bump Rust version 2023-03-31 14:11:33 +10:00
tests.rs Add a .with_desktop_media_paths() helper 2023-05-18 11:02:02 +10:00
text.rs percent-encoding -> percent-encoding-iri 2023-05-29 14:46:02 +10:00
timestamp.rs Add time of date to browser date columns 2023-03-26 14:49:49 +10:00
typeanswer.rs Fix excess missed markers in non-Latin text 2023-02-10 15:11:36 +10:00
types.rs update scheduling ops 2021-04-06 16:38:42 +10:00
version.rs Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00