Skip to content

Persist tags when refetching csv metadata while importing #3938

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

Merged
merged 1 commit into from
Apr 24, 2025

Conversation

iamllama
Copy link
Contributor

@iamllama iamllama commented Apr 23, 2025

Fixes #3937

Tags are now persisted across metadata refetches

NB: refetching rereads the csv file, so if the #tags:... header line is edited across a refetch, the new global tags won't be reflected post-pr. But not only is this unlikely, the import dialog's tag inputs are already (pre-pr) broken in such a way that those changes won't be shown (but will still be applied). After this pr, what's reflected in the tags input will now consistently be what's applied to the imported notes

@dae
Copy link
Member

dae commented Apr 24, 2025

Nice!

@dae dae merged commit b5f1549 into ankitects:main Apr 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tag disappears after typing tag then changing deck/note type in Text Import
2 participants