UUnrive Desk
AI coding workspace

Browser interactions

The next interaction should leave the page usable. Unrive Desk brings browser behavior, focus handling and interface code into a shared project context.

● ● ●Unrive Desk●
A concrete starting point · Browser interactions ×
const previousFocus = document.activeElement;
dialog.showModal();
dialog.addEventListener('close', () => {
  if (previousFocus instanceof HTMLElement &&
      previousFocus.isConnected) previousFocus.focus();
}, { once: true });
✳Return keyboard focus when a browser dialog closes.
✓ ChangesReview before applying ↗
Illustrative workspace
01

Connection

Base URL, credentials and a reachable server.

02

Project

Check the case where its opener has been removed and keep the remaining page usable without a mouse.

03

Review before applying

Compare actual behavior with the expected result. If a check fails, investigate it before applying more changes.

Workflows

Browser interactions

Workflows ↗
A concrete starting point
const previousFocus = document.activeElement;
dialog.showModal();
dialog.addEventListener('close', () => {
  if (previousFocus instanceof HTMLElement &&
      previousFocus.isConnected) previousFocus.focus();
}, { once: true });
AI coding workspace

Your next change starts here.

Get the Windows app ↗