docbrown/app/javascript
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
..
.storybook Updated storybook (#18559) 2022-10-11 12:54:50 +05:30
__mocks__ Bump focus-trap from 6.7.3 to 6.8.1 (#17425) 2022-04-27 08:09:21 -06:00
actionsPanel Redeploying the Flag/Unflag User functionality (#18235) 2022-07-28 09:03:37 -04:00
admin Removed nav related classes from feedback tabs (#18924) 2023-01-09 20:18:28 +05:30
analytics Show friendly error message on API fetch failure on stats (#17570) 2022-05-18 16:12:42 +02:00
article-form Actually get buildpulse to work with rspec and jest (#18859) 2022-12-19 14:31:29 -05:00
articles Add more descriptive accessible names for save/bookmark-buttons (#18583) 2022-11-10 09:48:13 -05:00
colorPickers Use the Preact ColorPicker in creator onboarding (#16731) 2022-03-03 08:22:10 +00:00
CommentSubscription Add a MultiSelect Autocomplete component to the Display Ads Page (#18560) 2022-10-26 16:24:31 +02:00
common-prop-types ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
contentDisplayPolicy Accessibility improvements for hide comments modal (#15462) 2021-11-24 09:50:27 +03:00
crayons Updated story book annotations (#18562) 2022-10-11 19:43:40 +05:30
display-ad Save selected tags to the display ad model (#18633) 2022-10-27 20:22:29 +02:00
githubRepos Add a MultiSelect Autocomplete component to the Display Ads Page (#18560) 2022-10-26 16:24:31 +02:00
hooks Replace listings tag component (#16855) 2022-03-30 16:51:40 +01:00
leftSidebar Refactoring cached_followed_tags (#16175) 2022-01-24 19:53:48 -05:00
liquidTags Used preact modal for userSubscriptionLiquidTag (#18623) 2022-10-25 02:01:52 +05:30
listings Recreate yarn.lock (#18776) 2022-11-30 07:45:49 -05:00
mobile Refactor runtime to webpacker JS (#17142) 2022-04-07 15:39:38 +01:00
modCenter Redeploying the Flag/Unflag User functionality (#18235) 2022-07-28 09:03:37 -04:00
onboarding Fix: onboarding profile bio textarea length (#18611) 2022-11-01 17:25:38 -06:00
organization [js] Update all Yarn dependencies (2022-09-23) (#18421) 2022-09-23 15:25:03 -04:00
packs Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
podcasts Updated story book annotations (#18562) 2022-10-11 19:43:40 +05:30
previewCards Add author profile preview cards to feed (#14340) 2021-08-13 10:55:43 +07:00
profileDropdown Removing a JS message about connect (#16982) 2022-03-23 12:30:59 -04:00
profilePreviewCards Generator updates (#16339) 2022-01-28 12:20:30 +01:00
readingList Updated storybook (#18559) 2022-10-11 12:54:50 +05:30
responseTemplates Removed sloan word (#18634) 2022-10-28 01:26:41 +05:30
runtimeBanner Refactor runtime to webpacker JS (#17142) 2022-04-07 15:39:38 +01:00
Search Fix search bar disappears on mobile (#18909) 2023-01-09 10:51:40 +02:00
searchableItemList Modified the misleading comment (history was removed) (#18455) 2022-09-19 11:37:24 +03:00
shared/components Fix jest datetime tests with regex (#18347) 2022-08-17 11:12:09 -04:00
sidebar-widget Refactoring SidebarWidget and sidebarUser (#10887) 2021-02-03 17:47:54 +00:00
Snackbar Updated story book annotations (#18562) 2022-10-11 19:43:40 +05:30
topNavigation Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
utilities Add a MultiSelect Autocomplete component to the Display Ads Page (#18560) 2022-10-26 16:24:31 +02:00
.eslintrc.js Add Google Analytics 4 Support (#18124) 2022-07-21 09:26:13 -05:00
netlify.toml Update storybook node version (#16106) 2022-01-14 08:00:39 -05:00
routes.js.erb [15-minute fix] Add js-routes gem (#15133) 2021-11-01 10:08:15 +07:00