Abdo
5a7832b16d
Rewrite empty check
2025-07-03 07:44:30 +03:00
Abdo
966801fbe7
Fix misaligned sticky badge
2025-07-03 07:25:52 +03:00
Abdo
1f002134fe
Add a basic fieldsAreBlank()
2025-06-30 11:50:26 +03:00
Abdo
a32ef31382
Fix lint errors
2025-06-29 22:03:58 +03:00
Abdo
939d833e12
Merge branch 'main' into editor-3830
2025-06-29 22:01:28 +03:00
Damien Elmes
ad34b76fa9
Do anki_release upload last
2025-06-29 22:30:20 +07:00
Damien Elmes
e0727b1bc8
Bump version
2025-06-29 22:17:01 +07:00
Damien Elmes
18cac8bbe5
Update translations
2025-06-29 22:17:01 +07:00
Damien Elmes
045e571edf
Support hidden local Claude config
2025-06-29 22:16:59 +07:00
Damien Elmes
469fd763c7
Fix taskbar pinning on Windows
...
Closes #4107
2025-06-29 20:53:43 +07:00
Damien Elmes
6eb1db0f5d
Switch to the windows crate
2025-06-29 16:49:20 +07:00
Damien Elmes
349a696f93
Fix transient console pop-ups on Windows
2025-06-29 16:46:45 +07:00
Damien Elmes
66f34da7ef
Fix lint, and ensure Rust checks get re-run on launcher change
2025-06-29 15:54:31 +07:00
Damien Elmes
3d7dc32777
Add a 'revert to previous version' action + more
...
- Show current version
- Ensure uv builds switch to python 3.13
2025-06-29 15:51:15 +07:00
llama
58dfb9cdd3
fix deck options page being scrollable while simulator modal is open ( #4133 )
2025-06-29 14:42:52 +07:00
GithubAnon0000
185fdebb63
Followup to #4122 (make text selectable) ( #4132 )
2025-06-29 14:42:19 +07:00
Luc Mcgrady
0739ea58f8
Add disclaimer to workload tooltip ( #4131 )
2025-06-29 14:41:35 +07:00
Damien Elmes
5c23ac5a86
Revert "Fix/unapplied scss ( #4103 )" ( #4136 )
...
This reverts commit ae6cf98f40
.
2025-06-29 14:40:56 +07:00
Abdo
f94d05bcbe
Switch to Ruff ( #4119 )
...
* Add check:ruff build action
* Add fix:ruff action
* Add Ruff config
Mostly generated by Cursor
* Handle rest of lints
* Fix formatting
* Replace black and isort with ruff-format
* Run ruff-format
* Fix lint errors
* Remove pylint disables
* Remove .pylintrc
* Update docs
* Fix check:format not just checking
* Fix isort rule being ignored
* Sort imports
* Ensure ./ninja format also handles import sorting
* Remove unused isort cfg
* Enable unsafe fixes in fix:ruff, and enable unused var warning
* Re-run on config change; enable unnecessary ARG ignores
* Use all pycodestyle errors, and add some more commented-out ones
Latter logged on https://github.com/ankitects/anki/issues/4135
2025-06-29 14:38:35 +07:00
Damien Elmes
b8963b463e
Fix Windows CI and minor display tweak
2025-06-29 13:54:17 +07:00
Damien Elmes
bdb3c714dc
Put Python install inside uv root as well
2025-06-29 13:42:15 +07:00
Damien Elmes
731e7d5b5c
Add uninstall support to launcher
2025-06-29 13:32:06 +07:00
Damien Elmes
f89ab00236
Update to Rust 1.88
...
We'll need to handle https://github.com/ankitects/anki/issues/4134 before
we get access to let chains.
2025-06-29 11:50:49 +07:00
Damien Elmes
b872852afe
Store uv cache inside AnkiProgramFiles, and allow disabling
2025-06-29 11:50:49 +07:00
Damien Elmes
aa8dfe1cf4
Fix icon/menu entries on macOS after update
...
We need to exec() Python from a GUI context so that the app name and
icon are inherited from our launcher bundle. And we need to munge
sys.argv[0] prior to main window instantiation so that we don't get
app menu entries like "Hide -c". We do that in the launcher instead
of __init__.py so that older versions display correctly too.
2025-06-29 11:50:49 +07:00
Damien Elmes
f5073b402a
Inject Upgrade/Downgrade menu item and audio support into older versions
2025-06-29 11:50:49 +07:00
Abdo
24913d1a64
Fix context menu input field focus handling
2025-06-29 05:26:37 +03:00
Abdo
4e2f7445ba
Fix duplicate triggerPageAction() call
2025-06-29 04:19:30 +03:00
Abdo
230fb3c7ae
Use CamelCase consistently for Protobuf names
2025-06-29 04:18:04 +03:00
Abdo
83e1f150fb
Add a hide_while_preserving_layout() call
...
This should reduce flicker.
2025-06-29 03:21:25 +03:00
Abdo
77466b2a6c
Formatting
2025-06-28 23:06:02 +03:00
Abdo
014247b70f
Merge branch 'main' into editor-3830
2025-06-28 21:49:24 +03:00
GithubAnon0000
a587343f29
FIX: Margin between icon was selectable but shouldn't be ( #4122 )
2025-06-28 21:47:29 +03:00
GithubAnon0000
cfeb71724d
CHANGE right-click in the editor to show option to open folder in linux ( #4125 )
...
* CHANGE right-click in the editor to show option to open folder in linux
* FIX checks
* Use heuristics
* ./ninja format
* Use fallback from main instead of xdg-open
2025-06-28 21:33:17 +03:00
Abdo
70264bd23f
Fix lint errors
2025-06-28 16:56:54 +03:00
Abdo
b8815a0a5b
Update uv.lock
2025-06-28 16:46:59 +03:00
Abdo
dd673851db
Go back to using QClipboard
2025-06-28 16:46:13 +03:00
Abdo
0bdeab974f
Trim leading/trailing whitespace from URL
...
Windows likes to add extra newlines...
2025-06-28 16:42:12 +03:00
Abdo
33fb6bf400
Handle image occlusion drops
2025-06-28 14:51:53 +03:00
Abdo
91bba5f429
Add missing allowedSuffixes arg
2025-06-28 13:46:21 +03:00
Abdo
5bfae11aa9
Merge branch 'main' into editor-3830
2025-06-28 13:22:15 +03:00
Damien Elmes
aae970bed9
Bump version
2025-06-27 21:08:56 +07:00
Damien Elmes
63dcfde005
Update translations
2025-06-27 21:08:56 +07:00
Jarrett Ye
fe5dfe9ec2
Fix/update card.decay in card_state_updater ( #4127 )
2025-06-27 16:50:29 +07:00
David Allison
5f73725a64
Remove newline: 'Restore to default confirmation' ( #4128 )
2025-06-27 16:50:06 +07:00
Luc Mcgrady
ad0dbb563a
Feat/Cmrr target selector ( #4116 )
...
* backend
* Add: Frontend
* us
* Added: Loss aversion
* change proto format
* Added: Loss aversion
* Added: Future retention targets
* update default fail cost multiplier
* Future Retention -> Post Abandon Memorized
* superfluous as const
* Fix: Wrong default
* Fix: Wrong import order
2025-06-27 16:44:19 +07:00
Luc Mcgrady
e505ca032b
Fix/Add check_output_timestamps to PythonEnvironment ( #4113 )
...
* Fix/explicitly set restat
* Revert "Fix/explicitly set restat"
This reverts commit ace2e5ef6a
.
* add check_output_timestamps to python.rs
2025-06-27 16:41:50 +07:00
Abdo
fdce765861
Make PYTHONPYCACHEPREFIX point to an absolute path ( #4111 )
2025-06-27 16:36:27 +07:00
Luc Mcgrady
ae6cf98f40
Fix/unapplied scss ( #4103 )
...
* deck options + change notetype
* graphs
* image occlusion
* congrats
* imports
* ./check
* style
* $lib
* delete unused index.ts files
2025-06-27 16:28:35 +07:00
Damien Elmes
bedab0a54b
Drop psutil from wheel requirements
...
We're not using it ourselves, and usage appears isolated to a couple of
add-ons (notably ankirestart)
2025-06-27 16:10:12 +07:00