pocket-casts-ios
pocket-casts-ios copied to clipboard
Transcripts: show transcripts through a shelf button
📘 Part of: #1848 |
---|
This PR:
- Add a shelf icon so transcripts can be accessed (and remove the tab)
- Show the transcript in the player view
- Add a close button to dismiss the transcript
https://github.com/user-attachments/assets/e26e750f-9aeb-47e5-8be1-621e5afe4bc8
To test
Flag disabled
- With the
transcripts
flag disabled - Open the player
- Tap "..." on the shelf (below the player buttons)
- Scroll down
- ✅ There should be no mention of Transcripts
Flag enabled
- Enable the
transcripts
flag - Open the player
- ✅ Transcripts should be the 4th button, if it's not tap "..." and move it to one of the first 4 positions
- Play an episode from the podcast Cautionary Tales
- ✅ The transcript button should be enabled
- Tap it
- ✅ Transcript should show
- Swipe down the transcript scrollbar
- ✅ The whole player should disappear
- Open the player again and tap the transcript icon
- Tap the close button ("X" at the top-left corner)
- ✅ Transcript should disappear
Checklist
- [x] I have considered if this change warrants user-facing release notes and have added them to
CHANGELOG.md
if necessary. - [x] I have considered adding unit tests for my changes.
- [x] I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.