No description
Find a file
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
.github Create greeter (#4727) 2020-02-18 13:31:00 -05:00
.vscode Remove code related to vscode color customization (#5235) 2019-12-24 13:12:54 -05:00
.yarn/releases Use yarn 1.21.1 (#5786) 2020-02-05 17:04:06 -05:00
app Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00
bin Remove delayed_job (#6071) [deploy] 2020-02-14 10:00:26 -08:00
config Refactor Elasticsearch client access (#6307) [deploy] 2020-02-28 11:38:37 -05:00
datadog Disable Beeline on Schedulers and in Console (#5561) 2020-01-17 13:56:59 -05:00
db Custom social preview template for tags (#6290) [deploy] 2020-02-27 17:56:21 -05:00
docs Refactor Elasticsearch client access (#6307) [deploy] 2020-02-28 11:38:37 -05:00
lib Refactor Elasticsearch client access (#6307) [deploy] 2020-02-28 11:38:37 -05:00
log Initial commit 2018-02-28 16:11:08 -05:00
public Create dynamic robots.txt page (#5794) [deploy] 2020-01-28 16:49:34 -05:00
scripts Git scripts to sync or reset repository fork (#5055) 2019-12-30 13:58:16 -05:00
spec Nickytonline/homepage main feed component (#6164) [deploy] 2020-02-28 14:14:47 -05:00
vendor/assets Initial commit 2018-02-28 16:11:08 -05:00
.babelrc Create DelayedJob config and misc DX changes (#979) 2018-10-26 13:15:14 -04:00
.codeclimate.yml Homepage feed components (#6052) 2020-02-19 11:39:13 -06:00
.dockerignore #4129 Reduce Dockerfile size (#4251) 2019-10-10 18:01:04 -04:00
.editorconfig Export articles/posts (#576) 2018-11-21 11:13:36 -05:00
.erb-lint.yml Excludes styles from (future) erb lintings (#6244) 2020-02-24 08:11:48 -06:00
.eslintignore Add app/assets/javascripts/lib to eslintignore (#4323) [ci skip] 2019-10-08 18:38:59 -04:00
.eslintrc.js Bump to sprockets 4.0.0 (#6172) [deploy] 2020-02-24 18:16:08 -05:00
.gitdocs.js Create DelayedJob config and misc DX changes (#979) 2018-10-26 13:15:14 -04:00
.gitignore Add Elasticsearch to Docker Compose (#5978) 2020-02-11 11:45:16 -05:00
.gitpod.dockerfile Add Elasticsearch to GitPod (#6198) [deploy] 2020-02-20 07:37:33 -06:00
.gitpod.yml Add Elasticsearch to GitPod (#6198) [deploy] 2020-02-20 07:37:33 -06:00
.nvmrc Changed .nvmrc to be more implicit (#5080) 2019-12-11 15:39:35 -05:00
.postcssrc.yml Initial commit 2018-02-28 16:11:08 -05:00
.prettierignore Use yarn 1.21.1 (#5786) 2020-02-05 17:04:06 -05:00
.rspec Initial commit 2018-02-28 16:11:08 -05:00
.rubocop.yml Update max line limit to 15 for RSpec files (#6344) [deploy] 2020-02-27 11:55:07 -08:00
.rubocop_todo.yml Routine rubocop fixes (#6138) 2020-02-18 11:21:42 -05:00
.ruby-version Upgrade Ruby to 2.6.5 (#4451) 2019-10-17 09:34:31 -04:00
.simplecov Change SimpleCov to be on by default (#4666) [ci skip] 2019-10-31 11:18:32 -04:00
.travis.yml Add Code To Setup the Elasticsearch Tag Index (#5919) [deploy] 2020-02-06 11:46:11 -05:00
.yardopts Adds Ruby source code documentation to docs.dev.to (#2656) 2019-05-02 13:50:58 -04:00
.yarnrc Use yarn 1.21.1 (#5786) 2020-02-05 17:04:06 -05:00
CODE_OF_CONDUCT.md Replace ban/banned with suspend/suspended in user facing text (#5816) [deploy] 2020-02-10 10:12:53 -05:00
config.ru Remove honeycomb code from config.ru (#2378) 2019-04-11 11:58:13 -04:00
CONTRIBUTING.md Update README and contributing guide (#6074) 2020-02-17 11:53:49 -05:00
docker-compose.yml remove rake jobs:work references from code (#6082) [deploy] 2020-02-14 15:18:08 -05:00
docker-entrypoint.sh #4129 Reduce Dockerfile size (#4251) 2019-10-10 18:01:04 -04:00
docker-run.sh Remove unused Envfile variables (#5474) 2020-01-14 12:05:35 -05:00
Dockerfile Copy .ruby-version into Dockerfile (#5976) 2020-02-10 17:10:10 -05:00
dockerhub-readme.md Implement docker-run.sh script + docker container build (#1844) [ci skip] 2019-03-18 18:31:39 -04:00
empty-module.js Initial commit 2018-02-28 16:11:08 -05:00
Envfile Notify slack when release phase fails (#6300) [deploy] 2020-02-27 10:50:59 -05:00
Gemfile Bump to sprockets 4.0.0 (#6172) [deploy] 2020-02-24 18:16:08 -05:00
Gemfile.lock Bump to sprockets 4.0.0 (#6172) [deploy] 2020-02-24 18:16:08 -05:00
Guardfile Remove controller specs (#2224) 2019-03-29 19:05:02 -04:00
jest.config.js Added jest config to support test utility modules. (#6154) [deploy] 2020-02-18 12:54:18 -06:00
LICENSE.md Ran all markdown files through prettier to fix a handful. (#4599) 2019-10-28 08:20:53 -04:00
Makefile Adds optional support for Docker/Compose (#296) 2018-10-12 11:48:53 -04:00
netlify.toml Add Setup for storybook.dev.to (#3885) 2019-09-03 16:49:37 -04:00
package.json Bump to sprockets 4.0.0 (#6172) [deploy] 2020-02-24 18:16:08 -05:00
Procfile remove rake jobs:work references from code (#6082) [deploy] 2020-02-14 15:18:08 -05:00
Procfile.dev Add explicit 0.0.0.0 bind option to Procfile.dev (#6147) 2020-02-18 14:26:17 -05:00
Procfile.dev-hot Initial commit 2018-02-28 16:11:08 -05:00
Rakefile Code cleanups (#659) 2018-08-07 11:00:13 -04:00
README.md Update README and contributing guide (#6074) 2020-02-17 11:53:49 -05:00
release-tasks.sh Notify slack when release phase fails (#6300) [deploy] 2020-02-27 10:50:59 -05:00
yarn.lock Bump codemirror from 5.51.0 to 5.52.0 (#6268) 2020-02-24 18:14:45 -05:00


DEV

DEV Community 👩‍💻👨‍💻

The Human Layer of the Stack

ruby version rails version Travis Status for thepracticaldev/dev.to Code Climate maintainability Code Climate test coverage Code Climate technical debt CodeTriage badge Dependabot Badge GitPod badge Netlify badge GitHub code size in bytes GitHub commit activity GitHub issues ready for dev Honeybadger badge

Welcome to the dev.to codebase. We are so excited to have you. With your help, we can build out DEV to be more stable and better serve our community.

What is dev.to?

dev.to (or just DEV) is a platform where software developers write articles, take part in discussions, and build their professional profiles. We value supportive and constructive dialogue in the pursuit of great code and career growth for all members. The ecosystem spans from beginner to advanced developers, and all are welcome to find their place within our community. ❤️

Table of Contents

Contributing

We encourage you to contribute to dev.to! Please check out the Contributing to dev.to guide for guidelines about how to proceed.

Getting Started

This section provides a high-level quick start guide. If you're looking for the installation guide, you'll want to refer to our complete Developer Documentation.

We run on a Rails backend, and we are currently transitioning to a Preact-first frontend.

A more complete overview of our stack is available in our docs.

Prerequisites

Installation Documentation

View Full Installation Documentation.

Developer Documentation

Check out our dedicated docs page for more technical documentation.

Core team

Vulnerability disclosure

We welcome security research on DEV under the terms of our vulnerability disclosure policy.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Please see the LICENSE file in our repository for the full text.

Like many open source projects, we require that contributors provide us with a Contributor License Agreement (CLA). By submitting code to the DEV project, you are granting us a right to use that code under the terms of the CLA.

Our version of the CLA was adapted from the Microsoft Contributor License Agreement, which they generously made available to the public domain under Creative Commons CC0 1.0 Universal.

Any questions, please refer to our license FAQ doc or email yo@dev.to.


Sloan, the sloth mascot
Happy Coding ❤️