Commit Graph
488 Commits
Author SHA1 Message Date
zarzet a428b37879 feat(i18n): mirror layouts for right-to-left languages
Use directional insets, alignments, positions and borders so Arabic and
other RTL locales lay out from the right. Mornye chevrons use the
CupertinoIcons glyphs that match text direction, synced lyric voices
align to start and end, and transport controls, seek bars and progress
stay left to right as media timelines do.
2026-10-21 14:59:26 +07:00
zarzet 37356e437a fix(player): skip tracks with mini player swipes 2026-10-21 14:10:56 +07:00
zarzet 53dfa2c3b8 fix(desktop): hide scrollbars where they add clutter
Rows that scroll sideways drop the desktop scrollbar, except the library
search shelves, which have no paging arrows. Settings, the sidebar and
the lyrics and Up Next panels scroll without a bar.
2026-10-21 12:59:55 +07:00
zarzet ca189a9052 feat(desktop): animate the lyrics and Up Next panels open and closed
The inspector grows from the trailing edge beside the content and slides
in when it floats over a narrow window, keeping the last panel on screen
while it leaves. Now Playing moves the cover column aside as the panel
fades in. Material uses the spatial spring and Mornye an iOS-like ease;
reduced motion skips both.
2026-10-21 12:59:55 +07:00
zarzet 400a760415 fix(desktop): shape loading skeletons like the loaded tables
Desktop track and album lists now load with placeholder rows that use the
track table's columns, row height and quality column, so content does not
jump when it arrives. The track table geometry and the artist discography
tile size move to shared helpers that the placeholders reuse.
2026-10-21 12:38:31 +07:00
zarzet b532cb5d6c fix(lyrics): drop singer marks from lyrics picker previews
Multi-person lyrics prefix lines with v1: or v2:, which showed up in the
preview text.
2026-10-21 12:31:29 +07:00
zarzet 69011f48c0 fix(desktop): skip the held liquid lens on Mornye segmented controls
The lens follows a held finger. A click never holds it, and over an
opaque toolbar it refracted a flat fill and covered the labels in black.
2026-10-21 12:31:29 +07:00
zarzet be5c184355 feat(search): lay out the Mornye desktop Search page like Music
The search field moves to a centered toolbar with a provider and Library
scope control. Recent searches form one row of cards with a More menu, and
a Browse grid turns each home feed section into a tile in its cover's
color that opens the section as featured cards, song rows and artwork.

The Library scope searches only the local library: it waits for words
with a prompt, then groups artists, albums and playlists in rows of
artwork above song rows. Phones and the Material style are unchanged.
2026-10-21 12:31:29 +07:00
zarzet af500a737d feat(lyrics): choose lyrics from each provider in the metadata editor
"Find lyrics online" in the editor's lyrics section opens a sheet that
asks every enabled provider, extensions included, and lists each
answer in priority order with its timing and a preview. The chosen
lyrics fill the field and are saved with the other edits.

The backend gains getLyricsFromProvider, which asks one enabled
provider directly without the cache or the priority race, and
getEnabledLyricsProviders, wired for desktop, Android and iOS.
Provider display names move to a shared helper.
2026-10-21 11:35:19 +07:00
zarzet 306ea4f3bc fix(lyrics): size Material lyrics for the desktop panel
Material lyrics used phone sizes in the wide desktop panel. On desktop
lines are now 30, the current line 32, with background vocals and
supplements scaled to match. The lyrics size setting still applies.
2026-10-21 11:34:57 +07:00
zarzet 56e51f0b98 fix(player): stretch the desktop Material transport to the timeline
In the edge-aligned desktop Now Playing, shuffle and repeat now sit at
the timeline's ends and previous, play and next stretch in proportion
between them. Phones keep the centered group.
2026-10-21 11:34:57 +07:00
zarzet 01d766402c fix(metadata): enlarge the desktop cover and show the lyrics box scrolls
On desktop the track header takes more of the window height and the
cover grows to 260, close to the album header, instead of shrinking to
about 150 in a short window. The lyrics box fades at its cut while more
text follows and shows its scrollbar on desktop; ScrollEdgeFade can now
fade the content itself for cards and translucent surfaces.
2026-10-21 11:34:57 +07:00
zarzet ea9e863927 fix(desktop): line the album header artwork up with the content
The cover in the desktop detail header now starts at the same inset as
the description and track table below it.
2026-10-21 11:34:49 +07:00
zarzet a3c4e3f562 feat(desktop): start the Material rail collapsed without a menu button
The rail opens compact, and the sidebar shortcut expands it in windows
wide enough for the extended rail. The menu button and the automatic
collapse are gone.
2026-10-21 11:34:49 +07:00
zarzet 5f4bb7ccee fix(lyrics): keep line timers aligned with playback
Sample the current playback clock when a lyric boundary timer fires late and scale boundary delays by playback speed. Cover both themes at normal and accelerated playback speeds.
2026-10-21 03:49:04 +07:00
zarzet afaca0f136 feat(desktop): show Now Playing over the whole window, as Music does
Now Playing covers the shell, sidebar included, over a backdrop drawn
from the artwork: the cover, title and transport on one side, and lyrics
or Up Next on the other, toggled from a capsule in the corner. The
timeline and transport line up with the cover's edges.

The macOS runner reports full screen to Flutter. Opening lyrics in a
full screen window, or entering full screen with lyrics open, shows
them in Now Playing instead of the side panel.
2026-10-21 02:27:04 +07:00
zarzet 6a3e9ab7be fix(lyrics): reach far lines taller than the Material row estimate
The Material lyrics view jumps to an estimated 64dp per row. Lines with a
romanization in the narrow desktop panel are several times taller, so
opening lyrics mid-song or seeking far stopped short and left the active
line off screen. The view now steps toward the line until the list
builds it, then centers it.
2026-10-21 02:22:55 +07:00
zarzet 435afff453 fix(desktop): keep the Mornye sidebar in every window size
Music does not let its sidebar close, so the Mornye sidebar no longer
hides below 900pt or through the toolbar button, menu item and shortcut.
The shortcut and auto-collapse still apply to the Material rail.
2026-10-21 02:22:49 +07:00
zarzet 0a963a28e6 fix(desktop): keep the selection bar over the pages and bounded
The selection bar spanned the whole window, sidebar included. It now
floats over the pages only, in a centered column up to 640pt wide,
above the Mornye player capsule.
2026-10-21 02:21:54 +07:00
zarzet 02e50bd099 fix(desktop): play or open a row on a single click
A plain click now activates a row, as a tap does on a phone, instead of
selecting it and waiting for a double click. Cmd/Ctrl-click and
Shift-click still select, and the second click of a double click does
nothing, so a row never plays twice.
2026-10-21 02:21:51 +07:00
zarzet 23e531e7bb fix(desktop): round Mornye detail artwork with continuous corners
Music draws its covers with Apple's continuous corner at a 12pt radius;
the Mornye detail header used an 8pt circular one.
2026-10-21 02:21:37 +07:00
zarzet 82b2961bc2 fix(desktop): line the rail menu icon up with the destinations
Desktop visual density shrinks the menu button to 40pt, so its fixed
24pt start padding left the icon 4pt off the destinations' axis. The
button is now centered over the collapsed rail width instead.
2026-10-21 00:26:32 +07:00
zarzet ee5d125470 feat(desktop): morph the Material rail and let it be collapsed
The rail draws its own destinations so one expansion value drives the
width, the indicators and the labels: pills grow around a fixed icon and
labels cross-fade instead of jumping when the layout changes. Expanded
pills hug their labels as M3 Expressive specifies and take the clicks
alone. A menu button collapses and expands the rail, which also follows
the window below 1200pt.
2026-10-20 19:38:05 +07:00
zarzet 504b66170b fix(desktop): give every page the same full-pane width
Desktop pages now run across the content pane and center only past
1600pt, so Home, Library, Repo and detail pages share their edges. Repo's
search field spans the page like the others, and Mornye's Home leaves the
profile to the sidebar's account row.
2026-10-20 19:38:05 +07:00
zarzet 8eaa7e3e4a fix(desktop): run Home's feed across the whole content pane
Home centered its shelves at a tablet reading width, which left a wide
margin on the left once the sidebar was hidden.
2026-10-20 18:28:11 +07:00
zarzet 0bba11584a fix(desktop): drop the Material search bar and widen rail pills
Home and Library have their own search fields, so the shell's search bar
stacked a second one above them. Rail pills now span the row, which is the
whole click target.
2026-10-20 18:28:11 +07:00
zarzet a7faaff243 feat(desktop): lay out the Mornye player capsule like Music
The display shows the artwork with left-aligned title and artist and album
lines, over a hairline progress track that starts at the artwork's edge.
2026-10-20 18:28:11 +07:00
zarzet ff5001df92 feat(desktop): Apple Music style macOS shell
The macOS window now draws content under a transparent title bar with
the traffic lights centered in a 52pt row, and Flutter drag areas move
and zoom the window there.

Mornye on desktop follows Music: an inset 210pt sidebar panel tinted by
the page's artwork color, with Search, Home, Store, the Library pages,
All Playlists and each playlist, and an account row with Settings pinned
at the bottom. The sidebar hides completely from its button, the menu
or below 900pt, and the content then leaves room for the window
controls. The player is a floating 48pt glass capsule centered over the
content pane with shuffle, transport, repeat, the LCD, downloads,
lyrics, queue and a volume popover; pages scroll under it.

Material keeps its docked player bar, which now holds downloads, so the
top bar steps aside on Home instead of stacking a second search field.
The expanded rail spaces its indicators 8dp apart.
2026-10-20 18:00:06 +07:00
zarzet fa035bd169 feat(desktop): keep the Apple Music artist hero in Mornye
Mornye artist pages on desktop use the portrait hero with the artwork
tint, sized to most of the content pane, with a larger name or logo
and a round glass back button. Material keeps the compact header.
2026-10-20 17:50:26 +07:00
zarzet 9f5b2ff30c Merge branch 'desktop/d15-enable-backend' 2026-10-20 17:44:49 +07:00
zarzet ddb897916a feat(desktop): Apple Music style album, playlist and artist headers
Desktop detail pages keep the plain pane background and place a
300pt-capped artwork at the list's left edge, with the title, the
artist in the accent color and a small meta line beside it and the
actions along its bottom edge. Mornye floats a glass back button and a
capsule with share and More over the pane; album songs use 46pt rows
with the number turning into a play button on hover. Pages leave room
for the floating player.
2026-10-20 17:38:54 +07:00
zarzet 7b94fe176b feat(desktop): compact detail headers and denser song rows
Album, playlist, folder and artist pages on desktop show the artwork beside left-aligned details under a pinned toolbar with the back control, in the same column as the songs. Table rows use desktop density (40 Mornye, 48 Material), show row actions on hover, selection or focus, and drop the quality column when no row has one.
2026-10-20 17:38:54 +07:00
zarzet ef0bb0d4ae feat(desktop): keep album play buttons in the song table
Local and downloaded album tables keep the row play and pause button of the album track tiles. Adds screen tests for the desktop table, its menu and the unchanged phone layout.
2026-10-20 17:38:54 +07:00
zarzet 382e3856e3 feat(desktop): add dropped music folders to the Library
Dropping music files or folders onto the window adds them as Library folders through the existing add-folder and scan path; a dropped file adds the folder that holds it. Uses desktop_drop 0.8.4. Tests cover the folder selection, the hover play button and the source-sorted table.
2026-10-20 17:38:54 +07:00
zarzet 5e16cf0e8b feat(desktop): add context menus to artist, home and search rows
Right-click on artist top tracks and home rows opens the track options as a menu, artist album cards open a menu for the selection they join, and Library search results open their song or Open actions.
2026-10-20 17:38:54 +07:00
zarzet 87c92c8d78 feat(desktop): add Library context menus, song table and hover play
The Library Songs page shows the desktop table, sorted through the Library sort modes, and song rows and cards select on click, play on double click and open the selection's menu on right-click. Playlists, folders, albums, artists and queued downloads get menus, album tiles show a play button on hover, and the sort and filter choices open as menus on desktop.
2026-10-20 17:38:54 +07:00
zarzet c654de57b1 feat(desktop): show detail screen songs as a sortable table
Album, playlist, local album, downloaded album and collection folder screens list their songs in the desktop table, with right-click menus for the selection, Enter and double click to play or open, and Delete wired to the existing removal. The playlist cover options open as a menu on desktop.
2026-10-20 17:38:54 +07:00
zarzet 728c1a1ac8 feat(desktop): add context menus, list selection and a song table
Right-click, Shift+F10 and the Menu key open item menus (MenuAnchor on Material, MornyeContextMenu on Mornye). DesktopListScope adds Cmd/Ctrl+A, Escape, Delete and Enter to selectable lists, and SliverTrackTable shows sortable song columns. The album screen uses the table on desktop.
2026-10-20 17:38:54 +07:00
zarzet 4f16428cf3 feat(desktop): add hover scroll buttons to Home shelves
A mouse wheel only scrolls vertically and mouse drags do not scroll, so
mouse users could not reach the rest of a horizontal shelf. On desktop the
Home shelves, extension feed carousels and featured releases show back and
forward buttons while hovered, when more content lies that way.
2026-10-20 17:15:47 +07:00
zarzet 003b2cff10 feat(desktop): open Now Playing in the content pane with an inspector
Now Playing replaces the content pane instead of covering the window, and
Escape or the minimize button returns. Lyrics and Up Next open in a 340
inspector that sits beside the content from 1200 wide and floats over it
below that; the player bar buttons and Ctrl+Shift+L or U toggle it.

A downloads button with an overall progress ring opens a popover that
lists active downloads with progress and cancel, plus Show all for the
full queue in Library. Material shows it, with a search field that opens
search, in a new desktop top bar; Mornye keeps it in the player bar and
lists Settings as a content destination.
2026-10-20 16:33:30 +07:00
zarzet b52a40788d feat(desktop): show settings as a list-detail layout
Wide desktop panes list the settings categories beside the selected
page, which opens in a nested navigator so deeper pages push inside the
detail pane. Material uses a tonal selection pill and Mornye a System
Settings style sidebar with colored icon tiles. Back and Escape pop the
detail pane, and its root page hides the back button.
2026-10-20 16:33:29 +07:00
zarzet 43039565e7 feat(desktop): present app sheets as centered dialogs
Modal sheets from the shared helper open as a dialog up to 560 wide on
desktop, with Mornye glass or the Material high container, and the drag
handle becomes spacing. Player details follow the same dialog.
2026-10-20 16:33:29 +07:00
zarzet 0c0272ff9a fix(desktop): end the diagnostics session before an update quits
The updater leaves with exit(0), which skips the exit request that clears
the session marker, so every update looked like a crash on the next
launch.
2026-10-20 16:15:36 +07:00
zarzet 490e529203 feat(desktop): wire deep links, single instance, keep-awake, Discord, watcher and crash logs
- mornye:// URLs arrive through app_links and go to the backend callback
  inbox (queueExtensionCallbackUrl); extension auth opens the system
  browser on desktop.
- Single instance: a named mutex plus app_links WM_COPYDATA forwarding on
  Windows (with the installer's AppUserModelID), a unique GApplication
  forwarding its command line on Linux; macOS handles reopen itself.
- The download queue holds a sleep inhibitor from start until it stops.
- Discord Rich Presence runs on desktop through a channel adapter over the
  backend IPC methods, without an account link.
- Library folder changes trigger a debounced incremental source scan.
- Desktop rotating log files, a session marker that turns an unclean exit
  into the existing crash report, and runtime errors recorded for it.
2026-10-20 16:14:40 +07:00
zarzet 2411450af6 feat(update): update desktop builds from their release packages
UpdateChecker now knows the OS, CPU and install format: Android keeps the
APK flow; macOS picks the universal dmg, Windows the setup .exe for its
CPU (x64 as the Arm fallback) and Linux AppImages the AppImage for the
CPU. deb, Flatpak and plain bundles, and releases without a matching
package, open the release page.

DesktopUpdater downloads the package to a temporary folder and checks it
against the release's SHA256SUMS.txt (and GitHub's digest when present).
Windows then runs the installer silently and quits, macOS opens the dmg
and asks the user to quit and drag the app over, and an AppImage is
replaced with an atomic rename and offers a restart.
2026-10-20 15:07:31 +07:00
zarzet 8b90b1b3f8 feat(desktop): add the desktop shell with rail, sidebar and player bar
Desktop builds replace the bottom tabs and mini player with a leading
navigation surface and a persistent player bar. Material uses the M3
Expressive rail (collapsed below 1200, 220dp expanded above it, Settings
anchored at the bottom); Mornye uses a collapsible source-list sidebar
with search at the top, so the Material rail no longer appears in the
Mornye style on desktop.

The player bar carries artwork and title (opening Now Playing), the
transport, a seek bar, volume, lyrics and Up Next. Keyboard shortcuts
(Space, Cmd/Ctrl with arrows, F, comma, [, 1..5, Shift+L, Shift+U, Esc)
are wired above the root navigator, mirrored in a macOS menu bar and
named in control tooltips. The mini player drops its swipe gestures on
desktop. Phone and tablet layouts are unchanged.
2026-10-20 14:35:11 +07:00
zarzet 37e21b5712 feat(branding): rename app and native backend to Mornye
Rename the Dart package, Android and iOS identifiers, Rust crates, native libraries, and Discord plugin. Preserve legacy data readers and compatibility aliases.

Update localized branding, documentation, artwork, build tooling, and release artifacts. Route Telegram release notifications to @mornyeupdates and link @mornyecommunity.
2026-10-20 12:00:44 +07:00
zarzet 7600c169c7 perf(ui): improve Material and Mornye player and library smoothness
Reduce repeated artwork readbacks, lyric layout and subscriptions, and animation rebuilds. Virtualize Library sections and Settings search, bound artwork decoding, batch queue restoration, and honor reduced motion.

Add shared player benchmarks with 60/90/120 Hz budgets and regression coverage for lifecycle, scrolling, and accessibility. Verified with 337 host tests, six Android profile suites, scoped analysis, formatting, and diff checks.
2026-10-20 03:37:21 +07:00
zarzet 00b7cf9979 fix(crash): reduce repeated notices and retain diagnostics 2026-10-20 03:01:06 +07:00
zarzet ba234d78ad fix(ui): align Material screens with the design guide
- Keep one accent container per group: neutral source, album, Atmos and
  extension badges, neutral Rewind card, secondaryContainer icon wells,
  theme roles instead of fixed teal, orange, amber and green.
- Drop row and sheet header dividers on Material; search results and
  their skeleton become a connected list with 2dp gaps.
- Use a solid errorContainer with onErrorContainer in ErrorCard, the
  crash banner and the URL notice; Weekly Releases and extension
  collections show ErrorCard with retry.
- Raise touch targets to 48dp for search sort, service chips, metadata
  quick select, copy rows, the queue drag handle and spectrogram chips.
- Use SettingsSegmentedChoice, AppChoiceChip and SettingsInfoCard where
  custom controls stood in, and a full-round text button shape.
- Remove nested cards in the tutorial, update dialog, file info path and
  lyrics status rows.
- Localize the verification paste action, start the Home search hint
  with "Search", and fix the invisible Find spinner on a disabled button.
2026-10-20 02:02:37 +07:00