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

Feature request: Support environment variables #110

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

Conversation

vidya-hub
Copy link
Contributor

@vidya-hub vidya-hub commented Jan 20, 2024

Environment Variables Support (Under Development) #25

  1. Introducing the Environment tab for seamlessly incorporating environment variables in API requests within ApiDash.
  2. Users gain the ability to effortlessly manage multiple environments, with the freedom to create, edit, and delete variables within each environment.
  3. Select and utilize specific environments, tapping into their associated variables, when sending API requests from the requests page.

@vidya-hub vidya-hub changed the title Feature request: Support environment variables #25 Feature request: Support environment variables Jan 20, 2024
@ashitaprasad ashitaprasad added the work in progress Dev team is already working on this issue label Feb 6, 2024
@ashitaprasad
Copy link
Member

Hi @vidya-hub
Is the PR ready for review?

@vidya-hub
Copy link
Contributor Author

vidya-hub commented Feb 11, 2024

Hi @ashitaprasad

No,
Actually I am working on it,
And few issues need to fix.

Once it's done I'll update you.

Thank you.

@ashitaprasad
Copy link
Member

Sure @vidya-hub.
Can you kindly provide a checklist like the one mentioned below so that we can identify the tasks that have been completed and identify the remaining issues.

  • Task 1 - A new tab to manage ....
  • Task 2 - Persistence of env vars ..
  • Task 3 - Allow users to ....
  • Issue 1 - Issue with ....

Thanks!

@vidya-hub
Copy link
Contributor Author

vidya-hub commented Feb 12, 2024

Hi @ashitaprasad

here is the checklist,

  • A new tab to manage environments and environment variables,
  • Persist the state of different environments,
  • Allow Users to change the environments in API Request Pane,
  • Allow users to select the environment variables as auto suggestion feature from the active environment in different API parameters fields,
  • Reflect the selected environment variables with there actual environment values while sending the request with code gen support,
  • Persist the entire environments data in Local DB.

The last 3 key features that i am working on,
Once it is finished i will update you.

Thank you!

@ashitaprasad
Copy link
Member

Thanks for the checklist @vidya-hub 👍

@vidya-hub
Copy link
Contributor Author

vidya-hub commented Feb 16, 2024

Hi @ashitaprasad,

I've added the basic implementation,

  • A new tab to manage environments and environment variables,
  • Persist the state of different environments,
  • Allow Users to change the environments in API Request Pane,
  • Allow users to select the environment variables as an auto-suggestion feature from the active environment in the URL field (will give support for other request fields as well in the future )
  • Reflect the selected environment variables with their actual environment values while sending the request

Screenshot 2024-02-16 215907
Screenshot 2024-02-16 215844
Screenshot 2024-02-16 215757
Screenshot 2024-02-16 215737
Screenshot 2024-02-16 215516

This is not a complete approach but it is a core-level working approach,
Can you please review the code and the functionality with UI,
Please provide the feedback,
So that I can finish the other modules that are pending on the checklist.

Thank you.

@ashitaprasad
Copy link
Member

Thank @vidya-hub
I will review the PR.

@ashitaprasad ashitaprasad added under review and removed work in progress Dev team is already working on this issue labels Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants