Automattic / pocket-casts-android

Pocket Casts Android 🎧
Mozilla Public License 2.0
2.53k stars 209 forks source link

Transcripts - Integrate (temporary) UI container to show transcript in the Player #2425

Closed ashiagr closed 3 days ago

ashiagr commented 3 days ago

Description

This displays an episode transcript in the player container's "temporary" Transcripts tab.

Testing Instructions

  1. Launch the app
  2. Play an episode from "Cautionary Tales" (https://pcast.pocketcasts.net/8zpmjiru)
  3. Open player tab
  4. βœ… Notice there's a new Transcripts tab
  5. Tap on the Transcripts tab
  6. βœ… Notice that the episode's transcript is displayed on the tab (ignore all styling)
  7. Play an episode that does not have a transcript
  8. βœ… Notice Transcripts tab is not shown for the episode

Screenshots or Screencast

Checklist

I have tested any UI changes...

(N/A as views are temporary)

dangermattic commented 3 days ago
3 Warnings
:warning: This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.
:warning: Class DefaultColors is missing tests, but unit-tests-exemption label was set to ignore this.
:warning: Class PodcastAndEpisode is missing tests, but unit-tests-exemption label was set to ignore this.

Generated by :no_entry_sign: Danger

CookieyedCodes commented 3 days ago

Can I give my 2 cents on the UI even at this early stage, I've been finding the top bar a tad crowded since bookmarks have been implemented & especially with chapters it can get a tad unwieldy, my suggestion instead of text, transcripts should be an icon to the left of now playing, that will keep it smaller and keep it from being overwhelming in my opinion πŸ€”πŸ˜‰πŸ§

ashiagr commented 3 days ago

I've been finding the top bar a tad crowded since bookmarks have been implemented & especially with chapters it can get a tad unwieldy, my suggestion instead of text, transcripts should be an icon to the left of now playing, that will keep it smaller and keep it from being overwhelming in my opinion

Thanks for the feedback! I cannot yet share the UI but we won't add a new tab for transcripts. It is just a placeholder.

CookieyedCodes commented 3 days ago

Cul cul, thanks for shareing that information, looking forward to seeing it's placement then :)