2. Bar pill – icon + right-click toggle #3
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: PRD #1 (Tailscale Widget Plugin for Dank Bar)
Type: AFK
Blocked by: #2
Implement the visible bar pill with connected/disconnected icon and right-click toggle behavior.
Acceptance Criteria
horizontalBarPillandverticalBarPillrender aDankIconusingvpn_key(connected) /vpn_key_off(disconnected)tailscale up --operator=$USERortailscale downas appropriateTheme.primarywhen connected,Theme.surfaceTextwhen disconnected)Notes
This slice delivers the first end-to-end user-visible behavior (right-click toggle).
Slice #2 complete (Bar pill – icon + right-click toggle).
Implementation:
horizontalBarPillandverticalBarPillnow render aDankIconusingvpn_key/vpn_key_offMouseAreawithacceptedButtons: Qt.RightButtoncallstoggleTailscale()toggleTailscale()dispatchestailscale uportailscale downviaProcessTheme.primarywhen connected,Theme.surfaceTextwhen disconnectedtailscale status --jsonandStdioCollectorVerification:
PLUGIN_RELOAD_SUCCESS)loadedNext slice: #4 (Status polling + reactive state).