-
Notifications
You must be signed in to change notification settings - Fork 11
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
storybook: Add storybook and stories for route symbols #2228
base: main
Are you sure you want to change the base?
Conversation
end | ||
|
||
scope "/", DotcomWeb do | ||
# pipe_through([:secure, :browser, :browser_live, :basic_auth]) |
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.
Did you mean to use this line?
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.
In any case just wanted to flag that this is not behind basic auth!
config :esbuild, | ||
version: "0.17.11", | ||
default: [ | ||
# args: ~w(js/app.js js/storybook.js --bundle --target=es2017 --outdir=../priv/static/assets), |
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.
Did you want to delete this?
@@ -84,6 +85,7 @@ defmodule DotCom.Mixfile do | |||
{:ecto, "3.12.4"}, | |||
{:eflame, "1.0.1", only: :dev}, | |||
{:ehmon, [github: "mbta/ehmon", only: :prod]}, | |||
{:esbuild, "~> 0.8", runtime: Mix.env() == :dev}, |
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.
I'm curious if this effects whether the build works for prod?
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.
Sorry to sprinkle a few questions so randomly.
- Ideally the CSS and whatnot on the deployment matches what we get locally
- Let's actually put this behind basic auth
Can be accessed by going to http://localhost:4001/storybook, and using the same basic auth credentials that you use to access the admin page.