FChannel0 / FChannel-Server

GNU Affero General Public License v3.0
106 stars 14 forks source link

[Feature] Home Page Improvements #15

Open seniorm0ment opened 3 years ago

seniorm0ment commented 3 years ago

Of course users would be able to customize this at will, but the "stock" homepage would be nice. Things such as a board list other than thr top (/lit/ - Literature, /g/ - Technology). An link to a page that displays instances the instance federates with, a list of other public instances. Utilize that blank space a bit better.

seth-scherer commented 3 years ago

making the github link an actual hyperlink, as opposed to generic text would also be good to have

153 commented 3 years ago

Of course users would be able to customize this at will, but the "stock" homepage would be nice. Things such as a board list other than thr top (/lit/ - Literature, /g/ - Technology). An link to a page that displays instances the instance federates with, a list of other public instances. Utilize that blank space a bit better.

setup generating a file in ./static/ seems appropriate and easy to do, maybe placeholders like {board-list} or {board-title} could be introduced

ghost commented 3 years ago

It would be nice if the known instances list was a list of hyperlinks as well.

ghost commented 3 years ago

Any thoughts on this demo? Planning on changing news items to a link to a full-page news article with just the title on the main page, and converting from unix time to human readable time. demo

seniorm0ment commented 3 years ago

Personally I think all the content would look better placed within a table similar to www.4chan.org. It would also be cool to have a stats table and popular threads section at some point.

ghost commented 3 years ago

I had both of those thoughts as well. I will poke at the table again tomorrow, it was finicky earlier. I'm not doing popular threads, it's a pain in the ass without some custom database functions and I don't understand FChannel's database structure well enough yet to write them. Someone more motivated can do it. Here's what I've got so far. demo demo2

seniorm0ment commented 3 years ago

can that news feed dynamically expand the latest post maybe? then close it after a new one is posted (and expand the new one, and so on)? would be cool

ghost commented 3 years ago

It kinda breaks formatting, but yeah. Looks awkward to me, I'll leave it if others approve. demo

seniorm0ment commented 3 years ago

imo it's not bad. maybe add an arrow or a connector line going from the left of the post title to the start of the text? in the case of the addition of tables, it could simply be seperated with a horizontal line which would make it look nicer.