Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
The default event to show ($pageview or $screen) was captured from the event definitions, once they all had loaded. We don't wait for those to load before showing the filters, so that caused problems. This moves the default event name selection into django before the frontend loads.
Before:
![2021-07-22 14 37 51](https://user-images.githubusercontent.com/53387/126640270-72f101e4-cee5-4edc-b52f-4433c29b84e2.gif)
After:
![2021-07-22 14 36 53](https://user-images.githubusercontent.com/53387/126640139-3c77df94-133b-415f-ab31-72ac15f716c3.gif)
Checklist