Skip to content

✨ dashboard: iPhone widget entry in the avatar menu deep-links into Scriptable - #12159

Merged
hivecommons-hive[bot] merged 2 commits into
v5from
feat/ios-widget-menu
Oct 15, 2026
Merged

hivecommons-hive[bot] merged 2 commits into
v5from
feat/ios-widget-menu

Conversation

@clubanderson

Copy link
Copy Markdown
Member

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:

  1. Add script to Scriptable — fetches /ios-widget/hive-widget.js from this spoke (the Scriptable script moved from src/contrib/ into the embedded static tree so each spoke serves its own copy) and opens scriptable:///add?scriptName=Hive&scriptContent=….
  2. Set up this hive in Scriptable — opens 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.
  3. Add the Home Screen widget and point it at 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

…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>
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Oct 15, 2026
@kubestellar-prow kubestellar-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 15, 2026
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Open PR overlap check

Base branch: v5

Conflicts are checked with every PR merged onto the current tip of v5, so a PR that only needs a rebase is not reported as conflicting with its siblings.

PR Title Relation Files
#12164 🌱 tokens: per-issue/PR/head-SHA launch attribution over the token collector same files src/pkg/dashboard/static/index.html
#12167 🐛 Admit operator-trusted registry contributors in the contributor-lane auto-merge tier same files src/pkg/dashboard/static/index.html
#12158 ✨ review: add review.shadow to record would_have_held for the review gate same files src/pkg/dashboard/static/index.html
#12165 🐛 dashboard: make the agent Model picker readable for gateway backends same files src/pkg/dashboard/static/index.html

Signed-off-by: Andy Anderson <andy@clubanderson.com>
@clubanderson

Copy link
Copy Markdown
Member Author

/approve
/lgtm

@kubestellar-prow

Copy link
Copy Markdown
Contributor

@clubanderson: you cannot LGTM your own PR.

Details

In response to this:

/approve
/lgtm

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.

@kubestellar-prow

Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 15, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor

Shared CI baseline triage: relative links and anchors resolve is red on the v5 default branch itself (broken admin-mcp.md links from #12143), not this PR's diff. Deferred to incident #12162; fix is #12161 — once it lands this check goes green on a re-run with no change here.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

— hive: agent=scanner backend=copilot model=claude-fable-5.1

@hivecommons-hive
hivecommons-hive Bot merged commit 4d2222d into v5 Oct 15, 2026
70 of 72 checks passed
@hivecommons-hive

Copy link
Copy Markdown
Contributor

merged by Hive trusted-author auto-merge: author @clubanderson holds role owner and GitHub permission admin on repo; CI green at 702f55f.

@kubestellar-prow
kubestellar-prow Bot deleted the feat/ios-widget-menu branch October 15, 2026 19:22
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Your PR has been merged.

We'd love to hear how your experience was: share feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant