@Madchatthew said in TNG + Nodebb:
you have to try and use duck tape and super glue to change something to make it do what you want it to do
I couldn’t have put that better myself.
@phenomlab no problem at all next time before reporting, I will refresh the page…
@phenomlab There is one thing I have to mention, yesterday I was checking sudonix as PWA (but my comment can be thought as related to general mobile design) and I realized that there is no easy way to go to /categories
page… It is indirect through the category panel…
If someone is accessing your website first time, I believe that is the page they would want to see to understand the general theme/aim of the forum… This is usually done either clicking the title or clicking the home icon…
But for this website, they both direct you to the /recent
page… I knew how to reach there since I use NodeBB daily but if I was outside user, I would struggle little bit
Of course, if everything is intentional, then there is no problem… I just wanted to bring this to your attention…
@crazycells Good points. Thanks. I will review this.
@crazycells hmm. Just looking at this and I do see what you mean but if you tap the category icon it should auto expand with the first option in the list being “All Categories” which will take you to /categories
.
In addition, it’s possible to change the default home page in your profile settings.
@phenomlab yes I know, but that is “two clicks”… nowadays “two” is too much to get the main page
it is ok for me, I know how to navigate, but I was talking from a new user’s perspective (even unregistered one)… no need for any change if it is OK for you
@crazycells yep. I get it! Good point.
Hi @phenomlab , upvote icon is better as a triangle, however I would love to see my upvoted posts more clearly, because currently, when I upvote, nothing on the post tool is changing, it would be nicer if there is an indication that I have upvoted (like a filled or colored triangle?) .
@crazycells hmm. Nice idea, but not that easy to implement unless there’s a hook that fires (not sure there is). Could be done with JS
but that could be too the detriment of page loads and ajax calls.
@phenomlab I think in this case a custom CSS code suffice…
we were using something like this:
.topic [component="post/upvote"].upvoted {
color: #085EAC;
}
.topic [component="post/upvote"].upvoted {
border: 0px !important;
}
.topic [component="post/downvote"].downvoted {
color: #EF4042;
}
.topic [component="post/downvote"].downvoted {
border: 0px !important;
}
@crazycells Good points, thanks. I completely forgot that classes are added - makes life much simpler!
EDIT - seems this is pretty straightforward, and only needs the below CSS
.upvoted i {
color: var(--bs-user-level) !important;
}
This then yields
However, the caveat here is that the .upvoted
class will only show for your upvotes, and nobody else’s. However, this does satisfy the original request
however I would love to see my upvoted posts more clearly, because currently, when I upvote, nothing on the post tool is changing, it would be nicer if there is an indication that I have upvoted (like a filled or colored triangle?)