Go to file
RumovZ 6da5e5b042
CSV import/export fixes and features (#1898)
* Fix footer moving upwards

* Fix column detection

Was broken because escaped line breaks were not considered.
Also removes delimiter detection on `#columns:` line. User must use tabs
or set delimiter beforehand.

* Add CSV preview

* Parse `#tags column:`

* Optionally export deck and notetype with CSV

* Avoid clones in CSV export

* Prevent bottom of page appearing under footer (dae)

* Increase padding to 1em (dae)

With 0.5em, when a vertical scrollbar is shown, it sits right next to
the right edge of the content, making it look like there's no right
margin.

* Experimental changes to make table fit+scroll (dae)

- limit individual cells to 15em, and show ellipses when truncated
- limit total table width to body width, so that inner table is shown
with scrollbar
- use class rather than id - ids are bad practice in Svelte components,
as more than one may be displayed on a single page

* Skip importing foreign notes with filtered decks

Were implicitly imported into the default deck before.
Also some refactoring to fetch deck ids and names beforehand.

* Hide spacer below hidden field mapping

* Fix guid being replaced when updating note

* Fix dupe identity check

Canonify tags before checking if dupe is identical, but only add update
tags later if appropriate.

* Fix deck export for notes with missing card 1

* Fix note lines starting with `#`

csv crate doesn't support escaping a leading comment char. :(

* Support import/export of guids

* Strip HTML from preview rows

* Fix initially set deck if current is filtered

* Make isHtml toggle reactive

* Fix `html_to_text_line()` stripping sound names

* Tweak export option labels

* Switch to patched rust-csv fork

Fixes writing lines starting with `#`, so revert 5ece10ad05f331.

* List column options with first column field

* Fix flag for exports with HTML stripped
2022-06-09 10:28:01 +10:00
.buildkite Make build step optional in Linux docker containers 2022-03-09 18:20:13 +10:00
.github/ISSUE_TEMPLATE update bug report template 2021-11-12 12:20:02 +10:00
.vscode Update setting for latest Rust Analyzer 2022-05-21 13:34:19 +10:00
cargo CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
docs Mention eslint --fix in docs 2022-05-10 11:39:15 +10:00
ftl CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
platforms use x86 binaries for clang format/protobuf on Mac 2021-10-16 18:07:39 +10:00
proto CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
pylib CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
python Update waitress for data race fix 2022-06-03 13:02:27 +10:00
qt CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
rslib CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
sass Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
tools Update Mac build to Qt 6.3 2022-04-20 21:33:31 +10:00
ts CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
.bazelignore updates to the build process and binary bundles 2022-02-10 19:23:07 +10:00
.bazelrc Add apkg import/export on backend (#1743) 2022-05-02 21:12:46 +10:00
.bazelversion Bump bazel version 2022-04-20 21:53:59 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore updates to the build process and binary bundles 2022-02-10 19:23:07 +10:00
.prettierignore Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
.prettierrc Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
.user.bazelrc move Bazel convenience symlinks outside of repo folder 2022-01-23 19:18:44 +10:00
BUILD.bazel updates to the build process and binary bundles 2022-02-10 19:23:07 +10:00
Cargo.lock CSV import/export fixes and features (#1898) 2022-06-09 10:28:01 +10:00
Cargo.toml Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
CONTRIBUTORS Update get_linux_dark_mode to use freedesktop.org standard (#1905) 2022-06-07 09:30:42 +10:00
defs.bzl Bump version 2022-05-28 10:40:26 +10:00
late_deps.bzl download wheels using rules_python 2021-10-15 16:02:26 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
package.json Override older protobufjs pulled in via @bazel/typescript 2022-06-03 13:15:48 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
pyrightconfig.json updates to the build process and binary bundles 2022-02-10 19:23:07 +10:00
README.md fix build badge 2021-06-24 09:21:56 +10:00
repos.bzl Update translations 2022-06-01 20:33:28 +10:00
run get PyQt working directly with ./run on macOS 2021-10-16 18:07:29 +10:00
run.bat updates to the build process and binary bundles 2022-02-10 19:23:07 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
WORKSPACE move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
yarn.lock Override older protobufjs pulled in via @bazel/typescript 2022-06-03 13:15:48 +10:00

Anki

Build status

This repo contains the source code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/

For more information on building, please see Development.