As a user I will be redirected to the sources url if there is no currently selected source
• Sources should get its own resource (in the app) • If the user clicks on the host list or data explore and no source is selected (meaning there are either no sources, or none of the sources are listed as default) I should be redirected to the sources resource • If there is a default in the sources list the user should have that source selected for them
IMO this already works. Shouldn't be possible to click on the data explorer or host list without a source set.
The routes are /sources/1/hosts and /sources/1/chrono.... so if you ever get to those pages, a source is already chosen. Let me know if we're thinking about this differently @nhaugo
bump @nhaugo feedback wanted
I reopened #125 the only thing that is missing from this story is to connect to a default source if they have one.
Going to / when there is a default source I should see the host list page for that source instead of the the source selection screen
Pretty sure that this is working now.
From what I can tell, this is working - reject and let me know if I'm mistaken.