Repository navigation
Conversation
Instead of using component state, use url parameters as data source for which chart gets displayed. This will be helpful when navigating from other parts of the application to a discover query.
0b139d0 to
228e5e6
Compare
| .find('Link a') | ||
| .at(1) | ||
| .simulate('click'); | ||
| .simulate('click', {button: 0}); |
There was a problem hiding this comment.
react-router checks for this
|
This seems to break toggling in discover. I'd also suggest dropping this |
|
@lynnagara Ah this is completely broken - I initially was comparing The problem with always keeping visual is when you're in a by day chart and you edit your query so that it doesn't support grouping by time (e.g. can only render a Table result), how do you suggest we get around that? |
|
Updated: 6a44b31 |
|
Here's an example of how I think the persistent querystring can work - i don't think it's significantly more complicated #11467 |
Instead of using component state, use url parameters as data source for which chart gets displayed. This will be helpful when navigating from other parts of the application to a discover query.