feat(navigation): clearer labels, context and direct destinations
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Shows the current page in the app bar, labels every top-level icon action, adds Search/Favorites and a Shows shortcut to the main navigation, removes the redundant search icon on the search page, and cleans up page titles on leave.
This commit is contained in:
1 parent
b592680006
commit
7c5fa8f869
13 files changed
+214
-60
No files matched your search
@@ -594,24 +594,37 @@ const AudioPlayer = () => {
|
||||
<span className="material-symbols-rounded">shuffle</span>
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
<IconButton size="small" onClick={handlePrevious}>
|
||||
<span className="material-symbols-rounded">skip_previous</span>
|
||||
</IconButton>
|
||||
<IconButton
|
||||
className="media-bar-play"
|
||||
onClick={() =>
|
||||
remote
|
||||
? remoteCommand(PlaystateCommand.PlayPause)
|
||||
: handlePlayPause()
|
||||
}
|
||||
>
|
||||
<span className="material-symbols-rounded">
|
||||
{isPlaying ? "pause" : "play_arrow"}
|
||||
</span>
|
||||
</IconButton>
|
||||
<IconButton size="small" onClick={handleNext}>
|
||||
<span className="material-symbols-rounded">skip_next</span>
|
||||
</IconButton>
|
||||
<Tooltip title="Previous">
|
||||
<IconButton
|
||||
size="small"
|
||||
onClick={handlePrevious}
|
||||
aria-label="Previous"
|
||||
>
|
||||
<span className="material-symbols-rounded">
|
||||
skip_previous
|
||||
</span>
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
<Tooltip title={isPlaying ? "Pause" : "Play"}>
|
||||
<IconButton
|
||||
className="media-bar-play"
|
||||
aria-label={isPlaying ? "Pause" : "Play"}
|
||||
onClick={() =>
|
||||
remote
|
||||
? remoteCommand(PlaystateCommand.PlayPause)
|
||||
: handlePlayPause()
|
||||
}
|
||||
>
|
||||
<span className="material-symbols-rounded">
|
||||
{isPlaying ? "pause" : "play_arrow"}
|
||||
</span>
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
<Tooltip title="Next">
|
||||
<IconButton size="small" onClick={handleNext} aria-label="Next">
|
||||
<span className="material-symbols-rounded">skip_next</span>
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
<Tooltip
|
||||
title={
|
||||
remote
|
||||
|
||||
@@ -225,10 +225,18 @@ const VideoPlayerControls = ({
|
||||
}}
|
||||
>
|
||||
<div className="video-player-osd-header flex flex-justify-spaced-between flex-align-center">
|
||||
<IconButton onClick={handleExitPlayer}>
|
||||
<IconButton
|
||||
onClick={handleExitPlayer}
|
||||
aria-label="Exit player"
|
||||
title="Exit player"
|
||||
>
|
||||
<span className="material-symbols-rounded">arrow_back</span>
|
||||
</IconButton>
|
||||
<IconButton onClick={(e) => setSettingsMenuRef(e.currentTarget)}>
|
||||
<IconButton
|
||||
onClick={(e) => setSettingsMenuRef(e.currentTarget)}
|
||||
aria-label="Player settings"
|
||||
title="Player settings"
|
||||
>
|
||||
<span className="material-symbols-rounded">settings</span>
|
||||
</IconButton>
|
||||
<VideoPlayerSettingsMenu
|
||||
|
||||
Reference in new issue
Block a user