-
Notifications
You must be signed in to change notification settings - Fork 12
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
#108 Add stylized dogs#index page #112
Conversation
Interesting the spec locally doesn't fail for me, but it is failing in CI.... Hmmm |
I found this: tailwindlabs/tailwindcss#6738 Looks like if you add |
@ejuten I can try that. Though I'am not entirely sure why this is causing an issue since the test should be running on the |
@edwinthinks solid point. shrug I rewrote what you just put above. I should go to bed. |
@ejuten looks like it worked. Let me see if it has to do with the NODE_ENV though, maybe its trying to compile production but should be test. Lemme try that. |
46589b4
to
d525d7d
Compare
What an odd issue, this comment is interesting and maybe what the issue is? Not sure if it's worth it if the compressor line works?
|
d525d7d
to
1c3119f
Compare
1c3119f
to
6b89e4d
Compare
@ejuten yesss! It works. So I removed All green :) |
Does this also cover #103? I'm looking to contribute to that page |
@kinduff kind of - this doesn't handle any of the data modelings of dogs yet which I think is a requirement. |
Blargh yea. Guess the mini test equivalent of this that at least verified
the response is 200 and the header text exists.
…On Wed, Aug 24, 2022, 10:50 Edwin Mak ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In app/controllers/dogs_controller.rb
<#112 (comment)>
:
> @@ -0,0 +1,31 @@
+class DogsController < ApplicationController
+
+ def index
Yep, can do. Though I think we are using minitest?
—
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3S4W4EY7PIM47ZWOMNJ3DV2YZCFANCNFSM57NPLUNQ>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fantastic! 🎉
Resolves Issue #108 & partly #106
This PR adds the dogs#index page with styling to match the mock-up. Pull this branch down and goto the "/dogs" page.
Here are some high-level details worth noting:
components/_header
andcomponents/_textbody
partial was added so we can keep the styles consistent and avoid duplication. Changing the individual partials will change the page styling. This was only used on components that I actually think we be reusedNote
Here's a demo picture of it in desktop & mobile view: