bcc-code / bmm-web

[BMM] The BMM website and desktop app to listen to the content from BMM.
https://bmm.bcc.media/
GNU Affero General Public License v3.0
16 stars 8 forks source link

Title of the website #260

Closed SimonSimCity closed 1 month ago

SimonSimCity commented 10 months ago

There was already a small start by @sifferhans in the PR #258, which I asked him to roll back.

This ticket is first and foremost to create a concept of what should be the title of the website at any given time. @sclausendk, I think you should have a good first start in this discussion.

At the moment, the title is fixed to BMM.

sclausendk commented 8 months ago

In general: Pages for browsing: "Bmm – [Page name]" i.e.: "Bmm – Home" Albums / Playlists / Events: "Bmm – [Collection Title]" i.e.: "Bmm – Søstrestevnet 2020"

Are there other cases that needs to be solved?

SimonSimCity commented 8 months ago

@sclausendk does this look good? This is a full list of all the routes a user can load in BMM and how their title could look like:

Route Title
album/[id] Bmm – [Album title]
browse/index Bmm – Browse
browse/music Bmm – Music
browse/podcasts Bmm – Podcasts
playlist/contributor/[id]/[...name] Bmm – [Contributor name]
playlist/contributor/[id]/index Bmm – [Contributor name]
playlist/curated/[id]/[...name] Bmm – [Curated playlist name]
playlist/curated/[id]/index Bmm – [Curated playlist name]
playlist/podcast/[id]/[...name] Bmm – [Podcast name]
playlist/podcast/[id]/index Bmm – [Podcast name]
playlist/private/[id]/[...name] Bmm – [Private Playlist name]
playlist/private/[id]/index Bmm – [Private Playlist name]
playlist/shared/[sharingsecret] Bmm – Sharing Secret
playlist/latest Bmm – Latest playlists
track/[id]/[...language] Bmm – [Album title]
track/[id]/index Bmm – [Album title]
[...error] Bmm – Unknown route
archive Bmm – Archive
audiobooks Bmm – Audiobooks
contributors Bmm – Contributors
copyright Bmm – Copyright
daily-fra-kaare Bmm – Fra Kåre
featured Bmm – Featured
index Bmm – Home
music Bmm – Music
search Bmm – Search
speeches Bmm – Speeches
year-in-review Bmm – Year in review

Just currious - I don't really know the difference between the route /music and /browse/music. Guess this is some historical remainder...

sclausendk commented 8 months ago

This looks great :)

SimonSimCity commented 6 months ago

@sclausendk Since some requests already contain a title for the page, I've used that instead. Here's the full list of what #373 contains. The remaining should be implemented when their content is done.

Every title is prefixed with "BMM - ". If the title (for whatever reason) is empty, it's set to "BMM".

Route Title
pages/[...error] t("Unknown route")
pages/album/[id] album.title ?? t("Album")
pages/archive -not implemented-
pages/audiobooks data.title ?? ""
pages/browse/audiobooks data.title ?? ""
pages/browse/events data.title ?? ""
pages/browse/index t("Browse")
pages/browse/music data.title ?? ""
pages/browse/podcasts data.title ?? ""
pages/contributors t("Contributors")
pages/copyright t("Copyright")
pages/daily-fra-kaare -not implemented-
pages/featured data.title ?? ""
pages/index t("Home")
pages/music t("Recent music")
pages/playlist/contributor/[id]/[...name] contributor.name ?? t("Contributor")
pages/playlist/contributor/[id]/index contributor.name ?? t("Contributor")
pages/playlist/curated/[id]/[...name] playlist.title ?? t("Playlist")
pages/playlist/curated/[id]/index playlist.title ?? t("Playlist")
pages/playlist/latest -not implemented-
pages/playlist/podcast/[id]/[...name] podcast.title ?? t("Podcast")
pages/playlist/podcast/[id]/index podcast.title ?? t("Podcast")
pages/playlist/private/[id]/[...name] collection.name ?? t("Playlist")
pages/playlist/private/[id]/index collection.name ?? t("Playlist")
pages/playlist/search/[...term] t("Search")
pages/playlist/shared/[sharingsecret] -not implemented-
pages/search/[[term]] t("Search")
pages/speeches t("Recent messages")
pages/track/[id]/[...language] album.title ?? t("Album")
pages/track/[id]/index album.title ?? t("Album")
pages/year-in-review -not implemented-
kkuepper commented 1 month ago

Personally I prefer to have BMM first. But looking at other websites (Figma, Google, Microsoft Azure, ...), it's commonly done with BMM at the end. So I suggest doing the same.

sifferhans commented 1 month ago

Yeah, we probably want to have the most important information (title of track etc) first, so that it is easier to identify for users eg. when BMM is in another browser tab.

I would argue it is probably more useful to see CleanShot 2024-08-29 at 12 24 34

than it is to see CleanShot 2024-08-29 at 12 24 55