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

Swapped out hamburger menu for a Login button in mobile view #3812

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

wes-otf
Copy link
Contributor

@wes-otf wes-otf commented Mar 15, 2024

Description

Fixes #3811. This removes the hamburger menu for unauthenticated users in favor of a simple Login button. If a signup is intended and ENABLE_PUBLIC_SIGNUP is enabled on the instance, the signup button can be found on the /auth/ view. I didn't want to overload the mobile view by putting login & signup next to eachother.

Test Steps

Testing no burger menu when not logged in

  • Ensure you're logged out
  • Set screen width to <= 600px
  • Ensure only a Login button appears in the top right

Testing burger menu for logged in users

  • Ensure you're logged in
  • Set screen width to <= 600px
  • Ensure only hamburger menu appears in the top right that shows dashboard options when selected.

@wes-otf wes-otf added Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter labels Mar 15, 2024
Copy link
Member

@theskumar theskumar left a comment

Choose a reason for hiding this comment

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

Like the approach!! The current login page doubles up as signup anyway.

@frjo
Copy link
Contributor

frjo commented Mar 18, 2024

Looks good, happy to merge this.

But when testing this I saw things we can improve in the overall login/signup flow/forms.

See #3813

@wes-otf
Copy link
Contributor Author

wes-otf commented Mar 18, 2024

@frjo I totally agree. Should we merge this as a fix for the time being and hit a refactor next or did you want to handle this now?

@frjo frjo merged commit db643d1 into main Mar 19, 2024
10 checks passed
@theskumar theskumar deleted the fix/mobile-menu-blanking branch March 19, 2024 18:30
wes-otf added a commit to OpenTechFund/apply-app that referenced this pull request Apr 1, 2024
…App#3812)

Fixes HyphaApp#3811. This removes the hamburger menu for unauthenticated users
in favor of a simple `Login` button. If a signup is intended and
`ENABLE_PUBLIC_SIGNUP` is enabled on the instance, the signup button can
be found on the `/auth/` view. I didn't want to overload the mobile view
by putting login & signup next to eachother.
wes-otf added a commit to OpenTechFund/apply-app that referenced this pull request Apr 1, 2024
…App#3812)

Fixes HyphaApp#3811. This removes the hamburger menu for unauthenticated users
in favor of a simple `Login` button. If a signup is intended and
`ENABLE_PUBLIC_SIGNUP` is enabled on the instance, the signup button can
be found on the `/auth/` view. I didn't want to overload the mobile view
by putting login & signup next to eachother.
wes-otf added a commit that referenced this pull request May 7, 2024
Fixes #3811. This removes the hamburger menu for unauthenticated users
in favor of a simple `Login` button. If a signup is intended and
`ENABLE_PUBLIC_SIGNUP` is enabled on the instance, the signup button can
be found on the `/auth/` view. I didn't want to overload the mobile view
by putting login & signup next to eachother.
wes-otf added a commit that referenced this pull request May 8, 2024
Fixes #3811. This removes the hamburger menu for unauthenticated users
in favor of a simple `Login` button. If a signup is intended and
`ENABLE_PUBLIC_SIGNUP` is enabled on the instance, the signup button can
be found on the `/auth/` view. I didn't want to overload the mobile view
by putting login & signup next to eachother.
Vldln pushed a commit to equalitie/hypha that referenced this pull request May 28, 2024
…App#3812)

Fixes HyphaApp#3811. This removes the hamburger menu for unauthenticated users
in favor of a simple `Login` button. If a signup is intended and
`ENABLE_PUBLIC_SIGNUP` is enabled on the instance, the signup button can
be found on the `/auth/` view. I didn't want to overload the mobile view
by putting login & signup next to eachother.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When logged out, the mobile "hamburger" menu is blank
3 participants