Adomas Venčkauskas
20e2f33064
HTML Tree: Optimize tree invalidation
2021-08-26 14:40:59 +03:00
Adomas Venčkauskas
bffa64bdda
HTML Tree: Re-add item tree methods lost in transition
2021-08-26 10:14:35 +03:00
Adomas Venčkauskas
b91664435f
HTML Tree: Fix Show Items from Subcollections. Closes #2160
2021-08-26 09:33:47 +03:00
Martynas Bagdonas
89d1899690
Add UI feedback when moving tab
...
Fixes #1988
2021-08-26 08:23:19 +03:00
Martynas Bagdonas
d55b80df80
Show author and year in PDF reader tab/window title
...
Fixes #2034
2021-08-26 08:23:19 +03:00
Martynas Bagdonas
ecd6d7ce2c
Implement tab jumpback
...
#1985
2021-08-26 08:23:19 +03:00
Martynas Bagdonas
b6d562b0cb
Allow middle button click to close a tab
...
Fixes #1993
2021-08-26 08:23:19 +03:00
Adomas Venčkauskas
da7527e384
Fix intro message not getting cleared when adding new item. Closes #2158
2021-08-25 18:19:30 +03:00
Dan Stillman
13f2c57196
Fix sizes of items pane messages
...
7ef7943a17
made "Loading items…" small again after it got big during
HTMLification but made everything else (e.g., welcome message, My
Publications intro) small as well. This adds an ugly hack to keep the
loading message small for now (without passing dedicated HTML from a
bunch of different places).
2021-08-25 03:50:12 -04:00
Dan Stillman
0bbe064245
Don't toggle libraries-to-sync row on Enter
...
Otherwise if you close the dialog with Enter the current row (which is
probably the row you just changed) is toggled
Regression from HTMLification
2021-08-25 02:27:45 -04:00
Dan Stillman
4d88e99e9e
Increase icon column width in libraries-to-sync dialog
...
A bit wider than d4e3a437f
, since the column header seems to not
currently be centered properly at narrow widths
2021-08-25 02:18:08 -04:00
Dan Stillman
92e6a536f1
HTML tree: Add alternating rows to all trees except collections on macOS
2021-08-25 02:16:19 -04:00
Dan Stillman
d0635e12cb
Add disableFontSizeScaling
prop to HTML tree ( #2155 )
...
Removes `defaultRowHeight` prop added in adb8aa39f
in favor of a prop
that disables font size scaling. A non-default row height can still be
specified with `rowHeight`.
Most of our existing trees need to disable font size scaling, but the
idea is that pretty much everything _should_ scale with font size for
accessibility, and it's a limitation of the current prefs and other UIs
that they don't currently, so it's better to default to scaling and
gradually remove uses of this prop.
This fixes a bug where the HTML trees other than the collection and item
trees would have larger rows but without larger text when font size was
increased.
Also:
- Fixes #2157 by fixing line height adjustment on macOS when at the
default font size, applying it to all trees, and moving the explicit
`rowHeight` override from the item tree to the collection tree, which
should have more spacing than all other trees (rather than the item tree
having less).
2021-08-25 01:53:22 -04:00
Adomas Venčkauskas
462af98380
Restore libraries-to-sync UX. Closes #2156
2021-08-24 17:15:17 +03:00
Adomas Venčkauskas
6010390525
HTML Tree: Fix column separators misaligned at startup. Closes #2153
2021-08-24 16:44:55 +03:00
Dan Stillman
d4e3a437fd
Reduce width of icon column in libraries-to-sync dialog
...
Changed during HTMLification
2021-08-24 01:25:47 -04:00
Martynas Bagdonas
85b142ccb2
Restore tabs state ( #2148 )
2021-08-23 13:02:57 -04:00
Dan Stillman
f9035c8fda
Show emoji colored tags directly in items list
...
We can do fun things now.
Also:
- Make colored tag swatches resize with the font size
- Increase border radius for color swatches, and adjust with size
2021-08-22 04:41:34 -04:00
Dan Stillman
cc4225db1a
Restore localized date in Styles list in Cite prefs
...
With the new tree, this was showing the full timestamp from the style
object.
2021-08-21 06:58:12 -04:00
Dan Stillman
adb8aa39f8
Reduce item tree row spacing
...
This matches the previous tree on macOS.
2021-08-21 06:58:12 -04:00
Dan Stillman
ec35291060
Decrease item tree indent
...
Roughly center child item icons between the parent item icon and text,
which looks a bit less awkward than the previous tree's positioning. An
alternative would be to align with the beginning of the parent item text
(a value of 21), but that's a bit spaced out, at least until we have
multiple levels with additional twisties.
2021-08-21 06:58:12 -04:00
Dan Stillman
c85a434eb6
Reduce collection tree indent
...
At least on macOS, this brings it back in line roughly with the previous
version.
2021-08-21 06:58:12 -04:00
Dan Stillman
c965e6159a
Fix collection tree header indentation on macOS
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
881ab5f59e
Store column prefs to a dedicated file in a profile dir instead of XPCOM prefs
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
a2062bf011
Fix selection not being maintained when collapsing/expanding rows
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
55c758c9d0
Fix header columns being misaligned with table columns in item tree
...
And reindent _virtualized-table.scss
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
431d7e1eaa
Fix alternating-row colours switching upon child expand-collapse
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
efc009f724
Fix collection tree header alignment on macOS
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
7ec89c44ce
Improve column sorting speed
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
ff627b7d3f
Ensure column order and width prefs are properly retained
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
9e04250142
Do not sort a column on mouseup if mousedown occurred on a different one
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
4cea4519b8
Fix column resizing weirdness with fixed with columns
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
277503f879
Fix rows not being properly redrawn in duplicates view
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
a15fb83cc4
Fix feed sort being wrong
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
c496b5e367
Fix crash message not getting locked
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
8ebf1609b6
Item tree selection changes and fixes
...
- Fixes selection events always being debounced
- Fixes some failing tests
- Ensures Select All command selects search matching children of
collapsed parents. Adds tests for this case
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
6dce19d546
Expand search parents whith Select All shortcut in item tree
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
1db2eb4aea
Ensure disabled item tree rows are not selectible with Select All
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
7265393be9
Fix item PDF not opening on double click in tree
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
9c7f28b126
Fix trees not properly redrawing on drag events
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
d83ec19c23
Do not try to open/close empty collection tree rows on + and - hotkeys
...
Causes performance issues
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
b5dc0e7630
Add a comment for how to open the data generator
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
87014451de
Fix item tree selection issues when using + and - hotkeys
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
cc97545bd6
Fix advanced search item tree being invisible on open
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
700ac31eef
Ensure \n\n in itemPaneMessage is displayed as a newline
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
82f87a0d8d
Add a Restore Column Order choice in the column picker
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
2b6c7277f7
Item Tree: Do not display Title in the columnpicker
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
af597d943b
Move js-tree files out from /containers subfolder
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
e68685521b
Do not change selection on macOS when using PageUp/Down
2021-08-21 06:58:12 -04:00
Adomas Venčkauskas
f773f79d10
Documentation adjustments for virtualized-table
2021-08-21 06:58:12 -04:00