* 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> |
||
|---|---|---|
| .github | ||
| .vscode | ||
| .yarn/releases | ||
| app | ||
| bin | ||
| config | ||
| datadog | ||
| db | ||
| docs | ||
| lib | ||
| log | ||
| public | ||
| scripts | ||
| spec | ||
| vendor/assets | ||
| .babelrc | ||
| .codeclimate.yml | ||
| .dockerignore | ||
| .editorconfig | ||
| .erb-lint.yml | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .gitdocs.js | ||
| .gitignore | ||
| .gitpod.dockerfile | ||
| .gitpod.yml | ||
| .nvmrc | ||
| .postcssrc.yml | ||
| .prettierignore | ||
| .rspec | ||
| .rubocop.yml | ||
| .rubocop_todo.yml | ||
| .ruby-version | ||
| .simplecov | ||
| .travis.yml | ||
| .yardopts | ||
| .yarnrc | ||
| CODE_OF_CONDUCT.md | ||
| config.ru | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| docker-entrypoint.sh | ||
| docker-run.sh | ||
| Dockerfile | ||
| dockerhub-readme.md | ||
| empty-module.js | ||
| Envfile | ||
| Gemfile | ||
| Gemfile.lock | ||
| Guardfile | ||
| jest.config.js | ||
| LICENSE.md | ||
| Makefile | ||
| netlify.toml | ||
| package.json | ||
| Procfile | ||
| Procfile.dev | ||
| Procfile.dev-hot | ||
| Rakefile | ||
| README.md | ||
| release-tasks.sh | ||
| yarn.lock | ||
DEV Community 👩💻👨💻
The Human Layer of the StackWelcome 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
- What is dev.to?
- Table of Contents
- Contributing
- Getting Started
- Developer Documentation
- Core team
- Vulnerability disclosure
- License
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
- Ruby: we recommend using rbenv to install the Ruby version listed on the badge.
- Yarn 1.x: please refer to their installation guide.
- PostgreSQL 9.4 or higher.
- ImageMagick: please refer to ImageMagick's installation instructions.
- Redis 4 or higher.
- Elasticsearch 7 or higher.
Installation Documentation
View Full Installation Documentation.
Developer Documentation
Check out our dedicated docs page for more technical documentation.
Core team
- @benhalpern
- @jessleenyc
- @peterkimfrank
- @maestromac
- @zhao-andy
- @lightalloy
- @rhymes
- @jacobherrington
- @mstruve
- @atsmith813
- @citizen428
- @nickytonline
- @joshpuetz
- @vaidehijoshi
- @juliannatetreault
- @ridhwana
- @fdoxyz
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.
Happy Coding ❤️