Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Show User's Vote on List of Posts
Since Codidact shows + and - votes on the list of posts, would it be possible (practical...) to show if the currently logged in User has voted on each post? When displaying an individual post, there is a clear indicator (colored triangle). It could be shown in the list of posts by bold + color of either the +# or -#. This would be helpful to me because if I have already voted on a post then I am likely not so interested in visiting it again unless I see new activity. Or alternatively, seeing recent activity on a post which I have voted on might make me more likely to want to click into it again to see what has changed.
The only catch is that I don't know the cost (query time) of checking for user votes for all posts on the page.
1 answer
Having had a look into this, the cost of doing this in terms of database and page load time is prohibitive. Perhaps it's doable with some caching here and there, but at that point we're investing way more than we're getting out of this. [status-declined] for now.
1 comment thread