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.

Post History

77%
+5 −0
Q&A Highlighting for tag diffs

In the diff for tags (as seen in a suggested edit, or in the edit history), the tags before editing are shown on the left, and the tags after editing are shown on the right. However, unlike the tex...

0 answers  ·  posted 2mo ago by trichoplax‭  ·  last activity 2mo ago by ArtOfCode‭

#1: Initial revision by user avatar trichoplax‭ · 2024-09-27T20:57:15Z (about 2 months ago)
Highlighting for tag diffs
In the diff for tags (as seen in a suggested edit, or in the edit history), the tags before editing are shown on the left, and the tags after editing are shown on the right. However, unlike the text diffs for the title and body, the diff for the tags shows no indication of which tags were removed, and which were added.

When there is a simple change, such as adding a single tag, this is still clear:
![Tag diff showing the tag "bug" on the left and two tags "bug" and "test" on the right](https://meta.codidact.com/uploads/8udqhlmrvvod4wcm9wfur80907iv)

However, when the total number of tags does not change due to adding and removing the same number of tags, and the added and removed tags are similar (which seems likely to be common), it is not immediately obvious which parts of the diff have changed, or how many tags have been replaced:

![Tag diff showing 5 tags on both sides that look similar. Left shows "bug", "test", "tag", "post", "comment". Right shows "bug", "tag", "post", "comment", "text".](https://meta.codidact.com/uploads/cxpubsx6n18tz3hgj7jn5szv41v8)

Spot the differences.

Tag diffs would be easier to read if they had similar highlighting to the title and body diffs.