-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add CoreComponents from fresh Phoenix 1.7 app #976
Conversation
Coverage of commit
|
Coverage of commit
|
lib/arrow_web.ex
Outdated
@@ -18,6 +18,22 @@ defmodule ArrowWeb do | |||
below. Instead, define any helper function in modules | |||
and import those modules here. | |||
""" | |||
def static_paths, do: ~w(assets fonts images favicon.ico robots.txt) |
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.
Updated this file to match what a new app's lib/app_web.ex
looks like.
Verified routes: adds static_paths, verified routes functions from new app
Organization: Moves up router, channel functions
CoreComponents: added with html_helpers
function from new app
@@ -20,13 +20,15 @@ defmodule ArrowWeb.ConnCase do | |||
|
|||
using do | |||
quote do | |||
# The default endpoint for testing |
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.
Re-ordered to matches new app's conn_case.ex
Coverage of commit
|
I deployed this to dev with #978 so that it could be previewed with a working page from the phx.gen.html generators (that were broken pre-1.7 upgrade but with 1.7 required tailwind configuration for working CSS). |
Coverage of commit
|
4823396
to
f9e89ca
Compare
Coverage of commit
|
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.
🚢
Summary of changes
Relates to https://app.asana.com/0/584764604969369/1207488912719156
~p
heex
fileslib
to the Dockerfile before runningmix assets.deploy
Tested with phoenix generators in #978
Reviewer Checklist