docbrown/spec
Nick Taylor f6e99dec8b
Nickytonline/homepage main feed component (#6164) [deploy]
* wip

* Removed reference to cached_tag_list as the feed enpoint only returns tag_list now.

* Removed reference to cached_properties.

* Updated <CommentsCount /> and <TagList /> to support additinal className

* wip

* wip

* Undid init scrolling for Algolia articles

* Converted homePageFeed.jsx to an ERB template to access Sprockets.

* Now the homePageFeed.jsx files is an ERB so it can load Sprockets assets.

* wip

* Removed accidental commit of debugger statement in ERB.

* Now different feed time frames are loaded based on the homepage feed tab clicked.

* Prevent default Algolia paging when on the homepage.

* Added a tiny comment about feed time frame.

* Now feed loads properly for each time frame on home page.

* prop name refactor.

* Reneabled default Algolia scrolling.

* On the homepage, we no longer overwrite article HTML with Algolia data for initial articles.

* Assumption is the proper URL for main_image of featured article will be sent in the feed.

* Fixed Google Analytics for featured article.

* No longer need the new-feed ID for checking if we're on the homepage.

* Trying to make codeclimate happy.

* wip

* Removed reference to cached_tag_list as the feed enpoint only returns tag_list now.

* Removed reference to cached_properties.

* Updated <CommentsCount /> and <TagList /> to support additinal className

* wip

* wip

* Undid init scrolling for Algolia articles

* Converted homePageFeed.jsx to an ERB template to access Sprockets.

* Now the homePageFeed.jsx files is an ERB so it can load Sprockets assets.

* wip

* Removed accidental commit of debugger statement in ERB.

* Now different feed time frames are loaded based on the homepage feed tab clicked.

* Prevent default Algolia paging when on the homepage.

* Added a tiny comment about feed time frame.

* Now feed loads properly for each time frame on home page.

* prop name refactor.

* Reneabled default Algolia scrolling.

* On the homepage, we no longer overwrite article HTML with Algolia data for initial articles.

* Assumption is the proper URL for main_image of featured article will be sent in the feed.

* Fixed Google Analytics for featured article.

* No longer need the new-feed ID for checking if we're on the homepage.

* Added postcst episodes to <Feed /> state.

* Breaking up Article.jsx to make codeclimate happy.

* wip

* Created the <TodaysPodcastEpisodes /> and <PodcastEpisode /> components.

* Fixed issues with some components that were updated for the <FeaturedArticle />

* Added tests for <FeaturedArticle />

* Barreled up <FeaturedArticle />

* Added Storybook stories for <FeaturedArticle />

* Featured articles don't display org, so removed that test.

* Added proper today's podcasts components to feed.

* Converted some leftover ERB + removed pro checkmark as it doesn't exist yet.

* Now logic is same as master for feed timeframe.

* Updated <FeaturedArticle /> snapshots.

* On frontpage, bookmark button state is managed by Preact components now.

* bookmarkedFeedItems is now a prop on <Feed />.

* Fixed logic check for initializing reading list icons.

* Now <Article /> and <FeaturedArticle /> receive a bookmarkClick prop.

* Removed beginnings of scroll handler in <Feed /> as we're using what's there already for now.

* Removed logic to not show main image on other time frame feeds as it was not correct.

* Fixed issue with 0 rendering when no podcast episodes in feed.

* Converted <SaveButton /> to a stateful component.

* wip - <Feed /> render prop now passes bookmarked feed item ID set and a click event.

* Moved FEED_ICONS to an export so it's easier to use JSX/JS in <Feed />

* Moved <Feed /> into article components.

* Now reading list save buttons work properly in Preact components.

* Fixed issue with Save buttons in Algolia paging/<Feed />

* Updated snapshots.

* Took <Feed /> out of articles barrel file as jest was trying to import FEED_ICONs which is an ERB template.

* Now the Preact feed is dynamically imported.

* Now the Preact <Feed /> only loads for a logged on user.

* Fixed <FeaturedArticle /> so that the save button behaves properly now.

* Updated article stories for Storybook.

* Putting this back to the order it was because I've removed my code changes for this block.

* Fixed when renderFeed is imported for a logged on user.

* Add podcasts to feed and render home from server

* Add padding to feature laoding div

* Update tests

* Add more loading articles

* Fix conflicts

* Add readinglist javascript to initscrolling

* Ensure first article is one with image

* Organize feed items outside of feed instead of in it

Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
Co-authored-by: Josh Puetz <josh@grorichpuetz.com>
2020-02-28 14:14:47 -05:00
..
black_box Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
decorators Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00
factories Mailchimp resubscribe (#6256) 2020-02-27 15:48:38 -05:00
fixtures Creating podcasts by users (#3730) [deploy] 2020-01-08 16:14:25 -05:00
helpers Add cache_key helper (#6190) [deploy] 2020-02-20 17:36:49 -05:00
initializers Refactor Elasticsearch client access (#6307) [deploy] 2020-02-28 11:38:37 -05:00
jobs/shared_examples Remove Reactions::UpdateReactableJob & spec (#6059) [deploy] 2020-02-13 08:59:03 -08:00
labor Allow different casings to be specified for syntax highlighting (#6354) 2020-02-28 12:36:27 -05:00
lib Notify slack when release phase fails (#6300) [deploy] 2020-02-27 10:50:59 -05:00
liquid_tags Bump Twitter to 7.0 and refactor TwitterBot (#6246) [deploy] 2020-02-24 08:34:41 -05:00
mailers [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
models Sanitisation of Ads (#6361) [deploy] 2020-02-28 13:20:34 -05:00
observers Move SlackBotPingJob to Sidekiq (#5615) 2020-01-22 08:24:33 -05:00
policies Remove leftover Stripe subscriptions code (#6243) 2020-02-24 08:33:36 -05:00
requests Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00
routing Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
services Refactor search specs to use index_documents helper (#6365) [deploy] 2020-02-28 11:08:46 -08:00
support Search ClassifiedListings backend code (#6348) 2020-02-28 10:51:33 -05:00
system Adds administrate gem CSS & JS assets to Sprockets Manifest (#6291) [deploy] 2020-02-26 09:21:09 -06:00
uploaders Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
views Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
workers Only send notifications that belong to an active broadcast (#6319) [deploy] 2020-02-27 08:02:45 -08:00
rails_helper.rb Search ClassifiedListings backend code (#6348) 2020-02-28 10:51:33 -05:00
spec_helper.rb Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00