-
-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui): add episode shorthand to tv details UI (SxxExx) #3086
Conversation
We were actually just talking about this a few days ago. The season number in the badge is redundant, so that's not needed. Just the episode number would be enough. But I'm not sure whether it would be better as just As for the absolute episode number being shown, that's an issue for TMDB to deal with as far as I know. There is an absolute order numbering that's available on TMDB, so I'm really not sure why they're using the absolute numbering together with the seasons. Not ideal but well... |
Like @danshilm said. I think showing the season number again is redundant. We can keep it simple like |
While seasons with only 8-12 episodes, the Additionally, if an absolute episode number is implemented later (my thought is on hover of the badge), do you have thoughts on how to implement that with just the number up front? If we do decide to use just the episode number, I would say having it in text and not the badge would be best. ie |
Sorry for the late reply. I think your argument about the season number being helpful in very long lists is one heck of an edge case but I don't mind it so much. Looking at this again, I think my least favorite part is that we have a badge both before and after the title. Maybe moving the season/episode number badge next to the date would look better? e: Or we could consider using different colors for the badge in front. Something feels weird about how its sandwiched in this. |
@sct I agree on the sandwich feeling weird. I was really trying to make the badge work, as I'd really like the absolute episode number available in the future, and on hover of the badge feels like a natural way to do it. However, I feel like the episode number should be up front, and the air date info / badges feel like they should at the end. In the interest of getting this out, I'll revert these commits, and just make the episode number show up front. I feel like that's the easiest, quickest, least controversial change to get the episode number out, and the absolute number / badge / whatever can be addressed later if it ever comes back up. |
Sounds good. Let's start with that and see if we can improve afterwards. |
@sct got the simple change made. I just kept it in the same title line for formatting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
@all-contributors please add @aedelbro for code |
I've put up a pull request to add @aedelbro! 🎉 |
@holopin-bot @aedelbro add please :) |
Congratulations @aedelbro, you just earned a badge! Here it is: https://holopin.io/claim/clczkf4r8119208mmcb2l5qdg This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
🎉 This PR is included in version 1.32.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description
To provide the user more information concisely when viewing TV Details, this includes a "shorthand" for the episode
SxxExx
. In the future, I'd like to add an on hover that shows the absolute episode number.Screenshot (if UI-related)
As it currently stands:
![Screen Shot 2022-10-17 at 5 23 31 PM](https://user-images.githubusercontent.com/36162221/196288315-ebcdf935-352f-4b0e-b3c7-81526c583075.png)
With the shorthand badge:
![Screen Shot 2022-10-17 at 5 21 49 PM](https://user-images.githubusercontent.com/36162221/196288397-50e3140d-8bde-400e-87fa-81bd96018202.png)
To-Dos
yarn build
yarn i18n:extract
References
Here's the discord discussion thread
Potential Issues
While testing a few other TV Shows, sometimes it shows the absolute number. I've so far only found 1 show where this happens, so it might be limited to just it.
![Screen Shot 2022-10-17 at 5 28 33 PM](https://user-images.githubusercontent.com/36162221/196290292-ad919dd6-c658-49f2-b414-c88502edb17d.png)
When viewing One Piece, it shows the absolute episode number, instead of the episode number for just that season.
Example:
While it's not the end of the world, it's not desired (I think an on hover for absolute episode number would be best).
Additionally, it's not currently padding the episode or season number. That would require additional information to be returned to the UI, or significantly more logic. I could setup padding on the episode number within the season, but not between seasons.