Skip to content

Import dashboards in a fixed order #159

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

Merged
merged 1 commit into from
Jun 24, 2019
Merged

Conversation

carlosms
Copy link
Contributor

Fix #156.

This imports the dashboards in the order defined by their IDs.
I added sleep because of this comment #156 (comment). Overview was always added before any of the other 2, it does not make sense that it gets ID 3, so I thought maybe there is something running in parallel that could be causing that...

@carlosms carlosms requested review from smacker and se7entyse7en June 24, 2019 11:26
@smacker
Copy link
Contributor

smacker commented Jun 24, 2019

did it fix the issue for you? Do you have Welcome as 2 and Collaboration as 3 now?

@se7entyse7en
Copy link
Contributor

I tried twice and it worked:

Screenshot 2019-06-24 at 14 09 20

it's really hacky, but I don't think we have any real short-term option until we get our hands dirty with import/export.

@carlosms
Copy link
Contributor Author

did it fix the issue for you? Do you have Welcome as 2 and Collaboration as 3 now?

Yes, same IDs in a few tries from empty DB.

@carlosms carlosms merged commit f1da04c into src-d:master Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default dashboard to open should be 'Welcome' instead of 'Overview'
3 participants