docbrown/spec/system
Vaidehi Joshi e532ccbe42
Allow users to dismiss announcements (#8396) [deploy]
* Provide default crayon styles when creating banners

* Import crayons styles into /internal pages.
* Allow admins to use crayons banner styles when creating broadcasts.
* Preview banner styles with crayons.

* Add a "x" close button to announcements, fix styling to accommodate it

* Use constant and helper for broadcast banner styles

* Add VALID_BANNER_STYLES frozen constant to Broadcast class.
* Add banner_style helper for determining banner style class.

* Clean up preview CSS, import broadcast styles into preview

* Add close button click handler, clean up initializeBroadcast

* Add close functionality to announcement banner

Also hide announcement if the user has explicitly seen and "X"-ed out of it.

* Add system specs around rendering + dismissing broadcasts

* Add some (truly beautiful) JS documentation

* Add visible class to broadcast when previewed from internal
2020-06-11 08:24:43 -07:00
..
admin Add Percy 🦔 (#7783) [deploy] 2020-05-18 11:35:53 -07:00
articles Flaky Spec Fix: Clear Elasticsearch Data For js: true Specs to Fix Server Errors (#8388) 2020-06-10 14:12:19 -05:00
authentication [deploy] Authentication refactoring: cleanups (#7576) 2020-04-29 10:33:30 -04:00
comments Spec Speedup: Comment Out More Percy Only Specs (#8348) 2020-06-08 12:53:16 -05:00
dashboards Spec Cleanup: Remove Unused and Redundant Code from Specs (#8385) 2020-06-10 16:59:31 +02:00
homepage Allow users to dismiss announcements (#8396) [deploy] 2020-06-11 08:24:43 -07:00
internal Spec Speedup: Comment Out More Percy Only Specs (#8348) 2020-06-08 12:53:16 -05:00
notifications nothing to see here....except maybe reverting a push to master (#8308) 2020-06-05 20:34:21 -05:00
organization Spec Speedup: Comment Out More Percy Only Specs (#8348) 2020-06-08 12:53:16 -05:00
podcasts Add Percy 🦔 (#7783) [deploy] 2020-05-18 11:35:53 -07:00
search Spec Cleanup: Remove Unused and Redundant Code from Specs (#8385) 2020-06-10 16:59:31 +02:00
user Flaky Spec Fix: Clear Elasticsearch Data For js: true Specs to Fix Server Errors (#8388) 2020-06-10 14:12:19 -05:00
videos Add Percy 🦔 (#7783) [deploy] 2020-05-18 11:35:53 -07:00
banned_user_interactions_spec.rb Replace ban/banned with suspend/suspended in user facing text (#5816) [deploy] 2020-02-10 10:12:53 -05:00
link_for_tags_in_posts_in_notifications_spec.rb Add Percy 🦔 (#7783) [deploy] 2020-05-18 11:35:53 -07:00
user_selects_looking_for_work_spec.rb Spec Speedup: Comment Out More Percy Only Specs (#8348) 2020-06-08 12:53:16 -05:00
user_uses_the_editor_spec.rb Spec Speedup: Comment Out More Percy Only Specs (#8348) 2020-06-08 12:53:16 -05:00
user_views_a_reading_list_spec.rb Add Percy 🦔 (#7783) [deploy] 2020-05-18 11:35:53 -07:00
user_visits_a_comments_page_spec.rb Add Percy 🦔 (#7783) [deploy] 2020-05-18 11:35:53 -07:00