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

storybook: Add storybook and stories for route symbols #2228

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

joshlarson
Copy link
Contributor

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.

@joshlarson joshlarson requested a review from a team as a code owner November 18, 2024 21:58
@joshlarson joshlarson requested review from anthonyshull and thecristen and removed request for anthonyshull November 18, 2024 21:58
end

scope "/", DotcomWeb do
# pipe_through([:secure, :browser, :browser_live, :basic_auth])
Copy link
Collaborator

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?

Copy link
Collaborator

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),
Copy link
Collaborator

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?

@thecristen thecristen added the dev-blue Deploy to dev-blue label Nov 19, 2024
@thecristen thecristen removed the dev-blue Deploy to dev-blue label Nov 19, 2024
@@ -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},
Copy link
Collaborator

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?

Copy link
Collaborator

@thecristen thecristen left a 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

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