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] Environment selection dropdown #251

Open
ghost opened this issue Nov 9, 2022 · 1 comment
Open

[FEATURE-REQUEST] Environment selection dropdown #251

ghost opened this issue Nov 9, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request planned

Comments

@ghost
Copy link

ghost commented Nov 9, 2022

Describe the problem you're proposing to solve
I would like to add dropdown to switch between environments, such as Dev, Staging and Production. It will be similar to how it works on Auth0 admin dashboard. https://aws1.discourse-cdn.com/auth0/original/3X/a/b/ab4aa683485b1a91c098111b6d7036987e70b6a0.jpeg

Describe the solution you'd like
I would like to have the ability to switch environments within admin dashboard.

For example, when the user selects dev environment, the data should be saved in table using development prefix for primary key.

Is there a way Kaffy can automatically add these prefixes while saving the data. I am thinking some sort of composite primary key would be required.

Describe alternatives you've considered
I am very new to Phoenix and Kaffy. I would love to know if there's already some way of achieving this outcome.

Additional context
Please look at the environment selection dropdown on top left corner here https://aws1.discourse-cdn.com/auth0/original/3X/a/b/ab4aa683485b1a91c098111b6d7036987e70b6a0.jpeg

@ghost ghost added the enhancement New feature or request label Nov 9, 2022
@ghost ghost assigned aesmail Nov 9, 2022
@ghost ghost mentioned this issue Nov 10, 2022
@aesmail
Copy link
Owner

aesmail commented Nov 21, 2022

@fabulusp this sounds like a great feature to have in Kaffy! Although it's not going to be straightforward to implement, it aligns with the ongoing plans to make Kaffy much more extensible and customizable.

Currently, you can check the "customize the queries" section. It's not exactly what you're after, but it's the closest thing currently.

I will try as much as I can to come up with a plan to add this feature as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request planned
Projects
None yet
Development

No branches or pull requests

1 participant