docbrown/app
Joshua Wehner 30c0485507
Frontend for multiple reactions (v1) (#18808)
* Remove extraneous comment (see 9361d2 and 5c18f8)

* Flexible, multiple reaction types

* Fix reaction counts

* Re-use svg for active state for now

* Update yml, update spec

* Possible temp fix for failing tests

* Colorize reaction icon svgs

* Reaction engagement above post title

* Index reactions engagements (for logged-out)

* Maybe readinglist is special

* Try using crayons' dropdown as a drawer?

* readinglist isn't really public now

* feat: update the styles for the reaction drawer

* Grey background highlight, turn off border/shadow

* Read our feature flag docs, saw this was recommended

* Missed fifth emoji: party/tada

* Fix JS test errors

* Update test with tada

* Suppress flashing engagements when no public reactions

* Liberate jump-to-comments from unicorn replacement

* 'Add reaction' on tooltip

* Don't show reaction emoji on index unless it's been used

* rubocop

* Update heart+ total count when toggling

* Do not include 'readinglist' in drawer/public counts

* Fix semi-public readinglist so that icon is badged for current user

* Tweak heart-plus svg

* Style tweak: border on active reaction

* Show reacted icon on drawer trigger for 1.5 sec

* Tweak styles for engagements bar

* Style tweaks for multiple engagements (#index)

* Trying to get size working through crayons/inline_svg

* Sparkle hearts

* Restore unicorn

* Make heart-plus-active work when user has an active reaction

* Try 'hoverdown' a dropdown that activates with hover

* Long touch?

* Tap *outside* the drawer to close

* Mobile reaction drawer is also supposed to be columns

* More reaction count cleanup

* Final emoticons maybe?

* Fix reaction bug when feature disabled

* Remove readinglist from public reaction counts

* Update specs for new reaction categories

* Shuffle makes specs flaky

* Order does not matter

* rubocop

* Update to preserve readinglist analytics

* Shuffle makes specs flaky

* Fix flickering images, remove icon highlight for now

* Don't update total for readinglist

* reactions_by_user_id

* Try renaming this observer function

* Try unid ids for SVGs

* Remove local test file

* Simplistic test for the unique svg transform

* Fix javascript for current SVG

* Signifcant string literals in this case, rubocop

* Use the right expected output

Co-authored-by: Ridhwana <ridhwana.khan16@gmail.com>
2023-01-23 16:00:50 +01:00
..
assets Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
controllers Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
decorators Remove “Shield” icon in nav for Trusted Users - except admins and tag-moderators (#18791) 2022-12-07 15:40:44 +05:30
errors Favoring re-use of authorization error (#16992) 2022-03-24 08:16:28 -04:00
forms Using a Form Object that will persist for the Creator Settings Form (#15684) 2021-12-10 17:07:40 +02:00
helpers Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
javascript Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
lib Remove Vault Secrets page from admin interface (#18795) 2022-12-02 10:03:39 -06:00
liquid_tags Try sanitizing user-agent during embed validation (#18857) 2022-12-21 15:32:31 +01:00
mailers "Reply to" and "From" Email addresses for SMTP Configurations (#16499) 2022-02-16 16:14:54 +02:00
models Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
policies Change requirement for response_template (#18601) 2022-11-02 12:16:17 -04:00
queries Remove community wellness badge rollout logic (#17639) 2022-12-19 11:48:31 -06:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Don't sanitize anchor elements with no href (#16667) 2022-02-22 11:27:38 -06:00
serializers Remove unused methods from User (#16616) 2022-02-18 09:02:17 +07:00
services Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
uploaders small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
validators Update messaging to be Bio (#18798) 2022-12-09 13:15:46 -06:00
view_objects Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
views Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
workers Extract Organization#conditionally_update_articles to worker (#18956) 2023-01-18 11:58:57 -06:00