RumovZ
5062024974
Move update logic into CardInfo.svelte
2021-10-18 09:01:24 +02:00
RumovZ
1d63253b4f
Make window titles more user-friendly
2021-10-18 09:01:23 +02:00
RumovZ
f0d7e6f4d1
Use updating card infos in browser and reviewer
2021-10-18 09:01:23 +02:00
Damien Elmes
812bf76b96
Merge pull request #1399 from abdnh/addon-homepage-manifest-prop
...
Add the homepage property to manifest.json
2021-10-01 21:52:00 +10:00
Abdo
3822568667
Add the homepage property to manifest.json
2021-10-01 14:40:36 +03:00
Damien Elmes
a174c41801
Merge pull request #1397 from RumovZ/column-tooltips
...
Add tooltips for some browser columns
2021-10-01 19:12:59 +10:00
Damien Elmes
c413a0d9f2
"number of cards a note has"
2021-10-01 19:12:49 +10:00
RumovZ
ee2ecd0700
Add tooltips for some browser columns
2021-09-30 13:15:09 +02:00
RumovZ
b89913a2c0
Apply suggestions from code review
...
Capitalise "selected"
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2021-09-22 16:59:05 +02:00
RumovZ
75f210a66c
Enable adding/removing tags from the sidebar ...
...
... to selected notes.
2021-09-21 11:48:43 +02:00
Damien Elmes
b877026248
don't check state of current card when repositioning
...
closes #1365
2021-09-13 14:56:53 +10:00
Damien Elmes
bbd7d057d8
Merge pull request #1358 from evandroforks/lastcardinfo
...
Add option to reveal previous card's info
2021-09-13 12:06:10 +10:00
Damien Elmes
8a0ccee840
tweak sync conflict message
2021-09-08 19:19:23 +10:00
evandrocoan
e295c4ccfb
Fix #1355
2021-09-07 23:53:47 -03:00
Henrik Giesel
eb71c97872
Adjust actual size tooltip
2021-09-06 21:15:36 +10:00
Henrik Giesel
a1df49b11e
Implement Maximum image size mechanism
2021-09-06 21:15:36 +10:00
Henrik Giesel
8a8cd4ee38
Add float tooltips
2021-09-06 21:15:36 +10:00
Damien Elmes
e60fe4a67f
add comment to segoe-ui string
...
https://forums.ankiweb.net/t/font-family-bug/12993/3
2021-09-06 18:29:26 +10:00
Damien Elmes
d8a0df2a62
Merge pull request #1337 from Arthur-Milchior/main
...
Mention .anki can be imported with add-on 175027074
2021-08-24 11:04:33 +10:00
Damien Elmes
1b2d57d956
add note about interday learning cards being fetched preferentially
...
+ priority->order
2021-08-22 15:32:46 +10:00
Damien Elmes
05124eecf7
adding options to sort by ascending/descending ease
2021-08-22 15:32:46 +10:00
Arthur Milchior
cc35a646a6
Mention .anki can be imported with add-on 175027074
2021-08-21 15:25:04 +02:00
Damien Elmes
131c8b72f8
add options to v3 to preserve new card gather order
...
Allows cards to be presented in deck order when gather priority is set
to 'deck'.
2021-08-20 12:03:32 +10:00
Damien Elmes
48c121e4f3
filtered decks w/ scheduling disabled in v3 now log reviews
2021-08-19 20:25:29 +10:00
Damien Elmes
c20716660f
fix inverted 'skip question when replaying answer' option
...
I'd intended to add a new string but overlooked it.
https://forums.ankiweb.net/t/bug-always-include-question-side-when-replaying-audio/12273/2
2021-08-15 16:15:14 +10:00
Henrik Giesel
b6aa59f2c7
Add tooltip for Toggly sticky icon
2021-08-03 06:02:29 +02:00
Henrik Giesel
66faa4ec25
Rename to text color and text color highlight
2021-07-26 05:28:28 +02:00
Damien Elmes
cd9f8d883c
clarify deck description message
...
+ drop the reference to overview screen
2021-07-24 21:45:09 +10:00
Damien Elmes
5e10087aae
handle notes with missing cards in browser
...
https://forums.ankiweb.net/t/2-1-45-release-candidate/11362/30
2021-07-22 14:58:57 +10:00
Damien Elmes
96e6e216a7
Merge pull request #1293 from RumovZ/find-and-replace
...
Find & Replace
2021-07-16 10:47:16 +10:00
RumovZ
eab51dce40
Add sidebar actions
...
- Find & Replace for notetype fields
- Rename with Parents for decks and tags
2021-07-13 16:34:02 +02:00
RumovZ
a5193339e7
Rework Find & Replace dialog:
...
- Add option to affect whole collection
- Allow to open without selection
- Add parameter for presetting field
2021-07-13 16:33:45 +02:00
Damien Elmes
cb548f4783
ascending/descending position
...
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/131
2021-07-13 16:10:29 +10:00
Damien Elmes
f458add147
add note about display order using current deck
2021-07-13 15:58:06 +10:00
Damien Elmes
576b141e2b
add back in missing check for upload size
...
Compression now happens up-front, so we can tell in advance if the
upload size has been exceeded.
2021-06-29 10:50:03 +10:00
Damien Elmes
0b697f5161
expose scheduler js option in deck config
2021-06-24 14:38:10 +10:00
Damien Elmes
114eec6585
allow customization of default search text
...
https://forums.ankiweb.net/t/whats-the-default-search-when-browsing-now-also-how-do-i-choose-to-browse-current-deck/8922
2021-06-24 11:24:30 +10:00
RumovZ
5574cb1cfe
Make missing cloze a warning again
2021-06-15 08:43:00 +02:00
RumovZ
38b8e74f71
Remove desktop-specific 'Cards...' hint
2021-06-15 08:42:43 +02:00
RumovZ
9acc03773a
Check for out-of-place/missing clozes when adding
2021-06-12 10:05:42 +02:00
Damien Elmes
61e86cc29d
new change notetype implementation for the frontend
...
- changes can now be undone
- the same field can now be mapped to multiple target fields, allowing
fields to be cloned
- the old Qt dialog has been removed
- the old col.models.change() API calls the new code, to avoid
breaking existing consumers. It requires the field map to always
be passed in, but that appears to have been the common case.
- closes #1175
2021-06-10 22:19:24 +10:00
Damien Elmes
1f2567e04c
add notetype changing to backend
2021-06-09 20:56:52 +10:00
Damien Elmes
038eef4f07
add Card Info action translation
2021-06-08 14:07:13 +10:00
Damien Elmes
410660990e
add LIFO sorting options for new cards
2021-06-08 14:01:46 +10:00
Damien Elmes
e3ce9d05c7
add Rescheduled to Today section of sidebar
...
https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/105
2021-06-05 12:55:07 +10:00
Damien Elmes
8555a977cb
Merge pull request #1218 from cherryblossom000/help-links
...
fix documentation links
2021-06-04 15:44:16 +10:00
Damien Elmes
cff8069ef9
remove 'flag ' prefix from flag names
2021-06-04 15:03:17 +10:00
cherryblossom
92fe68abfe
fix documentation links
2021-06-03 16:51:03 +10:00
Damien Elmes
eeaa02b833
mention hours and seconds
...
https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/79
2021-06-03 13:52:07 +10:00
RumovZ
f33bd4ca11
search-invalid-flag -> search-invalid-flag-2
2021-06-02 21:49:33 +02:00
Damien Elmes
be9bbf2157
catch all recording errors; mention permission
...
https://forums.ankiweb.net/t/i-have-an-error-when-i-try-to-record-of-audio/10483
2021-06-02 12:20:40 +10:00
Damien Elmes
578b1b0552
Merge pull request #1213 from RumovZ/new-flags
...
Add pink, turquoise and purple flags
2021-06-02 11:22:26 +10:00
Damien Elmes
0f5627bb7a
limit custom study to 100 tags
...
The hard limit from sqlite may be larger, but things slow down as more
tags are selected.
https://forums.ankiweb.net/t/unable-to-create-custom-test/10467
There are a number of things that could be improved here:
- we should show a live count so users are aware of the limit
- we should be filling in the parent tags when they're not explicitly
listed on a card
- we should reconsider disabling the 'tags to include' by default
It may make sense to defer these changes until we can move this screen
into Svelte/handle the processing in the backend.
2021-06-02 11:15:39 +10:00
RumovZ
5e7a47fdc7
Rename violet to pink
2021-06-01 18:14:43 +02:00
Damien Elmes
562787bce1
add options to sort reviews by deck
...
https://forums.ankiweb.net/t/is-studying-subdeck-by-subdeck-broken-in-2-1-44-mac/10458/2
2021-06-01 13:22:39 +10:00
RumovZ
c97c6c6e98
Add violet, turquoise and purple flags
2021-05-31 12:03:30 +02:00
Damien Elmes
93459cc48f
Merge pull request #1200 from RumovZ/template-checks
...
Template checks
2021-05-29 10:28:06 +10:00
Damien Elmes
a02890a84b
make update all toggle clearer
...
https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/59
+ remove background color; it did not look good in dark mode
2021-05-28 18:33:28 +10:00
RumovZ
2e923db6bd
Add checks for parsed templates
...
Combine existing check for unparsable templates with a check for unknown
field names and a check for front sides without any field replacement.
Updating the notetype's fields now mutates the parsed templates, so the
checks can run on the final templates.
2021-05-28 10:07:31 +02:00
RumovZ
f97b1559a2
Escape braces in fluent string
2021-05-27 16:46:33 +02:00
Damien Elmes
d02b4b7eed
tweak wording of full sync message
2021-05-27 22:42:10 +10:00
RumovZ
e247da5ba8
Apply suggestions from code review
...
Tweak wording of template check errors.
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2021-05-27 13:40:33 +02:00
RumovZ
c61587b1de
Use HashMap in identical template check
2021-05-27 12:45:17 +02:00
RumovZ
3dfa1de68b
Check for clozes when saving notetype
...
Error if:
- Cloze notetype lacks a cloze field on either template side.
- Non-cloze notetype has a cloze field on any template.
2021-05-27 12:01:05 +02:00
Damien Elmes
f26c7ed99e
ask user to confirm which deck they want when opening options in reviewer
...
Also fixes https://forums.ankiweb.net/t/anki-2-1-45-alpha/10061/57
2021-05-27 13:15:28 +10:00
Damien Elmes
7c5e974ae5
hook up some missing translations in deck options screen
2021-05-26 14:41:18 +10:00
RumovZ
60131eab23
Check for identical templates before saving
2021-05-25 21:57:49 +02:00
RumovZ
fa19f590e8
Add details to TemplateSaveError
2021-05-25 21:01:03 +02:00
Damien Elmes
f91f00a542
mention new limit bound by reviews in tooltip
2021-05-24 19:04:00 +10:00
Damien Elmes
93ace8b96e
move v3 options into separate section; more description/section tweaks
2021-05-24 18:25:17 +10:00
Damien Elmes
3d4cf26758
expose undoable config changes to frontend; refresh sidebar
...
The browser header handling still needs updating
2021-05-21 17:50:41 +10:00
Damien Elmes
99b7da49a9
report changed cards when changing deck/flag
...
+ fix repeated flag shortcut not toggling
2021-05-21 16:03:05 +10:00
RumovZ
b5c29fb498
Pronounce "[...]" as "blank" with TTS
2021-05-20 09:42:38 +02:00
Damien Elmes
9f3f6bab7d
enable redo support
...
Also:
- fix issues where the Undo action in the Browse screen was not
consistent with the main window. The existing hook signature has been
changed; from a snapshot of the add-on code from a few months ago, it
was not a hook that was being used by anyone.
- change the undo shortcut in the Browse window to match the main
window. It was different because undoing a change in the editing area
could accidentally trigger an undo of an operation, but the damage is
limited now that (most) operations can be redone. If it still proves to
be a problem, perhaps we should just always swallow ctrl+z when an
editing field is focused.
2021-05-19 15:18:39 +10:00
Damien Elmes
6b53c0c175
support markdown in JS tooltips
...
`marked` adds about 44k to the bundle size unfortunately :-(
2021-05-16 21:43:58 +10:00
Damien Elmes
13519a929c
rework various aspects of the test scheduler
...
- Daily limits are no longer inherited - each deck limits its own
cards, and the selected deck enforces a maximum limit.
- Fetching of review cards now uses a single query, and sorts in advance.
In collections with a large number of overdue cards and decks, this is
faster than iterating over each deck in turn.
- Include interday learning count in review count & review limit, and
allow them to be buried.
- Warn when parent review limit is lower than child deck in deck options.
- Cap the new card limit to the review limit.
- Add option to control whether new card fetching short-circuits.
2021-05-16 20:23:07 +10:00
Damien Elmes
dbbcb3e38c
expose new sorting options in test scheduler options; move things around
2021-05-13 15:23:16 +10:00
Damien Elmes
e9e1edc64d
move action names out of undo.ftl into actions.ftl
2021-05-08 17:11:54 +10:00
Damien Elmes
2ff8c20686
update backend to support undoing of notetype changes
2021-04-30 12:54:59 +10:00
Damien Elmes
a639048a6b
i18n deckoptions; move some options into separate 'advanced' section
2021-04-26 23:34:58 +10:00
Damien Elmes
09629e4e4a
add translations for deck option warnings
...
+ cap maximum recommended review limit to 9999, since we don't allow
the user to set it higher
2021-04-25 23:06:35 +10:00
Damien Elmes
f6a1a35113
update translations
2021-04-25 22:06:05 +10:00
RumovZ
458d891d28
Add dec to make methods no-op if no selection
2021-04-25 08:36:22 +02:00
Damien Elmes
047072182b
change file comment to group comment
2021-04-23 08:55:04 +10:00
Henrik Giesel
57357a42a5
Satisfy formatter
2021-04-22 15:24:27 +02:00
Henrik Giesel
4a264cd8b7
Add editing fluent strings without attached keyboard shortcuts
2021-04-22 13:38:37 +02:00
Henrik Giesel
e95e78da9c
Add getPlatformString for making shortcuts to platform string
2021-04-22 13:04:24 +02:00
Damien Elmes
1210858075
use "decrease indent" instead of "outdent"
2021-04-20 21:40:52 +10:00
RumovZ
3cecc7157b
Add sidebar filter "first review today"
2021-04-18 13:27:10 +02:00
Damien Elmes
76eb119870
add schema change prompt to removal, tweak return struct
2021-04-18 17:33:12 +10:00
Henrik Giesel
3eab17ed0f
Add Fluent translations
2021-04-16 16:08:00 +02:00
Damien Elmes
c49d6ce49f
run black/isort on Python scripts
2021-04-14 18:22:02 +10:00
Damien Elmes
948fc5f777
add missing copyright headers to *.py
2021-04-13 18:45:35 +10:00
RumovZ
fadec3dc5b
Merge branch 'master' into backend-columns
2021-04-11 11:18:15 +02:00
Damien Elmes
1ee4385fcf
i18n tts error message
2021-04-08 09:35:19 +10:00
RumovZ
a1277b0919
Tweak new browsing strings
2021-04-06 11:41:18 +02:00
Damien Elmes
2168dfe63d
add routine to set deck collapse state
...
Updating a deck via protobuf is now exposed on the backend, but not
currently on the frontend - I suspect we'll be better off writing
separate routines for the actions we need instead, and we get a better
undo description for free.
This is currently causing an ugly redraw in the browse screen, which
will need fixing.
2021-04-05 11:19:04 +10:00
Damien Elmes
f55fe6e518
i18n error shown when attempting to rebuild normal deck
2021-04-01 22:55:10 +10:00
Damien Elmes
ba541076aa
convert card template error to tuple, and report notetype name in error
...
Older translations will note have the $notetype variable, but that is
not an error in Fluent - it would only cause problems if we tried to
use the new string on older Anki versions.
2021-04-01 17:59:33 +10:00
RumovZ
52b66dc985
Add shortcut and tooltip to switch
2021-03-31 18:53:36 +02:00