Commit graph

13360 commits

Author SHA1 Message Date
kingomarnajjar
8ee46e60b2 x 2024-05-12 13:42:07 +00:00
Ben Halpern
b8dd675f87
Fix margin (#20946) 2024-05-10 18:16:21 -04:00
Ben Halpern
f8df0e550c
New Digest field test (#20939) 2024-05-10 18:05:44 -04:00
Philip How
021213b841
Redo: New badge display logic on user's profile (#20944)
* new badge display

* fix cypress

* fix cypress

* Fit grid to exact number

* change point at which badges shown on profile header to 7

* remove  accidentally added objects

* remove  accidentally added objects

---------

Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2024-05-10 17:45:18 -04:00
Mac Siri
40804ee02e
Remove unnecessary volume mount (#20945) 2024-05-10 20:41:43 +00:00
Mac Siri
3fccdcb507
Revert "New badge display logic on user's profile (#20936)" (#20941)
This reverts commit 149ae12dd1.
2024-05-09 15:44:18 -04:00
Philip How
149ae12dd1
New badge display logic on user's profile (#20936)
* new badge display

* fix cypress

* fix cypress

* Fit grid to exact number

* change point at which badges shown on profile header to 7

---------

Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2024-05-09 11:48:07 -04:00
depfu[bot]
f77e3487f2
Update omniauth-google-oauth2 to version 1.1.2 (#20933)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-05-09 15:28:50 +00:00
Ben Halpern
34df26c847
Put Algolia frontend behind feature flag (#20935) 2024-05-09 09:22:15 -04:00
depfu[bot]
2ee84c6452
Update terser to version 1.2.2 (#20932)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-05-07 17:22:09 +00:00
depfu[bot]
2f0fa899d3
Update rouge to version 4.2.1 (#20931)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-05-07 14:18:21 +00:00
depfu[bot]
2ed8c44280
Update pg to version 1.5.6 (#20930)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-05-07 13:58:50 +00:00
depfu[bot]
f3d09a2875
[ruby] Update request_store 1.5.1 → 1.6.0 (minor) (#20738)
* Update request_store to version 1.6.0

* Add temp fix to spec

---------

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-05-06 21:46:12 +00:00
Ben Halpern
b3b0eafe76
Implement MVP frontend for Algolia search (#20909)
* Add proper frontend for Algolia search

* Update app/models/concerns/algolia_searchable/searchable_comment.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update app/models/concerns/algolia_searchable/searchable_article.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix formatting

* Fix: copy to clipboard message (#20898)

* fix: copy to clipboard message

* chore: deletion of unused imports

* Pick winner in header field test (#20911)

* Updated the twitter icon to X icon - solved icon issue #20356  (#20910)

* changed the twitter icon to X icon in assets/images/twitter.svg

* Changed the twitter icon to X in assets/images/twitter.svg

* Add field test for Digest article list design (#20912)

* Add field test for Digest article list design

* Add check for cached user

* Include cached user in select (#20913)

* Include cached user in select

* Add tags

* update style for new follower email (#20908)

* Fix #19037 (#20917)

* Add alternate returns for html

* Remove console log

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Iasmim Pereira <100351576+IasmimCristina@users.noreply.github.com>
Co-authored-by: Darshan Padia <darshanpadia5@gmail.com>
Co-authored-by: Philip How <philip.j.how@gmail.com>
2024-05-06 15:20:53 -04:00
Philip How
37c2fb167c
Fix support for adding social image to the Pages API (#20916)
* Fix support for adding social image to the pages api

* refactor£

* test for the test god
2024-05-06 09:29:19 -04:00
Ben Halpern
55701f4303
Fix Twitter/X consistency (#20918)
* Fix Twitter/X consistency

* Adjust tests

* Adjust test regex
2024-05-03 12:24:06 -04:00
Philip How
c32663f8e9
Fix #19037 (#20917) 2024-05-03 12:16:49 +00:00
Philip How
7c3e5b2b99
update style for new follower email (#20908) 2024-05-02 13:42:21 +00:00
Ben Halpern
1cc59e08e0
Include cached user in select (#20913)
* Include cached user in select

* Add tags
2024-05-02 06:33:14 -04: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
Darshan Padia
b62ef2b4b1
Updated the twitter icon to X icon - solved icon issue #20356 (#20910)
* changed the twitter icon to X icon in assets/images/twitter.svg

* Changed the twitter icon to X in assets/images/twitter.svg
2024-05-01 14:58:40 -04:00
Ben Halpern
63fa1ee2e6
Pick winner in header field test (#20911) 2024-05-01 12:38:16 -04:00
Iasmim Pereira
67c48977db
Fix: copy to clipboard message (#20898)
* fix: copy to clipboard message

* chore: deletion of unused imports
2024-05-01 13:18:28 +00:00
depfu[bot]
88c54792f4
Update preact to version 10.20.2 (#20903)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-29 21:52:52 +00:00
depfu[bot]
82b9747035
Update cypress to version 13.7.2 (#20897)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-29 20:00:27 +00:00
depfu[bot]
0555a22321
Update all development Bundler dependencies (2024-04-29) (#20901)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-29 19:57:58 +00:00
Ben Halpern
1287c343b6
Add search branding option (#20902)
* Add search branding option

* Change search test
2024-04-29 14:02:47 -04:00
Mac Siri
7890944a9d
Add AlgoliaSearchable to Comment (#20899)
* Add AlgoliaSearchable to Comment

* Improve test

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Refinement

* Fix broken spec

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-26 17:30:00 +00:00
Mac Siri
d5ba407629
Add AlgoliaSearchable to Article (#20892)
* Add AlgoliaSearchable to Article

* Remove comments

* Fix spec
2024-04-26 12:59:13 +00:00
depfu[bot]
13a07630ff
Update babel-plugin-module-resolver to version 5.0.2 (#20896)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-26 12:55:39 +00:00
Mac Siri
f64863b729
Fix flaky ahoy spec (#20885)
* Try create account flaky spec

* Revert "Try create account flaky spec"

This reverts commit ad2eb73e04c5b951350c1868e338b8d801fa0d54.

* Try with basic sleep

* Refactor
2024-04-25 16:18:28 -04:00
depfu[bot]
39c4731b2d
Update @honeybadger-io/js to version 6.9.1 (#20893)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-04-25 18:29:13 +00:00
Ben Halpern
7a604e8f4a
Increment Algolia search frontend (#20891)
* Increment Algolia search frontend

* Increment Algolia search frontend

* Update @cypress/code-coverage to version 3.12.36 (#20887)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Update ahoy.js to version 0.4.4 (#20889)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Add AlgoliaSearchable to Tag (#20888)

* Add AlgoliaSearch::SearchableTag

* Refactor

* Update app/models/concerns/algolia_searchable/searchable_tag.rb

* Add AlgoliaSearchable to Podcast (#20890)

* Create AlgoliaSearchable::SearchablePodcastEpisode

* Refactor

* Remove pre-mature methods

* Add sort replicas

---------

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2024-04-25 13:19:28 +00:00
Mac Siri
1895237c24
Add AlgoliaSearchable to Podcast (#20890)
* Create AlgoliaSearchable::SearchablePodcastEpisode

* Refactor

* Remove pre-mature methods
2024-04-24 15:14:10 +00:00
Mac Siri
755939733d
Add AlgoliaSearchable to Tag (#20888)
* Add AlgoliaSearch::SearchableTag

* Refactor

* Update app/models/concerns/algolia_searchable/searchable_tag.rb
2024-04-24 14:41:58 +00:00
depfu[bot]
b17b323562
Update ahoy.js to version 0.4.4 (#20889)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-24 14:17:58 +00:00
depfu[bot]
2ac1095786
Update @cypress/code-coverage to version 3.12.36 (#20887)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-24 13:18:01 +00:00
depfu[bot]
55e766fd52
Update eslint-plugin-cypress to version 2.15.2 (#20886)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-24 12:08:24 +00:00
depfu[bot]
493021cb56
Update @babel/plugin-transform-private-methods to version 7.24.1 (#20872)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-23 21:42:24 +00: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
Mac Siri
c44a2dcdb0
Add AlgoliaSearchable for Organization (#20883)
* Add algolia for org

* Add test

* Remove redundant path
2024-04-23 19:35:53 +00:00
Ben Halpern
ed4843ef4c
Change digest rake to new schedule (#20884) 2024-04-23 10:09:20 -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
0675272d48
Update digest schedule (#20865) 2024-04-22 16:42:46 +00: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
depfu[bot]
495a72e076
Update @etchteam/storybook-addon-css-variables-theme to version 1.6.0 (#20799)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-04-19 14:25:09 +00:00
Mac Siri
d587ba962d
Add AlgoliaSearchable for User (#20869)
* Add AlgoliaSearchable::SearchableUser

* Update spec

* Refactor

* Refactor

* Add more test

* Refactor

* Update seeder to clear Algolia index if it exist

* All Algolia directly in update_score

* Fix broken spec

* Remove new queue

* Account for more user statuses

* Remove unncessary test for now
2024-04-19 14:03:04 +00:00