docbrown/app/decorators
Ridhwana 0771a5cd2e
Load post_comments billboard asynchronously (#19285)
* feat: add a route to the async_info for display ads

* feat: load the billboard asyncronously

* feat: move the methods to the display_ads controller

* feat: handle params better

* feat: cache control headers

* feat: test fastly caching headers on display ads

* fix: surrogate key test

* feat: use safe navigation operator to handle cases where there is no article id

* fix: article id present then find the article

* feat: add a response test

* Fragment caching

* feat: update the article decorator

* feat: update cache keys for fragment

* feat: remove an empty line

* feat: add article id

* feat: bust cache

* feat: setup dropdown for billboard

* chore: add chunk to same line

* feat: add to safe params for caching

* Update app/controllers/display_ads_controller.rb

Co-authored-by: Joshua Wehner <joshua@forem.com>

* feat: remove the cache deletion

* feat: update the routes to follow a new scope

* feat: update the cache params

---------

Co-authored-by: Joshua Wehner <joshua@forem.com>
2023-04-12 18:15:15 +02:00
..
application_decorator.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
article_decorator.rb Load post_comments billboard asynchronously (#19285) 2023-04-12 18:15:15 +02:00
campaign_decorator.rb [Small win] Add display name to campaign settings (#16653) 2022-02-22 10:01:52 -05:00
comment_decorator.rb app/controllers & decorators i18n (#16126) 2022-02-03 13:35:56 -05:00
listing_decorator.rb Move HexComparer to Hex::Comparer service (#12202) 2021-01-12 11:34:30 -05:00
mention_decorator.rb Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
notification_decorator.rb Cleanup multiple reactions feature flag (#19257) 2023-04-07 17:14:10 +02:00
organization_decorator.rb Move HexComparer to Hex::Comparer service (#12202) 2021-01-12 11:34:30 -05:00
podcast_episode_decorator.rb Try hiding low-quality comments (#18513) 2022-10-11 14:15:40 +02:00
profile_decorator.rb Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
user_decorator.rb Remove “Shield” icon in nav for Trusted Users - except admins and tag-moderators (#18791) 2022-12-07 15:40:44 +05:30