WIP V improve UX [snapshot task 2]
Add the connections workspace (sidebar, editable slots, per-slot activity, removal dialog with focus wrapping), remove the downloadable local HTML and unreleased identity backup/restore, and start the 0.0.5 draft changelog. Restore the released 0.0.3/0.0.4 changelog entries. Enable focus emulation in browser checks so background tabs receive focus/blur events. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58c3e2af86
commit
5f8c6a1916
21 files changed
+879
-306
No files matched your search
@@ -12,7 +12,11 @@ export function installBrowserContext() {
|
||||
aborted: false,
|
||||
releaseWrite: undefined as (() => void) | undefined,
|
||||
click(label: string) {
|
||||
const button = [...document.querySelectorAll('button')].find(button => button.textContent?.trim() === label);
|
||||
const button = [...document.querySelectorAll('button')].find(button => {
|
||||
const content = button.cloneNode(true) as HTMLButtonElement;
|
||||
content.querySelectorAll('[aria-hidden="true"]').forEach(item => item.remove());
|
||||
return button.getAttribute('aria-label') === label || content.textContent?.trim() === label;
|
||||
});
|
||||
if (!button || button.disabled) throw new Error(`Unavailable button: ${label}`);
|
||||
button.click();
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user