codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
385 stars 69 forks source link

on profile page, repeat button for all posts at the top of the list #1237

Closed cellio closed 9 months ago

cellio commented 9 months ago

On the user profile page, copies the "show all" button from the bottom of the post list to the top as well. We could make the heading a link instead of having the button, but since it's the same operation maybe we want the same UI presentation. I'm open to changing that, though we only want the link if there are posts, so it complicates the view a little. I tried putting a link next to or immediately below the heading instead, but it looked ugly -- maybe just a matter of spacing.

Fixes https://github.com/codidact/qpixel/issues/1106.

A problem with "just go to the bottom of the page" is that on mobile the "right column" is at the bottom, so this button is somewhere in the middle.

cellio commented 9 months ago

How about we do something like this?

That would be much better! I couldn't figure out how to lay that out. Thanks.