Glutanimate
|
e13fee5aa3
|
Refactor center link creation and link handler registration
Uses a CenterLink dataclass to describe individual links, and transforms
them into HTML using create_link, which may also be used by add-ons.
|
2020-02-20 16:15:50 +01:00 |
|
Glutanimate
|
33f7d7ed50
|
Merge branch 'master' into top_toolbar_links_hook
|
2020-02-20 15:17:48 +01:00 |
|
Damien Elmes
|
de27cf2a63
|
if toolbar refreshed, make sure not to clear syncing
|
2020-02-17 08:40:16 +10:00 |
|
Damien Elmes
|
cb0ce4146f
|
show spinner when media sync active, click to reveal dialog
|
2020-02-17 08:40:16 +10:00 |
|
Glutanimate
|
621e634bb2
|
Add a convenience function for creating toolbar links
Similar to aqt.editor.Editor.addButton
|
2020-02-15 23:22:41 +01:00 |
|
Glutanimate
|
18ae9e612e
|
Add top_toolbar_did_init_links hook
Allows extending the links in the top toolbar, in a similar
fashion to editor_did_init_shortcuts
|
2020-02-15 23:21:23 +01:00 |
|
Glutanimate
|
0e5dea4c9f
|
Assume that web assets without a specified subpath are under /_anki
Maintains compatibility with existing add-ons
|
2020-02-15 15:03:43 +01:00 |
|
Glutanimate
|
c839cda19f
|
Fix missing "Optional" import and lint
|
2020-02-12 22:15:44 +01:00 |
|
Glutanimate
|
bbd667b0ff
|
Add webview_will_set_content hook & update supporting code accordingly
|
2020-02-12 22:00:13 +01:00 |
|
Damien Elmes
|
7fcb6b5672
|
pass instance to webview_did_receive_js_message instead of string
|
2020-02-09 08:59:29 +10:00 |
|
Damien Elmes
|
d54f719558
|
add a webview_did_receive_js_message hook
|
2020-01-22 11:06:12 +10:00 |
|
Damien Elmes
|
5876866565
|
tweaking the folder names again
hopefully that's the last of it
|
2020-01-03 07:48:38 +10:00 |
|