You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
On staging.openhistoricalmap.org, where we deployed the latest iD changes with automatically incrementing Source X fieldsets, there's a weird offset of the delete behavior.
Here's a schematic of what is happening:
It looks to me like the Source fieldsets get created as Source, Source 1, Source 2,... but the trashcans are pointed at Source 1, Source 2...
What should be happening?
Since the base Source fieldset in the preset can never be deleted, it should never get a trashcan. Trashcans should appear only starting with Source 1 and the /trashcan on a fieldset should delete that fieldset, not the next one down.
Repro Steps Please provide detailed instructions to reproduce the behavior:
Hey Dan!
I replicated the bug and here's what is going on: Source 1 only shows up when there is data on Source, so, when the data on Source is deleted, Source 1 becomes hidden again. I made this behavior so that the user wouldn't find themselves in a situation where Source 1 was visible and empty, but Source wasn't visible, with the intent to guide the user to fill in the source fields in increasing order.
Do you think it makes sense to change this behavior?
I thought that the purpose of the trashcan button was to clear the data on the field, but not necessarily remove the field entirely. If the trashcan in Source is removed, it would be the only field that doesn't get a trashcan when there is data on it.
Clicking the delete button should delete the tag associated with the field. It’s only a coincidence that it happens to cause the following field to get hidden. That said, some users might be accustomed to seeing an ✖️ button associated with each field, based on using other software, so they might mistake the 🗑️ button for that functionality.
Would it be possible to still keep, say, Source 1 and Source 2 visible as long as source:3=* has a non-empty value?
Bug description
On staging.openhistoricalmap.org, where we deployed the latest iD changes with automatically incrementing Source
X
fieldsets, there's a weird offset of the delete behavior.Here's a schematic of what is happening:
It looks to me like the Source fieldsets get created as
Source, Source 1, Source 2,...
but the trashcans are pointed atSource 1, Source 2...
What should be happening?
Since the base
Source
fieldset in the preset can never be deleted, it should never get a trashcan. Trashcans should appear only starting withSource 1
and the /trashcan on a fieldset should delete that fieldset, not the next one down.Repro Steps
Please provide detailed instructions to reproduce the behavior:
Source 1
Source
to deleteSource 1
The text was updated successfully, but these errors were encountered: