docbrown/app/assets/javascripts/initializers
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
..
initializeAdditionalContentBoxes.js Modify cache rate for additional_content_boxes (#4968) [deploy] 2019-11-29 17:07:22 -05:00
initializeAllChatButtons.js Fix JS Lints (#3815) 2019-08-26 18:01:12 -04:00
initializeAllFollowButts.js Remove unnecessary reaction call (#5122) [deploy] 2019-12-19 11:03:34 -05:00
initializeAllTagEditButtons.js Fix 'use strict' lints (#4414) [ci skip] 2019-10-14 13:46:15 -04:00
initializeArchivedPostFilter.js Fix 'use strict' lints (#4414) [ci skip] 2019-10-14 13:46:15 -04:00
initializeArticleDate.js Fix 'use strict' lints (#4414) [ci skip] 2019-10-14 13:46:15 -04:00
initializeArticleReactions.js Refactor initializeArticleReactions.js (#4303) 2019-10-08 08:41:43 -04:00
initializeBaseTracking.js.erb Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00
initializeBaseUserData.js Homepage UI Improvements (#5890) [deploy] 2020-02-19 11:24:44 -05:00
initializeBodyData.js remove unused variable and querySelector method (#4359) 2019-10-11 09:28:57 -04:00
initializeCommentDate.js Fix lint in initializeCommentDate.js (#4319) [ci skip] 2019-10-09 14:33:52 -04:00
initializeCommentDropdown.js Add Clipboard polyfill (#4824) [deploy] 2019-11-20 11:32:30 -05:00
initializeCommentPreview.js Fix lint in initializeCommentPreview.js (#4320) [ci skip] 2019-10-09 14:35:37 -04:00
initializeCommentsPage.js.erb Handle liquid tag errors in comments form (#5485) [deploy] 2020-01-14 14:10:05 -05:00
initializeCreditsPage.js Refactor: initializeCreditsPage.js (#4312) [ci skip] 2019-10-08 12:33:28 -04:00
initializeDashboardSort.js Refactor: initializeDashboardSort.js (#4313) 2019-10-09 10:32:27 -04:00
initializeDrawerSliders.js Add badges and org cta (#324) 2018-05-17 18:22:37 -04:00
initializeEllipsisMenu.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializeFetchFollowedArticles.js.erb Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00
initializeFooterMod.js Guard for presence of page-content in JS (#5138) [deploy] 2019-12-16 14:02:59 -05:00
initializeHeroBannerClose.js Make Hero Banner closable (#6333) [deploy] 2020-02-27 12:06:37 -05:00
initializeLocalStorageRender.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializePodcastPlayback.js Fix podcast NaN time issue (#5513) [deploy] 2020-01-14 15:30:11 -05:00
initializePWAFunctionality.js Open /connect sidecar links in iframe (#5203) [deploy] 2019-12-21 15:46:36 -05:00
initializeReadingListIcons.js Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00
initializeSettings.js Fix eslint issues in initializeSettings.js (#4329) 2019-10-09 16:05:07 -04:00
initializeSponsorshipVisibility.js Fixed some more Frontend Lint Issues (#3792) 2019-08-23 10:21:28 -04:00
initializeStylesheetAppend.js.erb Initial commit 2018-02-28 16:11:08 -05:00
initializeSwipeGestures.js Initial commit 2018-02-28 16:11:08 -05:00
initializeTimeFixer.js Refactor initializeTimeFixer.js (#4416) 2019-10-17 08:05:45 -04:00
initializeTouchDevice.js Use named function so duplicate event handlers are discarded (#4655) [ci skip] 2019-10-30 13:26:14 -04:00
initializeUserProfilePage.js Hide report-abuse on current_user profile (#4460) [ci skip] 2019-10-23 14:57:36 -04:00
initNotifications.js Move navbar rendering JS inline (#5141) [deploy] 2019-12-16 14:48:02 -05:00
initScrolling.js.erb Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00