Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Article posting #12

Merged
merged 18 commits into from
Jun 11, 2024
Merged

Article posting #12

merged 18 commits into from
Jun 11, 2024

Conversation

paulmckissock
Copy link
Contributor

Made the home page which displays all articles. If you click on an articles title it goes to the link of the article. Clicking on the "comment" button goes to that articles page where comments will be shown once I add them. The add article button goes to a page where you can add an article.

Copy link
Contributor

@noahko96 noahko96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this looks good. There is a bunch of excess stuff that I would scrap because it isn't needed. I think most of that stuff comes from the generators. Fine that you used the generators for this, but going forward, I would skip the generators and just create the new models and stuff yourself, since that will be better for learning purposes. Good that you saw how the generators worked at least once though. Also, going forward, I would try to break up the PRs into smaller, more easily reviewable changes. For example, I would've put the creation of the app into a separate PR from the articles work. There were also some readability things that would be fixed by a formatter in your editor, so I would try to get one of those installed. Otherwise, you just want to basically finish this work by filling out the README and adding some seeds and tests (along with switching from fixtures to factories). Let me know if any of this doesn't make sense to you and you would want to pair on some of it.

.DS_Store Outdated Show resolved Hide resolved
Gemfile Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
app/assets/images/.keep Outdated Show resolved Hide resolved
app/channels/application_cable/channel.rb Outdated Show resolved Hide resolved
test/mailers/.keep Outdated Show resolved Hide resolved
test/models/.keep Outdated Show resolved Hide resolved
test/models/article_test.rb Outdated Show resolved Hide resolved
test/system/.keep Outdated Show resolved Hide resolved
test/test_helper.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@noahko96 noahko96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just another comment about more information that belongs in the README

README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@noahko96 noahko96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good except for the one note about the cloning instructions in the README, but now that you have tests, I think you should also add a test step to your build workflow so Github Actions will automatically run all the tests for you every time you push.

README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@noahko96 noahko96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@paulmckissock paulmckissock merged commit 9f7c3d2 into main Jun 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants