Skip to content

[Feature]: Make artist and album names clickable in track list views #435

Description

@tsibog

Problem or Motivation

In the "Top songs" view for an artist (reached from an artist's page), clicking a track row starts playing the track immediately. There's no way to navigate to the artist page or album page by clicking the artist or album name in the row. Navigation to artist/album is only available via the context menu (right-click), which is not discoverable.

Reference screenshot showing the Top songs view with artist names and album names that should be clickable:

Top songs view showing track list with artist and album columns

In the screenshot, each row shows "Blazej Malinowski" as the artist and the album name. Currently these are plain text. Clicking them should navigate to the respective artist or album page, not start playback.

Proposed Solution

Make the artist name and album name in track rows clickable navigation links, not just the track title which triggers playback. This applies to:

  • Top songs view (TopSongsView.swift)
  • Playlist detail track rows (PlaylistDetailView.swift, PlaylistTrackRow)
  • History view (HistoryView.swift)
  • Any other song list views

Clicking the artist name should navigate to the artist page (like NavigationLink(value: artist)). Clicking the album name should navigate to the album page (like NavigationLink(value: playlist)).

The context menu "Go to Artist" / "Go to Album" items already exist (TopSongsView.swift lines 179-199), so the navigation destinations are wired. The issue is making the inline text itself clickable.

Alternatives Considered

  • Context menu only (current): works but hidden behind right-click, most users won't find it
  • Separate link buttons: clutters the row

Feature Area

Search (also touches Library / Playlists and UI / Visual)

Priority

Would improve my experience

Additional Context

The artist header link in PlaylistDetailView already demonstrates the pattern: HeaderArtistLinkLabel (line 845) uses NavigationLink(value: artist) with hover styling. The same pattern can be applied to artist/album text in track rows.

Related: issue #287 ("Draggable horizontal album scroll + Clickable band author in album detail") requests clickable artist names in album detail. This issue covers the broader track list views.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions