Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Floating discussion title #157
_1 Upvote_ I noticed as threads/topics are getting larger than my poor short term memory is causing an issue on Flarum. I noticed that I would start reading a topic and completely forget which topic I am currently reading.
For this reason I am going to suggest adding the title of the topic somewhere static. I'm not sure the best place for it, but I was thinking on the right sidebar maybe just above the scroll thing whose feature name I can't remember. :P (although, I'm not sure that location works for mobile devices)
I like the idea in theory, but the question is how to implement it.
I don't particularly like the idea of replacing the forum title when you scroll down (like esoTalk does) because (1) you lose the "home" button, (2) you lose the forum brand (unless you keep the icon part of the logo, like Discourse does, but that adds complexity), and (3) it would look weird when the pane is pinned because of the X-position disparity between the title and the actual discussion content on a wide screen.
In my original mockups I had the discussion hero collapsing into a sticky bar when you scroll down:
I did implement this at one stage but quickly removed it because the discussion content felt extremely suffocated, especially when the pane was pinned. Too many pixels used up.
It's important to keep in mind that there are still ways to see the title: in the browser's title/tab bar, or in the discussion list pane. Albeit these aren't as obvious as a sticky title would be. But I would personally be happy to not do anything.
A lot of other sites don't do anything either. GitHub issues, for example. Reddit. The comments on any blog.
Actually, I've changed my mind on this: I think we should replace the left side of the header with the discussion title when you scroll down, just like esoTalk. We still have a back button on the far left to get home. When the pane is pinned, maybe the header should remain fixed-width and just be pushed over to the right anyway.
What needs to be done:
changed the title from
I quickly forget which topic I am reading
Floating discussion title
Aug 27, 2015
I just would like to point out that this "issue" is even more apparent in mobile phones. I always end up forgetting in which discussion I am in.
Having to scroll up to the top of the page just to see the title, possibly triggering any in-between unloaded content to load, is understandably a no-go.
On the other hand, I don't think it'd be wise to keep the title displayed on limited screens all the time.
Scrolling up the page a few pixels should IMO bring into view the respective amount of the (initially hidden) title element height.
A transition between that title element and the top menu that would include the title would probably be required - when scrolling near the OP.