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

Add shutdown button #862

Merged
merged 2 commits into from
Jan 13, 2022
Merged

Add shutdown button #862

merged 2 commits into from
Jan 13, 2022

Conversation

josevalim
Copy link
Contributor

The button only appears on interactive mode because
we assume embedded mode is running inside a release
or similar.

Screenshot 2022-01-13 at 09 32 09

path={Routes.settings_path(@socket, :page)}
active={false} />
<SidebarHelpers.user_item current_user={@current_user} path={Routes.home_path(@socket, :user)} />
<SidebarHelpers.shared_home_footer socket={@socket} current_user={@current_user} />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe default_footer, since we mirror it everywhere except the session page?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The naming is tricky. I am calling "home" all of the explorer, settings, etc. I think default is not very descriptive. :'( Any other ideas?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shared_home_footer -> shared_footer 🙈

I cannot think of a good word to describe all off-session pages :<

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I will keep the naming as is, those are all home-like pages or accessible from home. Once we expand things maybe we will have better naming ideas.

The button only appears on interactive mode because
we assume embedded mode is running inside a release
or similar.
Copy link
Member

@jonatanklosko jonatanklosko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 !!

@josevalim josevalim merged commit dbe4fde into main Jan 13, 2022
@josevalim
Copy link
Contributor Author

💚 💙 💜 💛 ❤️

@josevalim josevalim deleted the jv-add-shutdown-button branch January 13, 2022 11:22
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