Commit Graph
594 Commits
Author SHA1 Message Date
zarzet 1b7bcfd92a feat(search): group sort and view tools as on Library pages
The Library toolbar's connected button group moves to a shared
ToolButtonGroup, and Material search results use it for Sort and the
list or grid tool. Mornye keeps its text Sort and icon buttons.
2026-10-25 00:55:18 +07:00
zarzet 5eff5e814d feat(desktop): animate Material rail items like the playlist rows
Home, Library, Repo and Settings now take the Playlists rows' fill,
hover and ink ripple. On collapse the expanded row narrows with the
rail and fades while the compact indicator fades in around a fixed
icon, instead of morphing one pill that flattened into a line.
2026-10-25 00:55:18 +07:00
zarzet 92a41641b7 fix(ui): keep page titles clear of the back button
Desktop and short landscape windows shortened the page header, so the
large title ran into the back button. Pages with a back button keep the
full 120dp header; tab roots keep the shorter one.
2026-10-25 00:26:10 +07:00
zarzet a985ea0e87 feat(desktop): expand the Material rail and list playlists in it
Wide windows now open with the rail expanded. A menu button on top and
the sidebar shortcut toggle it, and the choice is kept across launches.
Collapsed, the rail shows icons alone, named by tooltips. Expanded, its
pills span the rail, and a Playlists section (All Playlists and the
user's playlists) fills the space under the destinations. Library
returns to the Library root while a playlist is open.
2026-10-25 00:26:10 +07:00
zarzet 1158d0881b feat(player): group Material shuffle and repeat and start-align the title
The Material phone player moves shuffle and repeat out of the transport
into a connected two-segment group in the footer, between the lyrics
toggle and the output button. The selected segment fills its own shape
with primaryContainer, and the pressed one widens. Without them the
transport spans the timeline. The title, artist and lyrics now start at
the leading edge, as in Mornye; a duet's second voice keeps the end.

Selected mode buttons take the content colour of their fill, so the icon
stays legible on light neutral cover schemes.
2026-10-25 00:26:10 +07:00
zarzet c489960b44 feat(player): let the Now Playing menu hide the volume slider
The phone Now Playing menu gains Hide volume and Show volume in both
styles, saved as the playerShowVolume setting. Mornye drops the slider in
portrait and landscape and moves the transport into its place; Material
keeps the gap above the footer. Desktop keeps its volume controls.
2026-10-24 23:10:27 +07:00
zarzet 38dd71658e feat(search): show cover grids and shelves for search results on wide screens
Once the results are 840dp wide on a tablet or desktop window, the
album, artist and playlist filters show an adaptive grid of covers, and
the All view lists the first five songs, then one shelf per kind with
Show all switching to that filter. Songs use the desktop song table on
desktop and keep their rows elsewhere. Loading skeletons follow the
same geometry. Phones and narrow windows keep their rows unchanged.
2026-10-24 10:36:50 +07:00
zarzet 593662c39a feat(desktop): let the song table keep the preview and cover saving
Search songs move to TrackListTable on wide desktop windows. The table
can now show a dense preview button beside the title and save a row's
cover on a long press of its artwork, as the phone search rows do.
2026-10-24 10:36:50 +07:00
zarzet 44cbb57b30 refactor: import moved files directly and remove the re-export shims
Eight one-line re-export files remained from an earlier move into controllers, models and providers. Every import now points at the real file, so the shims are deleted.
2026-10-24 03:27:23 +07:00
zarzet 72c3498fc1 refactor: drop the always-true AnimatedSelectionCheckbox visible flag
All five callers passed visible: true, so the scale wrapper only ever
held 1.0 and painted nothing of its own; the flag and the wrapper go.
2026-10-24 00:12:34 +07:00
zarzet 1947a33325 refactor: fix MotionHeaderBanner to cover and top center
No caller set fit or alignment, so the video always used the defaults;
the parameters go.
2026-10-24 00:12:34 +07:00
zarzet a2b93b5f79 refactor: drop the unused AppChoiceChip visualDensity
No caller passed it, and ChoiceChip and FilterChip already default to
null.
2026-10-24 00:12:34 +07:00
zarzet fff4e2e9e3 refactor: drop AppTextField options every caller left at default
textCapitalization, showCounter and enabled were never passed; the
underlying fields already default to the same values.
2026-10-24 00:12:34 +07:00
zarzet 3728418884 refactor: drop showAppBottomSheet flags no caller sets
No caller passed isScrollControlled, isDismissible, enableDrag or
showHandle, so the helper now uses their defaults directly.
2026-10-24 00:12:34 +07:00
zarzet 18ee77004d refactor: make ClickableArtistName single-line with ellipsis
All twelve callers passed maxLines: 1 and TextOverflow.ellipsis, so the
widget now applies them itself and the two parameters go.
2026-10-24 00:12:34 +07:00
zarzet 78f60e7576 refactor: push plain material pages through pushPage
Forty-two call sites spelled out Navigator.push with a MaterialPageRoute
around a builder; one helper next to pushViaPreferredNavigator keeps the
same route type and builder closure with fewer lines.
2026-10-24 00:12:34 +07:00
zarzet 23c448da80 refactor(library): build the album selection bars with LibraryTrackSelectionBar
The downloaded and local album pages hand-built the same bar. A new
albumDelete flag keeps their full-width desktop delete and the downloaded
album delete labels, so the bars render as before.
2026-10-23 23:39:30 +07:00
zarzet b9358b8158 perf(mornye): resolve the cover colour when the mini player changes track
The Mornye full player shades itself from the cover's source colour, which
it only started resolving inside its opening slide. Starting the same job
when the mini player shows a track lets the player open on its final colour.
2026-10-23 23:22:10 +07:00
zarzet 6920d4b8c6 perf(material): move the mini player wave on the 30 Hz decorative clock
The package's wavy indicator derives its phase from a ticker that asks for a
frame on every display refresh while music plays. Painting the same indicator
from a DecorativePhase keeps its look and stops it while paused, hidden or in
the background.
2026-10-23 23:22:10 +07:00
zarzet 22276c3593 perf(mornye): stop the mini player marquee after two passes on liquid glass
Every marquee frame re-filters the glass chrome around the mini player, so
an overflowing title kept liquid devices drawing for the whole session. The
liquid level now rests after the same two passes as frosted and flat.
2026-10-23 23:22:10 +07:00
zarzet 197cc2a1a7 perf(player): hold decorative motion while the app draws no frames
A vsync ticker never advanced in the background, but the 30 Hz timer kept
waking the UI isolate while music played with the app hidden. The shared
clock now runs only while frames are enabled and resumes from the held phase.
2026-10-23 23:22:02 +07:00
zarzet 3686095ad8 perf(material): cache the full-screen cover blur at quarter resolution
The opt-in full-screen cover style re-ran a sigma 48 blur over the whole
screen on every frame while the seek wave moved. The surface, blurred cover
and tint are now drawn once per cover, size and surface colour into a
quarter-resolution image with the sigma scaled to match.
2026-10-23 23:22:02 +07:00
zarzet 8985d7fb45 perf(player): cap decorative playback motion at 30 Hz
The current-row equalizer and the Material seek wave ticked every vsync for
the whole listening session, forcing full-scene rasterization at the display
rate. Both now advance from one shared 30 Hz phase clock that runs only while
a phase is running, with the same waves, loop lengths and pause rules.
2026-10-23 23:22:02 +07:00
zarzet 60913592be fix(desktop): show a short profile label in the sidebar
Without a profile name the sidebar account row showed "Set up your
profile", which the narrow sidebar cut off mid-word in longer languages:
Russian read as "Настройте сво…", which a user took for an unknown
abbreviation. The row now shows the short Profile title, which fits in
every language, while screen readers still hear the full invitation.
2026-10-23 23:21:55 +07:00
zarzet 911890a39c refactor(dialogs): resolve the error confirm color inside the dialog
The duplicate review and extension uninstall dialogs read the error color
from the dialog's own theme, so it followed a theme change while open.
errorConfirm keeps that, and the one-time migration test is dropped.
2026-10-23 23:14:57 +07:00
zarzet 7f323e88b1 refactor(library): move confirm dialogs to showAppConfirmDialog
Thirteen hand-written cancel/confirm dialogs in the batch actions, track
metadata, setup, statistics, extension and queue selection code now use the
shared helper with the same flags and styles. Every caller only acted on a
true result, so the helper's false-on-dismiss keeps their behavior.
2026-10-23 23:14:57 +07:00
zarzet 87ea8948c6 fix(repo): keep the store button beside the text when the title fits
Store rows moved their button under the description whenever the text
column was under 360 logical pixels, which put it below on every phone.
The row now measures the widest store button in the current language
and text size and keeps it beside the text unless it would leave the
title under 140 logical pixels. English phones get the side-by-side
layout back, while long labels such as Russian still stack (issue #694).
Rows and the loading skeleton share the width, so a list lays out alike.
2026-10-23 23:14:38 +07:00
zarzet 32bf54d6ff fix(library): keep current row text readable on cover fills
Screens colored a row's subtitle and track number from the app scheme,
outside the row, so the current track's artwork fill could hide them: a
black and white cover fills the row with a light container in dark
themes, where onSurfaceVariant nearly vanishes. TrackCard now gives
uncolored leading and subtitle text the row's supporting color, which
follows a filled row's content color, and re-roots the trailing
controls' content roles onto the fill. The library, album, playlist,
folder and search rows leave their text uncolored or read it inside the
row; badges keep their own surfaces.
2026-10-23 23:14:38 +07:00
zarzet e3b8e28072 refactor(player): make the metadata title always ellipsize
All three PlayerMetadataTitle callers passed TextOverflow.ellipsis, so the
parameter goes and the widget uses it directly.
2026-10-23 23:08:48 +07:00
zarzet 02232c76ac chore: remove unused widget and utility members
AppIconButton.outlined, LogBuffer.export, TtlCache.remove/clear and the
translationThreshold constant have no caller in lib or tests.
2026-10-23 23:08:48 +07:00
zarzet 156b976977 refactor(settings): build the plain-page glass group from MornyeGlassPanel
MornyeGlassPanel now forwards samplesBackdrop, so the group no longer needs
its own Consumer around MornyeGlass.
2026-10-23 23:00:46 +07:00
zarzet 3c11d9936f refactor(convert): share the batch convert choice section
The six option sections repeated the same card, label and chip wrap,
differing only in values, labels and the selection update.
2026-10-23 23:00:46 +07:00
zarzet 7a92132798 perf(mornye): fade full-bleed artwork without a shader mask
The ShaderMask rendered the artwork offscreen on every raster frame, at video
rate for motion artwork. Painting the animated background gradient over the
artwork with the inverse fade as alpha composites the same pixels within
8-bit rounding; only the tilted gradient of the lyrics transition still
uses a small layer.
2026-10-23 22:55:15 +07:00
zarzet c7503d9f0f perf(mornye): skip the backdrop read on plain-page glass
The Library search fields, the Install extension panel and the band count and
theme mode pickers sit on a flat page or an opaque group card, so filtering
that backdrop costs a read for an identical result. They now keep the tint and
rim like the Home and Settings fields.
2026-10-23 22:52:33 +07:00
zarzet a29a5179c4 refactor(mornye): drop the MornyeGlass default constructor
Its last app callers went with the dead library chip row; the remaining test
callers use MornyeGlass.navigation, whose defaults match.
2026-10-23 22:52:33 +07:00
zarzet 4707feeaa3 refactor(library): share the collection selection bar toggle
Album, playlist and artist pages each rebuilt the same select all toggle
around SelectionBottomBar; SelectionModeMixin.buildSelectionBar now does it
once. The Library selection bar's mobile delete reuses
DestructiveSelectionButton with its own label.
2026-10-23 22:49:09 +07:00
zarzet cdb250c4ed refactor(library): share the album and playlist header action row
Album and playlist headers each spelled out the same love, download and add
to playlist buttons for desktop, Mornye and Material. CollectionHeaderActions
builds them once; the per-page icons, tonal download and callbacks are
parameters.
2026-10-23 22:49:09 +07:00
zarzet 4c80fe39df style(settings): keep the song.link regions as a const list
The packed split string saved only formatter-forced data lines and broke
the const, one-literal-per-code style used elsewhere. showAppConfirmDialog
also asserts that message and content are not both passed.
2026-10-23 22:45:10 +07:00
zarzet 101740d87b refactor(settings): move download, metadata and files pages to shared helpers
The pages now use settingsSectionSlivers, showAppChoiceSheet and
showAppConfirmDialog, the settings page and the download picker share one
quality label function, and the picker's service chip builds its icon once.
The song.link region codes are one split string instead of 183 lines.
2026-10-23 22:45:10 +07:00
zarzet 34442580bf perf(mornye): stop glass settings groups sampling the flat page
Glass settings groups scroll over the opaque page color, so their
backdrop blur filtered a uniform color every frame. They now keep the
glass tint without a backdrop pass, as the Home and Settings fields do.
2026-10-23 22:45:10 +07:00
zarzet 77ea16dc23 refactor(settings): share confirm dialog, choice sheet and section helpers
Two-button confirmations, single-choice settings sheets and header plus
group slivers were hand-written at every call site. showAppConfirmDialog,
showAppChoiceSheet and settingsSectionSlivers build the same trees, and
SettingsGroup's four inset wrappers become one.
2026-10-23 22:45:10 +07:00
zarzet 9917a76f08 test(mornye): find lyric blur snapshots by render object type
Looks the snapshot render object up by its class instead of a widget type
name string, and narrows the LyricBlur doc to the changes that actually drop
the cached image.
2026-10-23 22:43:00 +07:00
zarzet 4815c26bc8 perf(mornye): draw settled lyric blurs from a cached image
With liquid glass every defocused lyric line ran its own blur pass on each
composited frame, all song long while word-synced lyrics play. A line whose
blur has settled is now rasterized once and drawn as an image until it
changes; lines still easing, or rebuilt, blur live as before.
2026-10-23 22:43:00 +07:00
zarzet 72e2b3b1ba perf(mornye): decode the details sheet cover at thumbnail size
The 70 dp artwork in the Mornye details sheet decoded the original cover,
up to about 36 MB for a 3000 px image. Decoding at the display size times
the device pixel ratio keeps it sharp without the large transient bitmap.
2026-10-23 22:43:00 +07:00
zarzet 720f34f193 fix(android): coalesce background work progress notifications 2026-10-23 22:35:26 +07:00
zarzet ebd973f0c1 perf(mornye): keep position ticks and lyric control fades local
Synced lyrics depended on the covered height that animates while the
controls fade, rebuilding the whole list every frame; only the loading
and empty states read it now. Position ticks and digit rolls re-recorded
the entire player because rebuilds under the body LayoutBuilder relayout
it and the seek slider's unused LayoutBuilder relaid out up to the
scaffold; the slider drops it, and the body content and timeline keep
their own layers.
2026-10-23 22:28:23 +07:00
zarzet 26695a8d34 refactor(player): share the current queue index rule
The Mornye player layout and its queue repeated the same "reported index
while it still names the current item, else first match" rule; one
provider now derives it, with a test for stale, shuffled and empty queues.
2026-10-23 22:28:23 +07:00
zarzet e049a2b436 perf(mornye): share the bar read with resting side capsules
Compact chrome took five backdrop reads on every scroll frame: the bar
batch plus two stacked reads per side capsule. While folding, each capsule
now has a batch of its own (three reads); at rest the capsules join the
player's batch (one read). A GlobalKey keeps their lenses mounted.
2026-10-23 22:23:57 +07:00
zarzet 424311bf37 perf(mornye): compose standalone glass lenses into one backdrop read
A lens outside any batch took two backdrop reads (a stock blur, then the
shader). Each one now takes a batch key of its own, so the package composes
blur and refraction into one read, as overlays and the bar already did. The
home filter chips never overlap and share one read for the whole row.
2026-10-23 22:23:56 +07:00
zarzet 9845550839 perf(mornye): compute glass tint only for translucent surfaces
Opaque glass, such as every home search result row, discarded the HSL and
blend math. The translucent result is unchanged.
2026-10-23 22:23:56 +07:00