fix(ui): unify titlebar and playback state
- window buttons live in the page header on library/search pages and in a shared chrome strip where a page has no header; removed the 44px root padding toggle that made pages jump on navigation - video player gets its own titlebar row with window controls; the audio player hides the global app bar - starting a video stops music and vice versa; a single track queues the rest of its album, or the artist's songs when AlbumId is missing - album page no longer crashes on albums without AlbumArtists - queue summary is localized
This commit is contained in:
1 parent
d9bce4de04
commit
fcf61012db
13 files changed
+245
-171
No files matched your search
@@ -29,6 +29,7 @@ import { useShallow } from "zustand/shallow";
|
||||
import { NavigationDrawer } from "@/components/appBar/navigationDrawer";
|
||||
import BackButton from "@/components/buttons/backButton";
|
||||
import { UserAvatarMenu } from "@/components/userAvatarMenu";
|
||||
import WindowControls from "@/components/windowControls";
|
||||
import { useApiInContext } from "@/utils/store/api";
|
||||
import useDebounce from "@/utils/hooks/useDebounce";
|
||||
import { useCentralStore } from "@/utils/store/central";
|
||||
@@ -110,7 +111,7 @@ function SearchPage() {
|
||||
<div
|
||||
className="search-page-content"
|
||||
style={{
|
||||
paddingTop: "2.4em",
|
||||
paddingTop: "4.4em",
|
||||
}}
|
||||
>
|
||||
{debouncedSearchTerm ? (
|
||||
@@ -361,6 +362,7 @@ function SearchAppBar({
|
||||
<div className="material-symbols-rounded">favorite</div>
|
||||
</IconButton>
|
||||
<UserAvatarMenu />
|
||||
<WindowControls />
|
||||
</div>
|
||||
</AppBar>
|
||||
<NavigationDrawer
|
||||
|
||||
Reference in new issue
Block a user