add a tag diff to /(node|way|relation)/:id/history#6995
Open
stillhart wants to merge 1 commit intoopenstreetmap:masterfrom
Open
add a tag diff to /(node|way|relation)/:id/history#6995stillhart wants to merge 1 commit intoopenstreetmap:masterfrom
stillhart wants to merge 1 commit intoopenstreetmap:masterfrom
Conversation
Contributor
Author
|
Just came across #6448. That one has kinda nicer styling but I don't like the "in change set view". Mine seems to be a different approach. An obvious diff that is explicitly in between the two affected records. |
Member
|
As you have apparently now discovered there is already a well developed PR working on this that has had a number of rounds of review so I think it's likely that is the best place to be working on things. |
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I added a tag diff between change sets to highlight the changes of tags.
The diff is not expanded by default. I wanted the diff in between the change sets to avoid confusion with the given state at that time. I wanted the diff to be opt-in.
I used the default bootstrap colors which contrasts many other implementations.
I didn't want any strike through text.
Relates to #738 #1253 #4765
Screenshots
Expanded
Without expansion
How has this been tested?
docker compose exec web bundle exec rails test test/system/element_history_test.rb test/helpers/browse_tags_helper_test.rbWhat should be discussed?
Tag changes from version #1 to #2all that much.oldnewpreviousnextbeforeafterNone of the above seem to be deal breakers for me.
Note: I was AI assisted.