Philip How
7c3e5b2b99
update style for new follower email ( #20908 )
2024-05-02 13:42:21 +00:00
Ben Halpern
1b216d517d
Add field test for Digest article list design ( #20912 )
...
* Add field test for Digest article list design
* Add check for cached user
2024-05-01 16:42:09 -04:00
Ben Halpern
63fa1ee2e6
Pick winner in header field test ( #20911 )
2024-05-01 12:38:16 -04:00
Ben Halpern
1287c343b6
Add search branding option ( #20902 )
...
* Add search branding option
* Change search test
2024-04-29 14:02:47 -04:00
Philip How
3ceb9a178a
Allow some badges to be awarded multiple times ( #20876 )
...
* Add migration, update badgeachievements model and admin view to set flag on badges
* Show multiple badges on profile
* update factory
* badge model validation
* safe navigation to badge?
* add null: false to migratrion
2024-04-23 16:33:43 -04:00
Ben Halpern
91810ba5d7
Add new headers a/b test for digest mailer ( #20881 )
2024-04-22 14:44:18 -04:00
Ben Halpern
f4c48fc83b
Add new article billboard locations ( #20878 )
...
* Initial work
* Add new billboard locations
* Clean up formatting
2024-04-22 13:58:39 -04:00
Ben Halpern
4d4cd87688
Declare winner in digest email subheader test ( #20877 )
2024-04-22 16:42:27 +00:00
Ben Halpern
154cd202b2
Add safe navigation to article.displayable_published_at.year ( #20873 )
2024-04-19 15:12:24 -04:00
Ben Halpern
a2b078e6de
Add Algoliasearch js client ( #20871 )
...
* Add Algolia client for future use if enabled
* Make key fixes
---------
Co-authored-by: Mac Siri <mac@forem.com>
2024-04-19 18:13:30 +00:00
Philip How
2129ae145b
Update style for new reply email ( #20861 )
...
* update style for new reply email
* Truncate and sanitize comment
* rubocop
* fix links, fix stop send when no content
2024-04-19 08:56:16 -04:00
Ben Halpern
99517df220
Add subheader a/b test to digest ( #20864 )
...
* Add subheader a/b test to digest
* Add billboards to digest emails (#20862 )
* Initial bb work
* Add billboards to digest
* Clean up tests and formatting
* Clean up tests and formatting
2024-04-15 13:53:41 -04:00
Ben Halpern
cbae624b5e
Add billboards to digest emails ( #20862 )
...
* Initial bb work
* Add billboards to digest
* Clean up tests and formatting
* Clean up tests and formatting
2024-04-15 12:01:00 -04:00
Gabriel Quaresma
58fa8d584c
fix: remove listings option from views/dashboards/_actions_mobile.html.erb ( #20849 )
...
Co-authored-by: Mac Siri <mac@forem.com>
2024-04-09 15:19:35 +00:00
Ben Halpern
35848e4582
Digest config ( #20834 )
2024-04-03 13:22:54 -04:00
Philip How
0d873a4554
Show "Resend Confirmation email" option on users profile when email not confirmed ( #20831 )
...
* Show reconfirmation option on users profile
* spec
2024-04-03 09:53:53 -04:00
Philip How
eb452078e3
Update confirmation email wording ( #20806 )
2024-03-28 11:10:26 -04:00
Philip How
b0086c9171
Add mark as spam button on user profile for admins ( #20794 )
2024-03-25 10:30:16 -04:00
Philip How
6b8c363487
Prioritize spam label over suspended, add to async profile check ( #20790 )
...
* Prioritize spam label over suspended, add to async profile check
* fix jest
2024-03-25 10:15:35 -04:00
Anna Buianova
7d5650c3f1
Admin access to spam comments by url ( #20775 )
...
* Admin access to spam comments by url
* Fixed spec
* Fixed view spec
2024-03-22 08:40:36 -04:00
Ben Halpern
01b55c646b
Use page social_image_url if present ( #20779 )
2024-03-20 10:23:30 -04:00
Ben Halpern
3b62ff1945
Finish Digest subject test and start count test ( #20773 )
...
* Finish Digest subject test and start count test
* Proper user
* Style tweak
2024-03-19 16:10:41 -04:00
Ben Halpern
a30b86a025
Allow billboards to target specific pages with "fixed bottom" placement ( #20748 )
...
* Add page fixed bottom billboard
* Add page fixed bottom billboard
* Fix schema
2024-03-15 14:32:30 -04:00
Anna Buianova
53f311b059
Add tag moderators by username w/o autocomplete ( #20767 )
2024-03-15 14:15:51 -04:00
Philip How
57c0078bd6
Allow admins to change reputation modifier ( #20766 )
...
* Allow admins to change reputation modifier
* locale + rubocop
2024-03-15 10:46:19 -04:00
Anna Buianova
f572275c9d
Admin access for spammers profiles and articles ( #20721 )
...
* Allow admins to visit spammers profiles and articles pages
* Added spam label to user profile and articles
* Unset cache control headers when providing admin access to spam content
* Removed unused comment
2024-03-12 13:25:59 -04:00
Ben Halpern
f4b94ce7f2
Early return from org follow check ( #20761 )
...
* Early return from org follow check
* Adjust podcast follow button
* Move early return to later
2024-03-11 18:24:19 -04:00
Ben Halpern
501b900108
Small digest style tweaks ( #20763 )
2024-03-11 18:09:17 -04:00
Ben Halpern
eb8006a841
Make ahoy_email default_options[:click] an env var ( #20757 )
...
* Make ahoy_email default_options[:click] an env var
* Also noted a typo here
* Manually mount AhoyEmail::Engine
* Disable by default
---------
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2024-03-11 15:43:55 -04:00
Ben Halpern
0d4f7c7e19
Add new simple a/b test for Digest subject and adjust config and design details ( #20754 )
...
* Adjust Digest Email design and configuration
* Adjust some tests
* Update tests
* More adjustments to markup and tests
* More adjustments to markup and tests
* Digest email feature flag
* Test title variants
2024-03-11 13:02:19 -04:00
Ben Halpern
fad28a1707
Allow feed billboards to be dismissable if dismissal_sku is present ( #20737 )
2024-03-06 15:16:23 -05:00
Philip How
751e9d70d2
Show ⚠️ icon on /admin when an article is not indexed on search engines ( #20713 )
...
* Add in icon when an article is not indexed on admin
* tests
* rubocop
* rubocop
2024-03-05 21:34:20 +00:00
Gabriel Quaresma
02459941a5
Profile bio does not recognize line breaks ( #20572 )
...
Co-authored-by: Mac Siri <mac@forem.com>
2024-03-04 20:37:16 +00:00
Ben Halpern
f2968baadb
Add optional client-side dismissal SKU for closable billboards ( #20716 )
...
* Add optional client-side dismissal SKU for closable billboards
* Safe nav
2024-03-01 16:13:19 -05:00
Anna Buianova
288c9ed31f
Fix articles counts based on display rules ( #20669 )
...
* Comment counts for signed in users
* Adjust comments count for articles
* Fixed counts for signed out users, added specs for Comments::Count
* Fixed counts for signed out and added specs for Comments::Count
* Removed debug info from the view
* Removed separate count for signed out users
* Remove irrelevant specs
* Remove unused scope
2024-03-01 07:54:15 -05:00
Philip How
fe213a81fa
Add Following Tags and Reconfigure Sidebar in Mod Center ( #20694 )
...
* reconfigure mod left sidebar, adding following tags
* add localization
2024-03-01 07:35:54 -05:00
Ben Halpern
78f9bec3e7
Allow admin to declare whether to include the badge description in message ( #20684 )
...
* Allow admin to declare whether to include the badge description in badge achievement message
* Update spec/services/badges/award_spec.rb
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Add proper acceptance to tests
* Tweak tests
* Switch to kwargs
* Clean up test acceptance
* Change interface
* Update spec/requests/admin/badge_achievements_spec.rb
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update app/services/badges/award.rb
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Adjust interface
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-28 11:02:58 -05:00
Ben Halpern
585bea212d
Remove non-contextual content from signed-out version of page ( #20686 )
2024-02-27 15:15:05 -05:00
Ben Halpern
f88784cc35
Add configuration for admins to specify compliant email strategies ( #20663 )
...
* Add configuration for admins to specify compliant email strategies
* Add keys for test
2024-02-21 08:27:26 -08:00
Ben Halpern
17d81b6cb1
[Hotfix] Fix cache key ( #20658 )
...
* Fix cache key
* Small style tweak
2024-02-19 19:24:36 -08:00
Ben Halpern
caa7b5a63a
[Hot fix] Fix style bugs with registration page ( #20656 )
...
* Fix style bugs with registration page
* Small additonal style tweak
* Final style tweak
2024-02-19 18:48:50 -08:00
Ben Halpern
6ef9a83252
Make mobile runtime banner optional ( #20637 )
...
* Remove runtime banner
* Show/hide runtime banner setting
* Update app/views/layouts/application.html.erb
* Update app/views/layouts/application.html.erb
* Update app/views/layouts/application.html.erb
2024-02-16 10:45:41 -08:00
Anna Buianova
d0f3fb6fff
Optimize and test comments cache after score change ( #20640 )
...
* Add specs for caching article comments, use cache_key_with_version
* Optimize cache busting for spammer comments, reorganized related specs
2024-02-16 14:53:11 +00:00
Ben Halpern
205aee8c78
Add billboard for bottom of page with allowance to delay until after reading is finished. ( #20616 )
...
* Add delayed behavior
* Add special behavior to billboards
* Fix order for test
* Test clicking outside element when close event is present
* Update app/javascript/packs/billboardAfterRenderActions.js
2024-02-13 11:56:32 -05:00
Anna Buianova
e5064b418f
Hide super low score comments if they are child comments ( #20612 )
2024-02-09 16:24:13 +00:00
Ben Halpern
2f9769a89d
Add new sidebar billboard locations and remove legacy campaign area ( #20562 )
...
* Add new sidebar billboard locations
* Remove some specs
* Remove campaign tests
* Adjust tag-allowed billboards
* Fix up targeting functionality
* Fix sidebar third render
2024-02-08 16:55:48 +00:00
Anna Buianova
07ffb2e3be
Removed spammers from followers list ( #20603 )
...
* Remove spam and suspended users from followers list (api and dashboards)
* Fixed the api followers endpoint
* Fixed issue with follower_ids query
2024-02-08 13:57:15 +00:00
Anna Buianova
7125a62db0
Changed logic for hiding and displaying low-quality marker for comments based on their score ( #20581 )
...
* Specs for revised comments thresholds
* Changed thresholds for low quality comments
* Added specs for comments page
* Fixed /comments and related specs
* Reorganized code for comments trees
* Specs for podcasts episodes comments
* Refactored Comments::Tree
* Refactored Comments::Tree + added specs
* Made build_sort_query private
2024-02-05 09:27:24 -05:00
Philip How
15bac7afbc
Add safe-navigation for note author ( #20571 )
2024-01-30 15:18:59 -05:00
Ben Halpern
ee29318126
Add a/b test for which comments to show in feed ( #20332 )
...
* Add a/b test for which comments to show in feed
* Adjust figure
* Started at
* Move scope placement around
* Add tests for different comments_variants passed
* Fix typo
2024-01-29 12:18:50 -05:00