Damien Elmes
2a43d42323
run black/isort on Python scripts
2021-04-14 18:22:02 +10:00
Damien Elmes
e35b2f68ac
add an updated script to run mypy as a daemon
...
Sadly doesn't work on Windows
2021-04-14 18:10:38 +10:00
Damien Elmes
ec6a2f7e2a
Merge pull request #1124 from hgiesel/dropjquerypy2
...
Remove jQuery from remaining qt/aqt files
2021-04-14 12:43:11 +10:00
Damien Elmes
4afc197b88
Merge pull request #1123 from hgiesel/reviewerbottomdropjquery
...
Remove jQuery reviewer-bottom.ts and overview.ts
2021-04-14 12:35:39 +10:00
Damien Elmes
73fa01ad0a
Merge pull request #1122 from hgiesel/webviewcss2
...
Prefer SASS over including files
2021-04-14 11:55:19 +10:00
Damien Elmes
5af7604e83
add missing type annotation
2021-04-14 11:28:40 +10:00
Damien Elmes
8277ad6686
Merge pull request #1121 from RumovZ/move-sidebar
...
More for the browser folder
2021-04-14 11:25:15 +10:00
Damien Elmes
7ac4a196e6
add contributor
2021-04-14 11:03:17 +10:00
Henrik Giesel
cc668d10d3
Replace jQuery in webview.py
2021-04-13 21:32:53 +02:00
Henrik Giesel
d2a5d9e246
Satisfy formatter
2021-04-13 20:29:59 +02:00
Henrik Giesel
ba2975409d
Remvoe jQuery from deckbrowser.py
...
It's not quite clear why jQuery was necessary here?
2021-04-13 20:26:06 +02:00
Henrik Giesel
31899c5826
Remove jquery from reviewer.py
...
- we no longer actually need to focus the default ease button
2021-04-13 20:11:18 +02:00
Henrik Giesel
7d39d77b87
Remove jQuery from toolbar.py
2021-04-13 19:59:00 +02:00
Henrik Giesel
10c7d4bf34
Remove jquery from browser.py
2021-04-13 19:54:45 +02:00
Henrik Giesel
56c2af1fd3
Satisfy formatter
2021-04-13 19:47:03 +02:00
Henrik Giesel
19903986f9
Move compile_sass.bzl to /ts + Remove core.css from data/web (unused?)
2021-04-13 19:47:03 +02:00
Henrik Giesel
5bcb2f080f
Declare dependencies in data/web/css
2021-04-13 19:47:03 +02:00
Henrik Giesel
630ee9c6bb
Use graphs-base and congrats-base
2021-04-13 19:47:03 +02:00
Henrik Giesel
8efbcddbb4
Do not include webview.css for editor
2021-04-13 19:47:03 +02:00
Henrik Giesel
b14dc3f7cb
Move card_counts and split off fusion_vars
2021-04-13 19:47:03 +02:00
Henrik Giesel
3eb02f6254
Add option not include default css in stdHtml
2021-04-13 19:47:03 +02:00
Henrik Giesel
8797ab5a20
Purge jQuery from reviewer-bottom
2021-04-13 19:41:04 +02:00
Henrik Giesel
4134041686
Remove overview.ts
2021-04-13 19:38:57 +02:00
Damien Elmes
fe41d780b5
Merge pull request #1119 from hgiesel/reviewerdropjquery
...
Remove last jQuery from reviewer.ts / Remove fadeTime
2021-04-13 23:12:13 +10:00
Henrik Giesel
f2b23ee8bd
Add setInnerHTML as a Replacement for $.html
2021-04-13 13:32:50 +02:00
RumovZ
f62cfc15c2
Move previewer.py into browser folder
2021-04-13 11:38:35 +02:00
RumovZ
38621d0fac
Declare all legacy pathnames in browser init
2021-04-13 11:30:32 +02:00
RumovZ
e37dc6c68c
Move find_and_replace.py into browser/dialogs
2021-04-13 11:21:36 +02:00
RumovZ
12d3084e46
Refactor sidebar.py into browser folder
2021-04-13 11:05:49 +02:00
Damien Elmes
1f475a1709
add missing copyright headers to *.ts
2021-04-13 18:57:08 +10:00
Damien Elmes
926fc2e492
add missing copyright headers to *.py
2021-04-13 18:45:35 +10:00
Henrik Giesel
bf119d2c9a
Remove display:none from mark and flag, and preset hidden attribute instead
2021-04-13 01:00:09 +02:00
Henrik Giesel
8f08bb3d0b
Make imageLoaded adhere to its function signature
2021-04-13 00:42:09 +02:00
Henrik Giesel
dc61a6f547
Remove jQuery from mark and flag in reviewer.ts
2021-04-13 00:37:58 +02:00
Henrik Giesel
99f2ca0b99
Remove jQuery from _updateQA
2021-04-13 00:22:00 +02:00
RumovZ
a1e8746efd
Refactor browser and table into folders
2021-04-12 09:50:44 +02:00
Damien Elmes
19d9492380
handle missing default sort column in notes view
...
Switching to notes mode was throwing:
File "/Users/dae/Work/code/dtop/bazel-copy/runanki.runfiles/net_ankiweb_anki/qt/aqt/browser.py", line 449, in on_table_state_changed
self.table.toggle_state(checked, self._lastSearchTxt)
File "/Users/dae/Work/code/dtop/bazel-copy/runanki.runfiles/net_ankiweb_anki/qt/aqt/table.py", line 206, in toggle_state
self._state = self._model.toggle_state(
File "/Users/dae/Work/code/dtop/bazel-copy/runanki.runfiles/net_ankiweb_anki/qt/aqt/table.py", line 996, in toggle_state
self.search(context)
File "/Users/dae/Work/code/dtop/bazel-copy/runanki.runfiles/net_ankiweb_anki/qt/aqt/table.py", line 1005, in search
context.order = self.columns[self._state.sort_column]
2021-04-12 16:02:51 +10:00
RumovZ
b33e81c215
Save separate browser mode headers
2021-04-11 12:28:11 +02:00
RumovZ
d58af0dd95
Merge branch 'master' into backend-columns
2021-04-11 11:18:15 +02:00
RumovZ
dadeaa75b7
Add browser_did_fetch_columns hook and some doc
2021-04-11 10:27:43 +02:00
RumovZ
a6f5a52fc1
Resolve config sort in table model
2021-04-10 11:33:59 +02:00
RumovZ
dd4f08a90f
Rename column label fields
2021-04-10 09:14:20 +02:00
RumovZ
e28f2320b8
Unify state columns
...
* Remove duplicate backend columns
* Remove duplicate column routines
* Move columns on frontend from state to model
* Generate available columns from Colum enum
* Add second column label for notes mode
2021-04-08 23:48:24 +02:00
RumovZ
0ff193cd5d
Add enum for column sorting
2021-04-08 11:40:24 +02:00
RumovZ
47eeb5da14
Add enum for column alignment
2021-04-08 11:28:29 +02:00
RumovZ
d7e0da3786
Remove Column class and use pb class instead
2021-04-08 11:17:25 +02:00
Damien Elmes
43105d62cf
i18n tts error message
2021-04-08 09:35:19 +10:00
Damien Elmes
2eec071b22
fix '\\' being converted to single backslash
...
Appears the default changed in 3.x
https://github.com/mathjax/MathJax/issues/2532
https://forums.ankiweb.net/t/double-backslashes-in-text-of-notes-are-turned-into-single-backslashes-on-display/9048
2021-04-07 21:50:33 +10:00
RumovZ
b59a7c72a1
Save key for unsupported add-on columns
2021-04-06 23:02:58 +02:00
RumovZ
3c84749973
Use backend column objects on frontend
2021-04-06 19:47:03 +02:00