feat(editor): « Aller à » opens the finding dialog, spec races fixed
« Aller à » a finding shows its row and opens its dialog in view mode. E2e helpers wait for the history to settle after a layer or section pop; the layout walk waits out the write budget. Label rows for the nine new keys.
This commit is contained in:
1 parent
4731a3376a
commit
c893dec60b
10 files changed
+89
-3
No files matched your search
@@ -198,6 +198,9 @@ export default function FindingsTab({
|
||||
const found = target.key && itemForKey(items, target.key)
|
||||
if (!found) return 'none'
|
||||
reveal(found)
|
||||
// « Aller à » shows the element as its row selected and its dialog open in view
|
||||
// mode; the row takes the focus again when the dialog is closed.
|
||||
layer.open(found.item.key)
|
||||
setFocusId({ id: found.item.id })
|
||||
return 'found'
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user