osmcha-frontend icon indicating copy to clipboard operation
osmcha-frontend copied to clipboard

Incorrect order of text in TAG CHANGES report

Open iriman opened this issue 3 years ago • 1 comments

I'm submitting a (bug report)

Brief Description

image From the Tag Details pane on right side, you see that the name changed from the orange one to the yellow one. But this isn't reported correctly on the Tag Changes pane (left). On Tag Changes pane, it says yellow ➜ orange.

What is the expected behaviour ?

Reporting correct order for the name change the same way Tag Details table is reporting. (i.e. orange ➜ yellow)

When does this occur ?

For example when "A ➜ B" is made of RTL parts A and B.

How do we replicate the issue ?

  1. Visit https://osmcha.org/changesets/114891337
  2. Look at name change for way 388910106

Please tell us about your environment:

Firefox 95

Proposed solution:

Isolating A and B using <bdi> html tag to clear the situation for the bidirectional algorithm. (See Isolation at Unicode Bidirectional Algorithm basics)

iriman avatar Dec 17 '21 22:12 iriman

Since the arrow is hard coded, my proposal is to apply flex display on the wrapper. It seems it fixes the issue without making any side effect.

image

I can work on it.

ahangarha avatar Aug 04 '22 11:08 ahangarha