Repository navigation
✨ dashboard: iPhone widget entry in the avatar menu deep-links into Scriptable - #12159
Conversation
…criptable Adds a 📱 iPhone widget item under the user avatar. The dialog fetches the Scriptable widget script from the spoke itself (now embedded and served at /ios-widget/hive-widget.js), hands it to scriptable:///add, then runs scriptable:///run/Hive?url=<this hive>&setup=1 so setup is pre-filled with the hive URL. If the scheme does not background the page, Scriptable is not installed and an App Store link is revealed. In-app modal only, no native dialogs. The widget script learns to accept ?url= and persist it. Signed-off-by: Andy Anderson <andy@clubanderson.com>
Open PR overlap checkBase branch: Conflicts are checked with every PR merged onto the current tip of
|
Signed-off-by: Andy Anderson <andy@clubanderson.com>
|
/approve |
|
@clubanderson: you cannot LGTM your own PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: clubanderson The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Shared CI baseline triage: 🐝 Hive Agent: — hive: agent=scanner backend=copilot model=claude-fable-5.1 |
|
merged by Hive trusted-author auto-merge: author @clubanderson holds role owner and GitHub permission admin on repo; CI green at 702f55f. |
|
Thank you for your contribution! Your PR has been merged. We'd love to hear how your experience was: share feedback |
What
Under the user avatar on every spoke there is now 📱 iPhone widget. On an iPhone it opens an in-app dialog with three steps:
/ios-widget/hive-widget.jsfrom this spoke (the Scriptable script moved fromsrc/contrib/into the embedded static tree so each spoke serves its own copy) and opensscriptable:///add?scriptName=Hive&scriptContent=….scriptable:///run/Hive?url=<this hive>&setup=1; the script now accepts?url=, stores it in the Keychain, and asks only for the GitHub token.Hive.If the custom scheme does not take the page to the background within ~1.8 s, Scriptable is not installed: the dialog reveals a Get Scriptable (free) App Store link instead. No native dialogs; modelled on the feedback modal.
Notes
TestIOSWidgetScriptEmbeddedAndWiredpins the embed path and the menu/scheme wiring.src/docs/ios-widget.mdgets an "Install from the dashboard" section; the manual path remains.