sparrowapp-dev / sparrow-app

Your next-gen API testing and development tool.
https://sparrowapp.dev
GNU Affero General Public License v3.0
52 stars 31 forks source link

Local Support - Environement #1161

Open Madhvan-0912 opened 3 months ago

Madhvan-0912 commented 3 months ago

Description:

  1. When the user is using Sparrow Edge (the version without login/sign-up), they should be able to create API requests and collections.
  2. The user should be limited to creating only one collection.
  3. If the user attempts to create more than one collection or use locked features, a popup should appear at the top of the screen with a message prompting the user to sign up and a CTA button for signing up.
  4. The popup can be closed, but it will reappear if the user tries to create additional collections or use locked features again.

Figma:

Acceptance Criteria:

Acceptance Criteria 1 [Creating API Requests and Collection]: Given: The user is using the Sparrow application without signing up or logging in When: They navigate to the collection section. Then: They should be able to create multiple API requests but can create only one collection.

Acceptance Criteria 2 [Attempting to Create Additional Collection]: Given: The user has already created one collection in a workspace When: They attempt to create an additional collection. Then: The action should not be performed, and no new collection should be added.

Acceptance Criteria 3 [Displaying Signup Popup]: Given: The user has already created one collection or tries to use a locked feature. When: They attempt to create another collection or use the locked feature. Then: A popup should appear at the top of the screen with the following:

Acceptance Criteria 4 [Dismissing the Popup]: Given: The user sees the signup/Log in popup. When: They click the close (X) button on the popup. Then: The popup should be dismissed and disappear from the screen. Note: The popup should reappear if the user tries to create additional collections or use locked features again without signing up.

Acceptance Criteria 5 [Handling Locked Features]: Given: The user is using the Sparrow application without signing up or logging in When: They attempt to access or use a locked feature. Then: A popup should appear with a message prompting the user to sign up and a CTA button for signing up. Note: The same rules for dismissing the popup apply here as well.

Technical Notes (If any):