-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
ui clusterviz: naming things and URLs #19643
Comments
Hmm... the annoying thing about all this is that we actually do usage tracking based on URLs. Let me check with our metrics platform to see if they have suggestions. Regardless, even if this isn't backwards compatible, we should still fix it to make it make more sense. How about:
Also, it looks like /cluster/nodes will still be around, and can be navigated to form our new cluster overview page? We might need to iterate on this... |
|
cc @mrtracy @Amruta-Ranade @vilterp in case any of you have thoughts on these questions. |
+1 for Metrics |
For context, here is our current route structure:
Parent routes without their own entry on the above table (like |
Can we have /cluster/all/visualization or something similar for the cluster viz, and retain all existing ones? |
@Amruta-Ranade my concern with sticking with /cluster/ is that it seems to conflict with the side bar? we currently have a parent path for each side bar icon. I could also envision that we would eventually add an "admin" or "config" side bar, and that might be weird to crush everything under "cluster"? Although that would be the best option for us in terms of analytics. |
Hmm..then I would vote for Metrics. But why are we changing the parent path for the sidebar icons? 🤔 |
hmm.. that's true. I just personally thought it was easier to reason about - basically something only gets a side bar if it is important enough to be a parent. But I honestly don't feel too strongly about it, and would defer to @couchand |
But what isn't applicable to the cluster? Couldn't "databases" or "jobs" be nested under "cluster", too? What I don't like about the name "cluster" is that it doesn't provide any selectivity, so it doesn't tell the user what's there at all. I like the organizing principle of having one top-level route for each icon in the sidebar, it provides an easy rule that seems to make sense for primary navigation. I also think the title of the link should be the same as the path, unless there's some compelling reason not to. We should probably maintain redirects for all pages that we move, at least for one release cycle (and maybe forever), in case anyone has links around. Regarding analytics, there should be a way to bucket pages that moved, so we shouldn't have to lose the data. |
yes! sounds good to me. The one thing to note is that we can't use /cluster/all/overview, we have to use /cluster/overview, since /cluster/all/overview will cause an overlap with the old metrics page. Other than that, we can bucket. It will be obnoxious, but can be done! |
Ok, having read all the feedback, here's a proposal for the new route structure. Only regular user-facing pages are listed here.
Some questions:
Commence bikeshedding! |
I'm a big fan of pulling nodes out. That always confused me. Re bullet 1, I think not. I don't think every top-level route needs a sidebar link at this point. I actually envision nodes to eventually fall under something like "admin" or "configs" since we should probably be displaying more config info on those pages anyway. I think it makes sense to invert node / cluster distinction. Last note, we'll probably have to add that "ugly" zone config page I talked about a while back (showing which configs you have right now, and potentially which ranges and tables map to those configs). Where would that fit in here? And I'm sorry, I'm not very good at bikeshedding :( |
The question came up on #19850 what the fallback behavior should be in case a user of the OSS build tries a route that's only in the CCL version. My recommendation (alluded to above, but not made explicit) is that it just redirects to a nearby valid page if one makes sense. An alternative would be a specific 404 page mentioning that the feature is only available with an enterprise license, with a link to https://www.cockroachlabs.com/product/cockroachdb-enterprise/ |
I'm in the camp of your second proposal. That being said, I was actually thinking of doing a mini-kick-off to discuss what the user flow should look like for an OSS user hitting enterprise pages (either when their license expires or if they don't have a license to begin with). I was planning on setting something up next week once we have a final decision on exactly what the license flow will look like. If you're blocked on this though, we could do it earlier since I don't think the flow is dependent on what license we give users. |
Just a note that we should fix this before "shipping" the cluster overview. We also want to make sure to update the side navigation titles, namely from "cluster" to "metrics" |
Ok, I'm taking ownership of this issue, I'll implement the route structure in my last comment and update the side navigation, then close this. @dianasaur323 maybe you want to take note of some of the less actionable discussion here to transfer to other relevant issues (like the Cluster Viz/CCL/licensing/etc)? |
I think we can use this issue to track the CCL stuff: #19759. Added in some additional context from the comments. |
Contributes to cockroachdb#19643. Release note: none.
Can we/did we rename "Cluster Overview" on time series page to "Cluster Metrics"? |
@Amruta-Ranade that sounds consistent with the above plan. Also see #18956 |
Currently, the time series pages are titled "Cluster Overview", and are located (along with nodes and events lists) under the path
/cluster
. Given the upcoming introduction of the cluster viz page, these names are likely to be confusing. The paths might be fine (if the cluster viz just becomes the root of/cluster
, say), but there might be value in thinking about them as well.What names should be applied for:
The text was updated successfully, but these errors were encountered: