Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

Comments on Post score in title text of vote counts does not update when voting

Post

Post score in title text of vote counts does not update when voting

+1
−0

When adding or removing an upvote or downvote, the user interface is updated without reloading the page. This changes the upvote and downvote buttons to be the appropriate colour based on whether the user has upvoted or downvoted or neither, and changes the number of upvotes and downvotes. However, it does not change the title text (tooltip/hovertext).

As an example, I added an upvote to a downvoted post, bring it up to equal upvotes and downvotes. I had to reload the page to make the score show as 0.5. I then removed my upvote, but the score still shows as 0.5:

Mouse pointer hovering over the voting buttons showing a score of 0.5

A page reload restores the correct score.

Could the score in the title text be included as one of the things that is automatically updated without a page reload?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Update pending (1 comment)
Update pending
Oleg Valter‭ wrote about 1 year ago

This PR should make the score updates without reloading the page possible - awaiting review, merge, and deployment.