v2.6.0-beta 2023-11-21
Significant UI updates, negative marker offsets, and more.
Changelog
New
- Animate
allmost of the things:- Slide up/down animation when expanding/contracting the marker table (0e2a1fa).
- Animate the expand/contract triangle indicator, and use an actual icon instead of unicode characters that not all mobile browsers like (0e2a1fa).
- Add quick fade in/out and slide up/down animations when markers are added/removed from the marker table, and when a marker transitions in and out of edit mode (eb092da).
- Small fade in/out when navigating between show/season/episode levels (b7a8e5e, improved in 1d6c5f9 and bf50718).
- New 'toast' message system, intended to show errors without an entire overlay blocking the screen. Initial implementation in 0e2a1fa, expanded in 64deebb.
- Add icons to bulk shift/delete overlay buttons (9921e75).
- Allow negative timestamps in the Bulk Add dialog, where a negative value indicates an offset from the end (e.g. '-30000 to -0' is the last 30 seconds) (918c86e). Closes #16. Credit to @jacob-seiler for the suggestion, thanks!
- Allow negative timestamps for single-marker add/edit, like Bulk Add above (1243ad5).
Fixed
- Purge overlay showed the wrong message when no purged markers were found (4d34644).
- Fix
scrollTableIntoView
behavior (0e2a1fa). - Pressing
Enter
oninput
s could result inButtonCreator
buttons registering theEnter
's keyup (879e5d0). - The 'No Purged Markers' overlay didn't properly set the
focusBack
element (54f37bf). - "Add Marker" button was broken after 0e2a1fa (e8e8d57).
- A couple small a11y fixes (0d45761).
- Ensure overlay properties are adjusted properly when "replacing in-place" (935fc68).
- Fix HMS display of negative timestamps (8acb0b7).
- Fix several string vs number comparison errors (70a3a99):
- Filtering did not work when filtering to "Intros/Credits = 0."
- Marker breakdown chart labels always said "Markers", even if with 1 marker.
- Marker breakdown updates might not be updated properly.
- Time input shortcuts didn't always work for negative values (1243ad5).
Tweaks
- Make bulk action buttons look a bit better on narrow screens (396c83a).
- Allow movie rows to be bulk-expanded, within reason (to avoid sending thousands of requests for marker/media details at once) (0e2a1fa).
- Add an inline loading icon when expanding a movie row (0e2a1fa).
- Adjust scrollbar styling so that there isn't a slight shift when a scrollbar is added/removed (0e2a1fa).
- CSS overhaul - use CSS variables to limit the amount of rules required in Light/Dark-specific CSS files (0e2a1fa, 3d4c924).
- Move files out of Script/inc. Most have been tweaked to the point where they are significantly different from their initial "import" from previous projects:
- Make ThemeColors an "enum" to avoid passing raw strings everywhere (406c9d3).
- SVG Overhaul:
- Create a dictionary of available icons, and use that instead of raw strings (c2319bd).
- Ditch homegrown
FILL_COLOR
approach for custom SVG colors, instead usingcurrentColor
(eb0e82a). - The above change requires inline
<svg>
elements, not<img>
elements with an svgsrc
. Create theSVGHelper
class to handle this ~seamlessly (eb0e82a).