docbrown/app
Aayush Gupta 4280434aed
Make podcast-playback to be controllable via keyboard (#14139)
* Make podcast-playback to be controllable via keyboard

* Add improved state handling for the play/pause controller

* Fix business logic + Improve HTML semantics

* Remove manual tabIndex addition (not required now)

* Refactor redudant event-listener

* Keep aria-pressed label in sync in all cases

* Code refactor

* Add seed data to create a test podcast

* Add a static file and use that as example podcast episode (#1)

Rather than relying at test time on external media, and requiring the
podcast episode import flow to run during e2e testing, just insert a
canned episode that shows.

Confirmed in cypress this does show after visit('/pod') in the
togglePodcastPlayback.spec.js

* Add cypress test

* Move cypress tests

* Update cypress/integration/seededFlows/podcastFlows/togglePodcastPlayback.spec.js

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* fix button name in test

Co-authored-by: Daniel Uber <djuber@gmail.com>
Co-authored-by: rhymes <github@rhymes.dev>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-08-20 12:45:53 +02:00
..
assets Make podcast-playback to be controllable via keyboard (#14139) 2021-08-20 12:45:53 +02:00
black_box Remove <provider>_created_at columns (#13264) 2021-04-29 10:24:16 -05:00
components/admin/users Refactor Admin Member Detail view - Tools section (#14283) 2021-08-17 18:55:53 +02:00
controllers Add user count to instance API (#14543) 2021-08-19 10:55:40 -04:00
decorators Remove hardcoded user profile fields (#14079) 2021-08-18 11:44:53 +07:00
errors Bump rubocop from 1.17.0 to 1.18.0 (#14107) 2021-07-01 13:51:49 +02:00
helpers Replace EmojiOne with Twemoji (#14517) 2021-08-17 21:29:21 +02:00
javascript Revise editor publish logic (#14546) 2021-08-20 09:04:11 +01:00
lib Arrange Datadog Redis integrations more usefully (#14185) 2021-07-09 15:19:37 -04:00
liquid_tags Bump rubocop from 1.18.4 to 1.19.0 (#14489) 2021-08-13 13:14:59 +07:00
mailers Re-add dynamic delivery_method for ApplicationMailer (#13994) 2021-06-23 15:17:27 -04:00
models Look for <html> tags instead of <body> for other emails (#14547) 2021-08-19 16:53:45 -04:00
policies Remove hardcoded user profile fields (#14079) 2021-08-18 11:44:53 +07:00
queries Bump rubocop from 1.17.0 to 1.18.0 (#14107) 2021-07-01 13:51:49 +02:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Remove button from allowed tags (#14434) 2021-08-11 10:48:07 -04:00
serializers Remove duplicated work display from header / profile work (#14210) 2021-07-30 12:28:40 +02:00
services Articles::DetectAnimatedImages: raise default timeout for FastImage (#14538) 2021-08-18 19:22:47 +02:00
uploaders Bump rubocop from 1.18.4 to 1.19.0 (#14489) 2021-08-13 13:14:59 +07:00
validators Allow setting nil value in Settings::Upsert (#14228) 2021-07-20 10:57:09 -04:00
view_objects Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
views Make podcast-playback to be controllable via keyboard (#14139) 2021-08-20 12:45:53 +02:00
workers Don't try to subscribe users without emails (#14244) 2021-07-15 10:34:23 -04:00