Skip to content

fix(mobile): keep iPhone shares on the selected bot - #447

Merged
SiddDevZ merged 1 commit into
DuskBotAI:devfrom
pranavgawaii:fix/ios-share-target-gone
Dec 3, 2026
Merged

SiddDevZ merged 1 commit into
DuskBotAI:devfrom
pranavgawaii:fix/ios-share-target-gone

Conversation

@pranavgawaii

Copy link
Copy Markdown
Contributor

What and why

Fixes #445.

When an iPhone share names a bot that has since disappeared, the app can fall back to another bot and put the content in that bot’s draft. This change keeps explicit selections exact: an invalid target is rejected, and a missing selected bot shows an alert without opening another chat. Shares with no selected bot still use the default.

How it was checked

  • On unchanged dev at ddafc35, the synthetic regression opened kiln for a share addressed to removed.
  • After rebasing onto dev at 5ef9604, vitest run src/mobile/shortcuts.dom.test.ts passed: 12 tests.
  • Repository oxlint and git diff --check passed.
  • The full typecheck and test suite were not completed locally. I stopped concurrent typechecks after observing memory pressure on this Mac; CI is pending.
  • I have not run a physical iPhone test. Native before/after screenshots are pending; the routing assertion is in the issue and regression test.

The change and tests were AI-assisted. No live bot, account, or personal data was used.

  • pnpm typecheck, pnpm lint and pnpm test pass
  • New behavior has a regression test
  • No secrets, personal data or local paths in the diff

@pranavgawaii
pranavgawaii marked this pull request as ready for review November 29, 2026 11:45
@SiddDevZ
SiddDevZ merged commit e8543b9 into DuskBotAI:dev Dec 3, 2026
19 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants