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

feat: show login dialogue for features behind login #4431

Conversation

amk-dev
Copy link
Contributor

@amk-dev amk-dev commented Oct 12, 2024

Fixes HP-306 HFE-616.

Changes

Previously, we hide the features that required login. This PR shows the features, but when the user tries to trigger it, it will open the login dialogue.

This PR made this change to these features

  • Auto rename requests
  • Request body generation
  • Import from another workspace

Copy link
Member

@jamesgeorge007 jamesgeorge007 left a comment

Choose a reason for hiding this comment

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

There's an edge case with the Import from Another Workspace action where logging in via the above action and proceeding to choose a workspace to import from only lists Personal or will show an infinite spinner until initiating a page reload or expanding the workspace selector to fetch the list of workspaces.

This can also be reproduced in the pre-existing implementation by choosing the Import from Another Workspace action immediately upon logging in.

import-from-another-workspace-edgecase.mov

@jamesgeorge007 jamesgeorge007 force-pushed the feat/show-login-on-login-enabled-features branch from 5bf8957 to bb25e33 Compare November 13, 2024 06:12
@jamesgeorge007 jamesgeorge007 merged commit 1dc0cee into hoppscotch:next Nov 13, 2024
1 check passed
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.

3 participants