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

Import of Dashboard / Dataset - Environment selection drop-down list is limited to 5 environments #338

Closed
gavclark opened this issue Mar 1, 2023 · 3 comments
Assignees
Labels
effort: low priority: medium status: not-picked-yet At the moment we have not picked this item. Anyone can pick it up type: bug Something isn't working
Milestone

Comments

@gavclark
Copy link

gavclark commented Mar 1, 2023

Describe the bug

When you are importing a dashboard or a dataset using the "Import" button:

image

You are prompted to choose the environment to import the dashboard into:

image

However when you use the drop down, only the first 5 environments are shown :

image

I have access to more than 5 environments and cannot import dashboards / datasets

How to Reproduce

*P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.*

You must have access to more than 5 environments (and belong to a team who is an admin of that environment / has the "manage dashboards" permission in that environment

Navigate to "dashboards" , choose the "import" option and use the drop-down selection list for environment - it will be limited to 5 environments

Expected behavior

Should be able to import into any number of Environments where I am a member of the "admin" team of that environment , it should not be restricted to 5

Your project

n/a

Screenshots

No response

OS

n/a

Python version

3.8

AWS data.all version

1.0

Additional context

We really need to import these dashboards into our data.all environment and need a workaround ASAP

Please could you provide instructions if we can do this in the backend directly - perhaps by using the API's ?

@dlpzx dlpzx added type: bug Something isn't working status: not-picked-yet At the moment we have not picked this item. Anyone can pick it up status: needs more info labels Mar 1, 2023
@dlpzx
Copy link
Contributor

dlpzx commented Mar 1, 2023

Hi @gavclark, I will have a look to see if I can find the bug and fix it. Thank you for reporting it!

@gavclark
Copy link
Author

gavclark commented Mar 2, 2023

Thanks a lot @dlpzx :)

I have a feeling the import function is to enable a way to create a record for the dashboard / dataset in the metadata database ?

If that is the case, we could just insert the records directly into the metadata database for now rather than use the front end

For the time being, we've just reduced the number of environments someone has access to - so they can use the dashboard import function for a specific environment

@dlpzx
Copy link
Contributor

dlpzx commented Mar 15, 2024

Hi @gavclark this issue is solved in data.all >= 2.0.0, closing as completed!

@dlpzx dlpzx closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: low priority: medium status: not-picked-yet At the moment we have not picked this item. Anyone can pick it up type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants