Skip to content

[FEATURE-REQUEST] Environment selection dropdown  #251

Open
@ghost

Description

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions