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
The two links near the top appear to have been removed and added because their text changed enough that a different link moved from before them in the list to after them.
Ideally, we should find a way for these links to correctly show that their text was changed, rather than that the links were added or removed.
I think this probably requires some deep re-thinking of how we diff links. Right now, we create a list, then we diff the list on “rough similarity,” then diff the internals of similar links (these are the links that show up as changed, rather than added or removed). The problem here is diffing a list, where order matters. In reality, the links diff is about diffing a set.
We should probably start by grouping roughly similar links from the old and new list together, tagging each link with sorting properties that come exclusively from either the new version of the link (so both lists sort the same). Then do the diffing.
The text was updated successfully, but these errors were encountered:
In this diff: https://monitoring.envirodatagov.org/page/1de9a11d-330b-4a87-9926-6c6357b6f668/36442e96-71da-4a54-899b-e3c193e5d5fd..5ca0de1e-c4c9-472b-8f66-83cbf18069c8
The two links near the top appear to have been removed and added because their text changed enough that a different link moved from before them in the list to after them.
Ideally, we should find a way for these links to correctly show that their text was changed, rather than that the links were added or removed.
I think this probably requires some deep re-thinking of how we diff links. Right now, we create a list, then we diff the list on “rough similarity,” then diff the internals of similar links (these are the links that show up as changed, rather than added or removed). The problem here is diffing a list, where order matters. In reality, the links diff is about diffing a set.
We should probably start by grouping roughly similar links from the old and new list together, tagging each link with sorting properties that come exclusively from either the new version of the link (so both lists sort the same). Then do the diffing.
The text was updated successfully, but these errors were encountered: