-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Breadcrumbs #6770
Breadcrumbs #6770
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great, did an initial pass at this. Some comments inline. In addition, some UX issues:
- I strongly recommend adding the current view as part of the breadcrumbs (something like this), otherwise it's hard to know exactly where you are.
- It was confusing that some breadcrumbs are underlined and others not (see comment 3 too). In addition, "Insights" label is particularly confusing in this context, I wonder if for breadcrumbs we should call this "Insight list". Thoughts @clarkus ?
- Intuitively I would expect to be able to switch the project/org from here, if I'm seeing the name and context here.
- Breadcrumbs disappear on actions. Further, I would probably expect to see Actions as a separate thing, i.e. Hogflix > Demo app > Events > Actions.
The header is part of this pattern. It's meant to represent the current item. I do not think we should repeat that in the breadcrumbs.
I think these should match the names in the navigation. I'd rather go with "Insights" and help users learn what that implies. Also once you click it, you can easily confirm it's a list of insights.
Not part of this by design for now. It might be good to add this in the future if it turns out to be a problem for users (I already have designs for it), just don't want to overload this component for now. The main job of the breadcrumbs is to give you a better sense of current place, not so much to offer parity with the collapsed navigation.
I have an updated page design for this feature at https://www.figma.com/file/9yWtngNb1AIuf6KmXaEPJA/App-doodles?node-id=1121%3A143574. I think we'd just show the org and project in the breadcrumbs here (much like we do for insights). The header would set the context of Events & Actions, and the tabs would then take over setting the specific feature section. One thing we should change is the placement of that demo banner. That's mean to be page level, so ideally it'd be shown above the page header or below it. Header here would apply to anything from the breadcrumbs down to the horizontal rule used to delimit the page content from the header. |
I would even go so far to say that I would prefer if we remove the page title, and put it in the breadcrumbs... versus not having the page title in the breadcrumbs. We're duplicating information here anyway, so what's one extra link. Plus it really makes navigation between pages so much more intuitive, as you have all the information in just one condensed row. (made worse by the fact that the current page is not in the breadcrumbs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Officially requesting changes as well, to prevent the github bot from reminding me of this.
Thank yall for the feedback!
As for the Dashboards → Insights transition @mariusandra I think it's reflecting what's happening pretty well. Insights can be on dashboards (that's what the "On dashboard" button is), but they don't belong to them. Especially since we plan to add support for a many-to-many relationship between these two models. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me. I'd still find a way to get the true insight name inside the breadcrumbs when the URL refactor is done... but that's not today.
Other suggested changes:
- Change "Session recordings" to "Recordings"
- Change "Saved insights" to "Insights"
@mariusandra This feels more targeted to designs that separate page headers from breadcrumbs. We're not doing that. They're always shown together as a single header component. If they were shown separately, I'd be more inclined to repeat this, but based on our app hierarchy and the placement of this component I don't think we need to repeat the current page. Can you elaborate on the specific usability problems you're concerned about?
@Twixes I don't think we should do this. The header is meant to be an extension of the breadcrumbs. The header is a bold, prominent representation of the current location. I don't see what problem we're solving by repeating it in the breadcrumbs.
Shouldn't they all be links? Is this specific to showing the current item in the list of crumbs? If so, see my comment above. Not sure we should do this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just making my comments about the current breadcrumb item an official request change for github.
@clarkus It's hard to put a finger on it. Basically, for me the breadcrumbs are more or less useless without the final page in them, since I don't mentally register them as anything hierarchical without having an mental anchor to the current page in the list of links. I have no way of understanding that the current links are "everything up to the current page". I see the big title, and I know that's the title, but the font and style are so different, that the title and the crumbs could as well belong to a different and unconnected part of the page. Without the current page in the breadcrumbs list, I'm personally 99% sure I'll use the sidebar or the back/forward buttons when I need to navigate, and the crumbs will just waste valuable vertical space. That's my personal opinion, yet I'm quite sure the quote from the NNGroup site is for any kind of breadcrumbs, not for when they're followed by a big title. |
If we're worried about duplicating content... then, well, we're duplicating everything else in the breadcrumbs anyway, so why not make it complete? |
The main purpose of the breadcrumbs is to give the user a sense of place - it's absolutely redundant with the left navigation, but that navigation is shown conditionally. It's meant to confirm that you're looking at the right thing when you have that nav collapsed. Yes it helps you get back quickly to the parent items, but you will need to use the navigation to get anywhere not in that hierarchy chain.
Because this is repetition within the same component. You're literally saying I drew the proposed breadcrumb solution to illustrate why I think it's a dead end. What does repeating |
I do agree with Chris's point about duplication (+ there's technical complexity in using internal data like insight name + inconsistencies in formatting can easily creep in e.g. "Events Stats" vs "Event stats"). Though I can see why some users (like Paolo and Marius) may have a better experience with that crumb. It seems that both sides feel pretty strongly about this so maybe we should just ask a couple more PostHog users to try this out and report feelings?
@clarkus This is only loosely related to the final breadcrumb issue. The reason why in practice most of the breadcrumbs are not links is because the top-level ones (organization + project OR instance OR user) aren't. They are logical pointers, but not concrete ones. I am a bit afraid that it may hinder usage of those breadcrumbs that are links (pointing to concrete pages) if users are unsure what is clickable, but I have no great solution for that at the moment. |
I am very happy and willing to change my stance if we have information around a problem this addresses. I just can't see the problem we're addressing. User's might have opinions, but I feel like it should be based on a clear problem first.
I think it'd be fine to make those look look like unlinked text nodes in that case. We might eventually have more things built out around collaboration that gives us meaningful places to link to. Until then it's ok if they're not actionable. The core job is to show you where you are in the current context. If anything, an item looking like it isn't a link is a better UX because you know you can't click on the thing. |
Well, I still believe that without seeing a bold activated item inside the breadcrumbs, like here: ... the breadcrumbs lose all meaning and just become a random selection of loosely disjoined links that are mostly not even links. The header below the crumbs has a wildly different style, and you can't mentally link it into the breadcrumb navigation structure without stopping to think... which equates with confusing UX. That's also what the UX guidelines on the internet say, so ... I'm fine to go against common sense and remove them if this moves the project along, though it might be better to have a flag that enables/disables the last item, and ask for feedback from the rest of the company. @clarkus I think the screenshot above could use a good bit of padding between the breadcrumbs and the header, then it won't look so cramped. More aggressively, I would even consider removing the header, as with it being duplicated in the breadcrumbs, we could save some vertical space. Here are a few cases where having the breadcrumb looks perfectly fine to me (changing the last item style compared to what's in this PR): but of course if the header is so close to the crumbs it looks weird: |
This issue has 2118 words at 12 comments. Issues this long are hard to read or contribute to, and tend to take very long to reach a conclusion. Instead, why not:
Is this issue intended to be sprawling? Consider adding label |
I've conducted qualitative research by means of messaging random PostHoggers who happened to be online on Slack. The subjects were presented with two demo GIFs showcasing a specific breadcrumbful user flow: one without that final breadcrumb, the other with it. The result is: 2 out of 2 subjects were strongly in favor of the "You are here" breadcrumb. Let's keep it then. |
The one change I'd make is to make the last part look like on the mocked screenshots I posted, and like figma: just black bold text instead of blue italic. |
@mariusandra, you've said it all (it's as if we read the same book), putting out a PR to propose those changes and address a few other bugs I noticed, #7025. Great approach too @Twixes! |
Changes
🍞crumbs.
WIP.