mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-11-24 01:52:12 +00:00
2fbf39beea
Two defects behind one report. Navigation: "Pair agent" (and the agents page button) opened the Dashboard behind a dialog, so asking to pair showed the whole overview, and the dialog sat over a page it does not belong to. /?activateAgent=1 now redirects to /pairing, the page that mints the code, and the sidebar has a single pairing entry pointing there. The separate "Pairing" entry in the clients group is gone, and so is the activate-agent nav key, which existed only to mark the dashboard as active. Blocking: the dialog was opened with an inline display: flex while the beta sheet had already set .modal-overlay to display: none with opacity 0 for the closed state. An inline display wins, so the overlay became a visible layer that the sheet still painted transparent - every click landed on it and the panel looked frozen. Both dashboard dialogs (pairing code and QR scanner) are now toggled with the same class the rest of the console uses; no inline display is left in dashboard.js. Tests: the pairing UI suite now asserts the redirect, the class-based toggle, and that no surface links to the old deep link. Its harness also gained the locals the shell sidebar needs, which is why it failed on the baseline before. Thanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow); muopc (@muopc)