[PR #4717] [client] Add quick actions window #4372

Open
opened 2025-11-20 08:08:15 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/4717

State: closed
Merged: Yes


Describe your changes

Adds a window that will pop up when running NetBird on desktop after it is already running.
It sends a SIGUSR1 to a previously set up signal handler (platform-dependent) that will handle opening the window itself.

The window only contains the NetBird logo with a single button indicating the action to connect or disconnect.
When connected, the NetBird logo is colored, when disconnected, the logo is greyed out.

On connection change, the window closes on its own.

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

Summary by CodeRabbit

  • New Features

    • Quick Actions UI window for expedited connection management
    • --quick-actions command-line mode
    • Disconnected-state icon and visual indicator
  • Improvements

    • Better daemon detection with clearer messaging and show-window signaling
    • Cross-platform signal/event handling to trigger the Quick Actions window
    • Faster icon refresh on theme/settings changes
    • Upload success flow now integrates clipboard behavior with the app context
  • Chores

    • Updated project dependencies
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/4717 **State:** closed **Merged:** Yes --- ## Describe your changes Adds a window that will pop up when running NetBird on desktop after it is already running. It sends a SIGUSR1 to a previously set up signal handler (platform-dependent) that will handle opening the window itself. The window only contains the NetBird logo with a single button indicating the action to connect or disconnect. When connected, the NetBird logo is colored, when disconnected, the logo is greyed out. On connection change, the window closes on its own. ## Issue ticket number and link ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [X] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [X] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Quick Actions UI window for expedited connection management * --quick-actions command-line mode * Disconnected-state icon and visual indicator * **Improvements** * Better daemon detection with clearer messaging and show-window signaling * Cross-platform signal/event handling to trigger the Quick Actions window * Faster icon refresh on theme/settings changes * Upload success flow now integrates clipboard behavior with the app context * **Chores** * Updated project dependencies <!-- end of auto-generated comment: release notes by coderabbit.ai -->
saavagebueno added the pull-request label 2025-11-20 08:08:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#4372