* Do not render active announcements in mod tools
* Add a TODO around refactoring broadcast initialization
* Refactor initializeBroadcast to short-circuit on window.frameElement
* Move edit and delete buttons on chat messages to dropdown menu
* Move edit and delete buttons on chat messages to dropdown menu
* Use 'up arrow' as shortcut to edit last message
* Use 'delete key' as shortcut to delete last message
* Change span to button and handle case when lastMessage is undefined
* Fix up code
* Fix code
* Fix article heading color on dark themes
* Fix hash shoing when no article tags
* Truncate article titles at 60 characters
* Add tests for bug fixes, make sundry corrections
* Refactor tests
* Truncate title with CSS instead of JS
* Use crayons tag over custom tag
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Add specific height to fix weird anchor tag issues
* Add explicit pointer when hovering
Co-authored-by: Zhao-Andy <17884966+Zhao-Andy@users.noreply.github.com>
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
* Extract Welcome Broadcast styling into its own stylesheet
- Adds a stylesheet, notifications-welcome-broadcast.scss, for broadcasts
- Adds notifications-welcome-broadcast to minimal.scss
- Removes .broadcast-content from notifications.scss
- Adds TODOs for team-delightful to both stylesheets for future work
* Adjust TODO to be more team-specific for future greps
The PR being referenced by this comment has been merged, but I think
we actually _do_ want these styles to stay here after testing this feature locally
both with and without the explicit position and z-index properties.
* Add #show to the Broadcasts::Controller and to routes.rb
- Adds a show method to the Broadcasts Controller
- Adds a show route to routes.rb
* Add a show view for Broadcasts
- Adds show.html.erb to /internal/broadcasts
- Repurposes code from index.html.erb for show view
- Repurposes code from edit.html.erb for show view
* Rewrite /internal/broadcasts index to use a table
- Formats /internal/broadcasts with a table
- Removes on-hover functionality from show.html.erb
* Refactor Broadcast resources in routes.rb
* Redirect to #show on create and update for Broadcasts
* Add the Destroy Broadcast button to the Broadcast show view
* Remove style preventing Broadcast preview
* Add Broadcast styling back and add display: block to stylesheet
* Add display: flex to .broadcast-wrapper in layout.scss
* Remove superfluous slashes from opening tags
* Set up ahoy gem, add ahoy-js
* Import ahoy.js into base.js.erb
* Add trackNotification function to notifications/index.html.erb
* Add sanitized_broadcast_id helper
* Use sanitized_broadcast_id in broadcast partial
* Add specs around tracking welcome notifications
* Remove optional fields from Ahoy::Visit migration + table
* Fiddle with trait to see if it helps with CI failures
* Disable geocode tracking in ahoy
* Stub out SiteConfig in notifications page spec
* Update chat container of Connect
- Rename certain class names to improve BEM syntax and naming
- Update typography of message cells
- Update header of message area
- Use new 'info' icon to expand sidebar
- Update form fields for both writing and editing a message
- Implement Crayons styling for 'delete' modal
https://github.com/thepracticaldev/dev.to/issues/8437
* Update some tests aand class names
* Update tests
* Update info icon
* Update reference
* Update chat container of Connect
- Rename certain class names to improve BEM syntax and naming
- Update typography of message cells
- Update header of message area
- Use new 'info' icon to expand sidebar
- Update form fields for both writing and editing a message
- Implement Crayons styling for 'delete' modal
https://github.com/thepracticaldev/dev.to/issues/8437
* Update some tests aand class names
* Update tests