(enabled)
| 1824 | } |
| 1825 | |
| 1826 | async function setSidePanelActionBehavior(enabled) { |
| 1827 | if (!chrome.sidePanel?.setPanelBehavior) return; |
| 1828 | try { |
| 1829 | await chrome.sidePanel.setPanelBehavior({ |
| 1830 | openPanelOnActionClick: Boolean(enabled), |
| 1831 | }); |
| 1832 | } catch (error) { |
| 1833 | console.warn("Could not update side panel action behavior:", error); |
| 1834 | } |
| 1835 | } |
| 1836 | |
| 1837 | async function openFastDorkSidePanel() { |
| 1838 | if (!chrome.sidePanel?.open) { |
no outgoing calls
no test coverage detected