docbrown/config/initializers
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
..
0_application_config.rb Silence parser warnings (#18429) 2022-09-09 11:28:43 -04:00
1_imgproxy.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
acts_as_taggable_on.rb [deploy] Enable ActsAsTaggableOn.strict_case_match (#8299) 2020-06-05 13:52:01 -04:00
ahoy.rb Opt in settings for Ahoy Tracking (#18575) 2022-10-17 10:11:27 -06:00
ahoy_email.rb Upgrade to Ahoy 2.0.x (#13085) 2021-04-06 10:12:32 -05:00
application_controller_renderer.rb Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
assets.rb Upgrade to Ruby 3.0.2 (#12103) 2021-08-25 14:26:33 -04:00
audit_events.rb Include audit log for API admin endpoints (#18167) 2022-07-22 11:35:30 -06:00
backtrace_silencers.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
cache_logger.rb Enable cache logging in development if requested (#5330) 2020-01-02 08:11:58 -05:00
carrierwave.rb Revert "Support alternate S3 endpoints" (#16173) 2022-01-18 14:11:18 -05:00
carrierwave_monkeypatch.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
cloudinary.rb [15 min fix] Fallback to the image URL if Cloudinary/Imgproxy are not configured (#13767) 2021-05-19 15:03:20 +02:00
content_security_policy.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
cors.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
cypress_rails.rb Monkey-patch instead of forking cypress-rails gem (#15797) 2021-12-16 11:36:45 -05:00
datadog.rb Add DD service name for active_support and active_record (#18060) 2022-07-11 10:14:42 -04:00
devise.rb Add missing explicit scopes to Omniauth adapters (#17761) 2022-05-25 09:56:13 -06:00
devise_monkeypatch.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
docker.rb Enable Rubocop 0.89 cops and fix Lint/ violations (#9709) 2020-08-10 16:57:12 +02:00
filter_parameter_logging.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
flipper.rb Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
honeybadger.rb A suspended user returns 403 instead of 500 (#16408) 2022-02-04 09:42:23 -05:00
honeycomb.rb Bump to Rails 7.0.2.2 MVP (#15908) 2022-03-30 15:00:33 -04:00
hypershield.rb Hide the correct email PII on Blazer (#13733) 2021-05-11 18:43:46 +02:00
inflections.rb feat: add an inflection and change instances of gdpr to GDPR (#17567) 2022-05-04 16:20:46 +02:00
inline_svg.rb Frontend for multiple reactions (v1) (#18808) 2023-01-23 16:00:50 +01:00
js_routes.rb [15-minute fix] Add js-routes gem (#15133) 2021-11-01 10:08:15 +07:00
liquid.rb Routine Rubocop autofixes (#14604) 2021-08-30 11:44:57 -04:00
load_reaction_category_list.rb Refactor reaction categories as abstract class collection (#18540) 2022-11-01 10:50:37 +01:00
middlewares.rb Bump to Rails 7.0.2.2 MVP (#15908) 2022-03-30 15:00:33 -04:00
mime_types.rb API V1 transition (#17835) 2022-06-23 14:26:00 -06:00
new_framework_defaults_7_0.rb Enable framework 7's cache_format_version (#18064) 2022-07-12 15:44:23 -04:00
octokit.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
omniauth.rb Update OmniAuth to 2.0 (#12715) 2021-02-25 12:46:13 -06:00
permissions_policy.rb Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
rack_attack.rb Remove rack attack throttle for admin users in API requests (#18612) 2022-10-25 09:26:38 -06:00
reserved_words.rb Better Error Msg when Listing URL embedded and Listings are disabled (#17116) 2022-04-06 08:38:53 -04:00
reverse_markdown.rb Routine Rubocop autofixes (#14604) 2021-08-30 11:44:57 -04:00
rolify.rb #260 increase mentee-mentor description length (#405) 2018-08-20 10:20:23 -04:00
rpush.rb Fix Honeybadger typo in Rpush reflection callback (#18071) 2022-07-13 09:13:40 -06:00
s3_direct_upload.rb Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
session_store.rb Reconfigure session store, upgrade redis-actionpack (#16088) 2022-01-14 11:02:43 -05:00
sidekiq.rb Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
sidekiq_unique_jobs.rb [deploy] ensure that often run sidekiq jobs are unique until they execute (#7168) 2020-04-08 19:19:30 -04:00
slack_notifier.rb Encapsulate initializer methods in modules (#14507) 2021-08-17 08:19:13 -05:00
sprockets_uglifier_with_source_maps_compressor.rb Bump rubocop from 1.23.0 to 1.24.0 (#15872) 2021-12-27 10:04:59 -05:00
strong_migrations.rb Fix Sitemap for tags (#14989) 2021-10-08 15:25:04 -04:00
timeout.rb Adds optional support for Docker/Compose (#296) 2018-10-12 11:48:53 -04:00
vault.rb Routine Rubopcop lint fixes (#17844) 2022-06-07 10:17:16 -04:00
zeitwerk.rb Monkey-patch instead of forking cypress-rails gem (#15797) 2021-12-16 11:36:45 -05:00