generated from dxw/rails-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cleanup 2 #117
Merged
Merged
Cleanup 2 #117
Commits on Nov 18, 2024
-
Move hamburger nav show/hide logic to Stimulus controller
We've used Stimulus for other JS, and this makes functionality clearer.
Configuration menu - View commit details
-
Copy full SHA for 2127de0 - Browse repository at this point
Copy the full SHA 2127de0View commit details -
There's no good reason to keep these as separate files, and combining them makes it easier to see what's going on.
Configuration menu - View commit details
-
Copy full SHA for b883b7d - Browse repository at this point
Copy the full SHA b883b7dView commit details -
This partial doesn't appear to be used anywhere. I think it's a leftover from an early prototype.
Configuration menu - View commit details
-
Copy full SHA for df5aca0 - Browse repository at this point
Copy the full SHA df5aca0View commit details -
Wed on't need to wrap the location selector in another partial. This saves us a file.
Configuration menu - View commit details
-
Copy full SHA for b0d7c21 - Browse repository at this point
Copy the full SHA b0d7c21View commit details -
Simplify partial rendering calls
We can take advantage of Rails' defaults to write the rendering calls for partials more succinctly.
Configuration menu - View commit details
-
Copy full SHA for b66bd9c - Browse repository at this point
Copy the full SHA b66bd9cView commit details -
Rename footer navigation partial for clarity
The footer navigation was just called 'navigation' which made it easy to confuse with the header navigation
Configuration menu - View commit details
-
Copy full SHA for 19f57bb - Browse repository at this point
Copy the full SHA 19f57bbView commit details -
Rather than specifying the colours in the forecast tabs and the colours in the DAQI scale separately, we can define them all in CSS and then apply the same styles in both cases. This will make them easier to update in future.
Configuration menu - View commit details
-
Copy full SHA for 53d739b - Browse repository at this point
Copy the full SHA 53d739bView commit details -
Simplify tab component CSS classes
We can simplify the tab component quite a bit to make it easier to manage.
Configuration menu - View commit details
-
Copy full SHA for 380c1d1 - Browse repository at this point
Copy the full SHA 380c1d1View commit details -
Move the Tailwind class styles from individual elements to the stylesheet. This makes the HTML easier to understand. Eventually we may replace Tailwind entirely.
Configuration menu - View commit details
-
Copy full SHA for 6d1f890 - Browse repository at this point
Copy the full SHA 6d1f890View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.