Jasonette / Jasonette/JASONETTE-iOS
success not being triggered (or error) for $href action
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 347
- PR merge metrics
- No merged PRs in 30d
Description
I want to compose actions, first open a web page, then do something else, but the `success` block never fires for `$href` type of actions
reproducible test case:
```
{
"$jason": {
"head": {
},
"body": {
"sections": [
{
"items": [
{
"type": "label",
"text": "Click Me",
"action": {
"type": "$href",
"options": {
"view": "web",
"url": "http://www.google.com",
"transition": "modal"
},
"success": {
"type": "$util.banner",
"options": {
"title": "OK!",
"description": "worked"
}
}
}
}
]
}
]
}
}
}
```
Contributor guide
Research direction
Start with the reproducible JSON case in the issue and trace the `$href` action entry point on iOS. Verify whether the action should invoke its success or error callback after opening the web view; done means the reported callback behavior is corrected and the case behaves consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100