docbrown/app/javascript/packs
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
..
admin Show tag dropdown for Sidebar Right (Individual Post) location (#18779) 2022-11-28 14:16:27 -05:00
CommentTextArea Image uploading progress in comments editor + post editor (#18369) 2022-08-29 16:01:40 +05:30
modals Save list of previously-published articles when user is subject to an "un-publish all" action (#18535) 2022-10-06 14:17:20 +03:00
actionsPanel.js [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
admin.js Revise skip link behaviour (#15401) 2021-11-18 13:45:08 +00:00
analyticsArticle.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
analyticsDashboard.js add org analytics menu if user has organizations (#13995) 2021-06-23 14:35:23 +02:00
applyApplicationPolicyToggles.js Conditional rendering of "Create Post" link (#17076) 2022-04-05 12:47:12 -04:00
articleForm.jsx Scheduling articles (#17939) 2022-07-07 17:32:49 +03:00
articleModerationTools.js Redeploying the Flag/Unflag User functionality (#18235) 2022-07-28 09:03:37 -04:00
articlePage.jsx Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
base.jsx Async Hamburger Menu Implementation + Caching Optimizations (#18818) 2022-12-20 20:00:08 +02:00
commentDropdowns.js Sort comments reopen (#18349) 2022-09-13 11:37:48 -06:00
commentModPage.js Fix broken experience level button in moderation panel (#11797) 2020-12-08 10:20:35 +01:00
commentsDisplay.js Remove defer attributes from inline scripts - gist embeds (#13407) 2021-06-11 08:22:50 +01:00
confirmationEmail.js Creator Onboarding Confirmation Page (#14259) 2021-08-03 14:21:56 +02:00
contentDisplayPolicy.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
dashboardDropdowns.js Optimise dropdowns for accessibility: Dashboard and Manage pages (#13909) 2021-06-04 10:19:56 +01:00
dashboardTagsDisableUnchangedButtons.js [15 Minute Fix] Added the prefer-const eslint rule (#13098) 2021-03-23 16:29:56 -04:00
enhanceColorPickers.jsx Use the Preact ColorPicker in creator onboarding (#16731) 2022-03-03 08:22:10 +00:00
feedPreviewCards.jsx Add author profile preview cards to feed (#14340) 2021-08-13 10:55:43 +07:00
followButtons.js Add tracking for the registration flow - "Clicked on Create Account" (#18459) 2022-09-22 16:03:49 +02:00
foremCreatorSignup.js Add toggle button to 'New Forem Secret' form (#17016) 2022-03-29 08:29:29 -06:00
fullScreenModeControl.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
githubRepos.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
hideBookmarkButtons.js Hide 'Save' button on posts that belong to the current user (#17293) 2022-04-28 12:33:01 -04:00
homePage.jsx Refactor: no need to pass through the ahoy event name dynamically. (#18498) 2022-09-28 19:21:38 +02:00
homePageFeed.jsx Add Google Analytics 4 Support (#18124) 2022-07-21 09:26:13 -05:00
homePageFeedShortcuts.jsx Provide skip links: Tweak skip link style, refactor main area ID (#12694) 2021-02-17 10:15:31 +00:00
listingDashboard.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
listingForm.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
listings.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
modCenter.jsx Mod Center MVP 🎉 (#8744) 2020-06-23 14:58:16 -04:00
notificationPage.js Remove defer attributes from inline scripts - gist embeds (#13407) 2021-06-11 08:22:50 +01:00
Onboarding.jsx ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
onboardingRedirectCheck.jsx Remove Creator Onboarding Feature Flags from Codebase (#15982) 2022-01-31 11:30:43 -07:00
orgCreditsSelector.js Crayonsification of Listings form (#10429) 2020-09-30 09:14:48 +02:00
postCommentsPage.js Remove defer attributes from inline scripts - gist embeds (#13407) 2021-06-11 08:22:50 +01:00
profileDropdown.js Optimise dropdowns for accessibility - Profile page (#13916) 2021-06-14 12:31:23 +01:00
readingList.jsx Add Snackbar component on reading list (#15235) 2021-11-15 13:06:21 +02:00
runtimeBanner.jsx ForemMobile namespaced functions (#15212) 2021-11-23 15:25:29 -06:00
Search.jsx Crayons: Buttons vs CTAs (#15311) 2021-11-30 20:40:32 +01:00
searchParams.js feat: display card HTML for loading during search (#18674) 2022-11-04 13:11:59 -06:00
sidebarWidget.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
signupModalShortcuts.jsx Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
stickySaveFooter.js fix: 🐛 Fix Color displaying over button in settings (#17172) 2022-04-11 10:59:57 +02:00
storiesList.js stories list script as separate js file - defer attribute (#13993) 2021-06-21 10:59:30 +07:00
toggleUserFlagModal.js Redeploying the Flag/Unflag User functionality (#18235) 2022-07-28 09:03:37 -04:00
toggleUserSuspensionModal.js Ensure super moderator actions Note & AuditLog (#18569) 2022-10-12 09:36:41 -06:00
unpublishPostModal.jsx Used PreactModal for unpublish-post feature (#18019) 2022-07-06 16:29:08 +05:30
userProfileSettings.js fix character limits i18n (#15830) 2021-12-21 07:15:21 -05:00
validateFileInputs.js Tweak image upload validation experience (#18675) 2022-11-04 11:06:16 +01:00
webShare.js Use navigator.share on mobile devices (#13809) 2021-06-15 06:39:33 -06:00