Auto-open popover on manual app launch
Summary
This PR makes the Clips desktop app automatically open its popover menu when launched manually, so users don't have to click the tray icon to interact with it.
Problem
When the Clips app was first opened, it would silently appear in the system tray without showing its menu. Users had to manually click the tray icon or reopen the app to access it, which was unintuitive.
Solution
On app setup, detect whether the app was launched manually or at login, and auto-open the popover only for manual launches. Login-launched processes are tagged with an --autostart argument (via the autostart plugin) so the popover is suppressed at boot time.
Key Changes
- Added
--args(["--autostart"])to thetauri_plugin_autostartbuilder so login-launched instances are identifiable - On app setup, checks
std::env::args()for the--autostartflag - Calls
toggle_popoverautomatically when the app is launched manually (i.e., without the--autostartflag)
To clone this PR locally use the Github CLI with command gh pr checkout 1324
You can tag me at @builderio for anything you want me to fix or change
Deploy Preview for nutritrack-daily-calories canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/nutritrack-daily-calories/deploys/6a35573ae842340008336995 |
Visual recap — generation failed
The visual recap could not be generated for this pull request. This is informational only and does not block the PR.
Diagnostic:
No plan URL: recap-url.txt was not created.
Deploy Preview for agent-native-meeting-notes ready!
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-meeting-notes/deploys/6a35573af1062900080e4815 |
| Deploy Preview | https://deploy-preview-1324--agent-native-meeting-notes.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
| Make changes | Run an agent on this branch |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for agent-native-voice ready!
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-voice/deploys/6a35573a18d79c00087b90d9 |
| Deploy Preview | https://deploy-preview-1324--agent-native-voice.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
| Make changes | Run an agent on this branch |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for agent-native-scheduling ready!
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-scheduling/deploys/6a35573a0a8aef0008b3c512 |
| Deploy Preview | https://deploy-preview-1324--agent-native-scheduling.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
| Make changes | Run an agent on this branch |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for agent-native-design ready!
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-design/deploys/6a35573a7c79e10009f61904 |
| Deploy Preview | https://deploy-preview-1324--agent-native-design.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
| Make changes | Run an agent on this branch |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for agent-native-images canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-images/deploys/6a35573a82888c0008cbc33e |
Deploy Preview for agent-native-calendar canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-calendar/deploys/6a35573a70e5640008b36dec |
Deploy Preview for agent-native-content canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-content/deploys/6a35573a8066ca00082e5645 |
Deploy Preview for agent-native-dispatch canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-dispatch/deploys/6a35573a80f6ee00082d6d78 |
Deploy Preview for agent-native-forms canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-forms/deploys/6a35573a4f683400088787da |
Deploy Preview for agent-native-macros canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-macros/deploys/6a35573ac5c5a30008de9968 |
Deploy Preview for agent-native-mail canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-mail/deploys/6a35573a7cd9f4000879307e |
Deploy Preview for agent-native-brain canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-brain/deploys/6a35573a84e43f00083c54e5 |
Deploy Preview for agent-native-starter canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-starter/deploys/6a35573ae84234000833699d |
Deploy Preview for agent-native-videos canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-videos/deploys/6a35573a9b51050008a86880 |
Deploy Preview for agent-native-slides canceled.
| Name | Link |
|---|---|
| Latest commit | 4ed471a8e3fc5d1fef3f9d1acfd1e384a58365e8 |
| Latest deploy log | https://app.netlify.com/projects/agent-native-slides/deploys/6a35573ac13c6c00085f6408 |