-
Notifications
You must be signed in to change notification settings - Fork 199
Unblock apps to call dialog.url.submit in mobile #2788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
size-limit report 📦
|
@@ -83,11 +89,19 @@ export function botUrlOpenHelper( | |||
} | |||
|
|||
export function urlSubmitHelper(apiVersionTag: string, result?: string | object, appIds?: string | string[]): void { | |||
ensureInitialized(runtime, FrameContexts.task); | |||
// FrameContext content should not be here because dialog.submit can be called only from inside of a dialog (FrameContext task) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to create a TODO to track?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, do we know if Teams mobile has a ETA to fix it properly on their end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jekloudaMSFT do you know about the ETA? I have created a work item here:
https://office.visualstudio.com/MetaOS/_workitems/edit/10134868
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Teams mobile already has a work item for this, I'll see if I can link ours to theirs
For more information about how to contribute to this repo, visit this page.
Description
Unblocked apps on Mobile to call
dialog.url.submit
from dialog by allowing this API fromFrameContext.content
.\nThere is a bug in Teams mobile that returnsframeContext.content in dialog instead of
frameContext.task`. Once the bug is fixed, this change will be reverted.Main changes in the PR:
Validation
Validation performed:
Unit Tests added:
<Yes/No>
End-to-end tests added:
<Yes/No>
Additional Requirements
Change file added:
<Yes/No>
Related PRs:
Next/remaining steps:
Screenshots: