Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 10, 2026

Navigation was ad-hoc with incomplete access to major app sections. Users needed organized navigation to Home, Library (Artists/Albums/Genres), Social (Last.fm/Dimmer Live), Statistics, and Wrapped pages.

Changes

Android - Categorized Drawer Navigation

File: Dimmer.Droid/ViewsAndPages/NativeViews/Activity/TransitionActivity.cs

  • Replaced flat menu with categorized submenus (Library, Social & Discovery, Statistics)
  • Home navigation clears backstack via PopBackStack(null, PopBackStackFlags.Inclusive)
  • Other navigations preserve backstack for proper back button behavior
  • Navigation IDs: 100 (Home), 200-202 (Library), 300-301 (Social), 400-401 (Stats), 500 (Settings)
case 100: // Home - clear backstack
    selectedFrag = new HomePageFragment(MyViewModel);
    tag = "HomePageFragment";
    clearBackStack = true;
    break;

case 200: // Artists
    selectedFrag = new AllArtistsFragment();
    tag = "ArtistsFragment";
    break;

WinUI - Horizontal Navigation Bar

Files: Dimmer.WinUI/Views/DimmerWin.xaml, DimmerWin.xaml.cs

  • Added scrollable navigation bar between media controls and content frame
  • Navigation handlers clear ContentFrame.BackStack for Home, preserve for other pages
  • Keyboard shortcuts: Ctrl+H (Home), Ctrl+L (Last.fm), Ctrl+S (Statistics)
  • Routes to existing pages: AllSongsListPage, ArtistPage, AlbumPage, LastFmPage, DimmerLivePage, LibraryStatsPage, WrappedContainerPage
private void NavHome_Click(object sender, RoutedEventArgs e)
{
    ContentFrame.BackStack.Clear();
    NavigateToPage(typeof(AllSongsListPage));
}

Placeholders

Temporary toast/dialog messages for:

  • Android: Albums, Genres, Wrapped pages
  • WinUI: Genres page

Pages exist in WinUI but not Android, or need stub implementations.

Original prompt

This section details on the original issue you should resolve

<issue_title>Navigation missing </issue_title>
<issue_description>Droid already has a drawer.
I need to make it in category and sub ones.
WinUI3 will have the same options too with a navigation selectbar horizontal on top or something similar.

I need to have nav for
Home, that always removes entire stack and sets homepagefragment as current page in droid or Allsongs page on winui3.

I'll have LastFM page, dimmer live page
Statistics page
Wrapped page
Artist , album genre pages </issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 10, 2026 17:05
Co-authored-by: YBTopaz8 <41630728+YBTopaz8@users.noreply.github.com>
Co-authored-by: YBTopaz8 <41630728+YBTopaz8@users.noreply.github.com>
Copilot AI changed the title [WIP] Add navigation structure for Droid and WinUI3 Add structured navigation for Android drawer and WinUI top bar Jan 10, 2026
Copilot AI requested a review from YBTopaz8 January 10, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Navigation missing

2 participants