Closed lucaa closed 1 year ago
The major cause of the confusion comes from the fact that when editing a link, the correct tab is not highlighted, and instead the last active one is displayed. So when switching between external
and browse
tabs, it can get very annoying and lead to a lot of broken links.
The second part of the issue, related to editing links added to text, is actually a drawio bug https://github.com/jgraph/drawio/issues/3654 , so this won't be fixed as part of this issue EDIT: in the meantime, the drawio issue was already fixed (they were fast), so it will be fixed on our side after a dependency upgrade ( >= 21.3.8)
How to reproduce:
Expected result:
Actual result:
If the link is added on the text box itself and not on the text inside the box, there is a better display of the link allowing a clearer edit because it sports an edit button on selection:
However, the problems above of the link editing still persist.
As a conclusion, it can be hard and confusing to know what a link links to, especially when added on the text inside an element and not on the element itself, and if a user clicks "Apply" instead of "cancel" in the edit link dialog, they may actually be making changes to the links without knowing, as the dialog does not display a valid state.
Note: this ticket may need to be split in multiple tickets.