sindresorhus / Actions

⚙️ Supercharge your shortcuts
https://sindresorhus.com/actions
MIT License
2.49k stars 103 forks source link

Bug with "ask for text with timeout" #229

Closed kuitog closed 3 months ago

kuitog commented 4 months ago

Description

I have an automation where if I plug my charger it asks me if I want to open google maps. The default answer is "Yes"

Desired behaviour: The input window pops up, I press enter if I want to open gmaps or I just let it expire if I don't want it. So pressing enter I should get "yes" in the clipboard.

The problem: If I configure a default answer ("yes") and click ok when the window pops up without modifying the answer I get a blank clipboard. Only if I add or remove a character then the clipboard is populated.

macOS/iOS version

17.3.1

Shortcut URL

No response

sindresorhus commented 4 months ago

Works fine for me: https://www.icloud.com/shortcuts/a02c49fbf647462cb02f8412e500237f

IMG_206613908650-1

kuitog commented 4 months ago

Yep, that works for me as well. Also if I create a new shortcut it works now.

But take a look at this, still doesn't work: https://www.icloud.com/shortcuts/471db97e0a1140e49cdbf3060dd79a3f

Maybe because the buggy verdion was created before restarting the phone just after installation?


From: Sindre Sorhus @.> Sent: Wednesday, February 21, 2024 8:45:45 PM To: sindresorhus/Actions @.> Cc: kuitog @.>; Author @.> Subject: Re: [sindresorhus/Actions] Bug with "ask for text with timeout" (Issue #229)

Works fine for me: https://www.icloud.com/shortcuts/a02c49fbf647462cb02f8412e500237f

IMG_206613908650-1.jpeg (view on web)https://github.com/sindresorhus/Actions/assets/170270/6530099e-52f0-4186-800e-4ee565a85e4e

— Reply to this email directly, view it on GitHubhttps://github.com/sindresorhus/Actions/issues/229#issuecomment-1957780931, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A32AA3T5ZC3RNFYOJGNLFB3YUZFGTAVCNFSM6AAAAABDTFORZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJXG44DAOJTGE. You are receiving this because you authored the thread.Message ID: @.***>

kuitog commented 4 months ago

Wait! I figured it out. If you add a timeout timer then it doesn't work in any shortcut including yours

sindresorhus commented 4 months ago

Should be fixed now in the latest TestFlight build: https://testflight.apple.com/join/fJGUrsZx

kuitog commented 4 months ago

Nice! Thanks! Do you have an expected release date for the app store version?


From: Sindre Sorhus @.> Sent: Thursday, February 22, 2024 12:47:55 AM To: sindresorhus/Actions @.> Cc: kuitog @.>; Author @.> Subject: Re: [sindresorhus/Actions] Bug with "ask for text with timeout" (Issue #229)

Should be fixed now in the latest TestFlight build: https://testflight.apple.com/join/fJGUrsZx

— Reply to this email directly, view it on GitHubhttps://github.com/sindresorhus/Actions/issues/229#issuecomment-1957883554, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A32AA3VCPI2PLHP7QIHHZILYUZMPXAVCNFSM6AAAAABDTFORZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJXHA4DGNJVGQ. You are receiving this because you authored the thread.Message ID: @.***>

sindresorhus commented 4 months ago

Maybe in a couple of weeks. I cannot release updates too often because of a bug in iOS that requires users to restart their device after an update.

kuitog commented 4 months ago

Thanks :)


From: Sindre Sorhus @.> Sent: Friday, February 23, 2024 5:04:21 PM To: sindresorhus/Actions @.> Cc: kuitog @.>; Author @.> Subject: Re: [sindresorhus/Actions] Bug with "ask for text with timeout" (Issue #229)

Maybe in a couple of weeks. I cannot release updates too often because of a bug in iOS that requires users to restart their device after an update.

— Reply to this email directly, view it on GitHubhttps://github.com/sindresorhus/Actions/issues/229#issuecomment-1961293020, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A32AA3RSHYGFYYNUMDKUQ6DYVCHVLAVCNFSM6AAAAABDTFORZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRRGI4TGMBSGA. You are receiving this because you authored the thread.Message ID: @.***>