Damien Elmes
84eea8dbb9
more layout tweaks
...
- reduce maximum width
- de-emphasise revert and info buttons
- reduce grid margin
2021-04-22 18:11:27 +10:00
Damien Elmes
fcf6ad954f
add a workaround for bad save button in rtl mode
...
Bootstrap provides a different set of CSS for RTL languages, but having
to deal with two separate sets of css files depending on the language
would be a PITA.
2021-04-22 17:45:16 +10:00
Damien Elmes
d0ade13654
fix add/rename dialog right-aligning, and RTL issue
2021-04-22 17:31:33 +10:00
Damien Elmes
3b86fbe454
fill width when steps exceed 2; add bottom margin
2021-04-22 17:28:14 +10:00
Damien Elmes
1a8da843c6
allow checkboxes and select entries to take up whole line
2021-04-22 16:47:10 +10:00
Damien Elmes
779bc4953a
switch config to a grid; move info to popups
2021-04-22 15:39:50 +10:00
Damien Elmes
ab5c32abfd
fix select appearance inside webview
2021-04-22 11:41:41 +10:00
Damien Elmes
b175ba9d72
minor layout tweaks to deck conf screen
...
- more space for dropdown
- limit width of main area so popups wrap correctly
- experiment with different colour dropdown
2021-04-22 11:33:27 +10:00
Damien Elmes
a7ef410615
hook new deck config screen up behind an env var
2021-04-22 10:59:16 +10:00
Damien Elmes
17c6bd48e2
Merge pull request #1140 from hgiesel/paragrapho
...
Restructure editor-toolbar and editor + Change Enter behavior within paragraphs + Restrict indent / outdent to <li>
2021-04-22 08:39:28 +10:00
Henrik Giesel
17e8204844
Remove paragraph fluent string
2021-04-21 15:16:02 +02:00
Henrik Giesel
b66699355c
Fix isBlockElement()
2021-04-21 14:40:16 +02:00
Henrik Giesel
099ca563e3
Remove paragraph button
2021-04-21 14:36:24 +02:00
Henrik Giesel
ae801729ec
Prefer exec over matchAll
2021-04-21 14:18:44 +02:00
Henrik Giesel
18efdcac67
Gather editor-toolbar svelte components into filegroup
2021-04-21 13:18:31 +02:00
Henrik Giesel
29fef178d8
Add copyright headers
2021-04-20 15:43:59 +02:00
Henrik Giesel
282d9df02e
Remove last ts-expect-error
2021-04-20 15:41:26 +02:00
Henrik Giesel
6e2f2fc3a6
Move toolbar initialization into toolbar.ts
2021-04-20 15:32:02 +02:00
Henrik Giesel
f11db5579e
Move dynamic component initialization logic from editor to editor-toolbar
2021-04-20 14:23:28 +02:00
Damien Elmes
592e13e967
deckconf -> deckconfig
2021-04-20 21:54:24 +10:00
Henrik Giesel
94eb3af662
Improve behavior of paragraph command and add tooltip
2021-04-20 13:46:01 +02:00
Henrik Giesel
973b7008b7
Make indent outdent only work for list items
...
+ make paragraph show its active state
2021-04-20 13:44:44 +02:00
Henrik Giesel
5e978b28d4
Move button implementations from editor-toolbar to editor
2021-04-20 13:44:44 +02:00
Henrik Giesel
93136030e9
Include editor-toolbar as a library in editor
2021-04-20 13:44:44 +02:00
Henrik Giesel
85ea209d06
Generalize commandIconButton functionality of setting active state
2021-04-20 13:44:44 +02:00
Henrik Giesel
96bd5c7b20
Add paragraph button
2021-04-20 13:44:44 +02:00
Henrik Giesel
3adcad4ca3
Don't use <br>s when inside of paragraph
2021-04-20 13:44:44 +02:00
Henrik Giesel
ece4f75592
Generalize inListItem to getAnchorElement
2021-04-20 13:44:43 +02:00
Henrik Giesel
a3a085249d
Add CSS for making empty paragraph elements visible
2021-04-20 13:44:43 +02:00
Damien Elmes
d54151aef7
update translations
2021-04-20 21:41:10 +10:00
Damien Elmes
9e1b4280c4
use "decrease indent" instead of "outdent"
2021-04-20 21:40:52 +10:00
Damien Elmes
04f0adb847
fix Find Dupes activation
2021-04-20 21:13:21 +10:00
Damien Elmes
f61920e7ed
Merge pull request #1139 from hgiesel/toolbarfixes
...
Fix ButtonDropdown not hiding when closed
2021-04-20 19:54:51 +10:00
Damien Elmes
2fd7e8539d
change detection needs to ignore collection mtime bump
2021-04-20 19:52:47 +10:00
Damien Elmes
293cbfb024
check if deck changed before saving
2021-04-20 19:50:31 +10:00
Damien Elmes
48fc9251bd
implement deck config saving on JS end
2021-04-20 19:50:05 +10:00
Damien Elmes
de5f892807
allow postrequest to send a binary body; fix WithGraphData
...
As far as I can tell, the existing code was transforming the encoded
protobuf data into UTF8, and we're just lucky it wasn't causing problems
with the small message we were sending.
2021-04-20 17:47:52 +10:00
Damien Elmes
c5cecabdd4
include sourcemaps for pages/* in dev builds
2021-04-20 17:33:46 +10:00
Damien Elmes
05f75c6194
implement deck config updating
2021-04-20 14:57:44 +10:00
Henrik Giesel
5550dc8e44
Hide ButtonDropdown when closed
...
Otherwise ul.{svelte-class} in ButtonGroup has higher priority then .show from Bootstrap
2021-04-19 14:47:10 +02:00
Damien Elmes
4eaddde127
remove some imports duplicated by prelude
2021-04-19 18:22:43 +10:00
Damien Elmes
e287ebe988
Merge pull request #1138 from RumovZ/introduced
...
Add search keyword for "first review in x days"
2021-04-19 18:22:15 +10:00
RumovZ
d4d48676ad
Use arg name instead of repeating it in format!()
2021-04-19 08:58:33 +02:00
RumovZ
af1111a91e
Use timestamp adding for writing cutoff
2021-04-19 08:44:13 +02:00
RumovZ
e1e25d2b6a
Add sql condition for speedup in write_introduced
2021-04-19 08:43:32 +02:00
RumovZ
eb9fbb9c0f
Add sidebar filter "first review today"
2021-04-18 13:27:10 +02:00
RumovZ
f514697a90
Add sqlwriter test for introduced
2021-04-18 12:32:02 +02:00
RumovZ
6cfccf63bd
Add cutoff_in_secs_from_days() helper method
2021-04-18 12:25:44 +02:00
RumovZ
27b658fc02
Add search keyword introduced
...
Filters for cards that had their first review within the last x days.
2021-04-18 12:14:18 +02:00
Damien Elmes
363a843d07
tidy up Rust imports
...
rustfmt can do this automatically, but only when run with a nightly
toolchain, so it needs to be manually done for now - see rslib/rusfmt.toml
2021-04-18 18:38:54 +10:00