Playbooks update (#9039)

* Playbook run status update post

* Show Playbooks button in Channel Info screen only if playbooks is enabled

* Handle Playbook links

* Fetch playbook if needed

* fix playbooks migration

* fix deeplinks using parsedUrl

* update last time playbooks where fetched if no errors

* show participants for run status update post

* fix tests

* remove console.log in test

* feedback review

* wrap participants footer

* add fastlane FASTLANE_XCODEBUILD_SETTINGS_RETRIES env vars
This commit is contained in:
Elias Nahum
2025-07-29 21:55:41 +08:00
committed by GitHub
parent 21708aa2ee
commit 40d8a0cbb4
27 changed files with 548 additions and 59 deletions

View File

@@ -27,7 +27,8 @@ type PostType =
| 'add_bot_teams_channels'
| 'system_auto_responder'
| 'custom_calls'
| 'custom_calls_recording';
| 'custom_calls_recording'
| 'custom_run_update';
type PostEmbedType = 'image' | 'message_attachment' | 'opengraph';

View File

@@ -33,12 +33,20 @@ export interface DeepLinkPlugin extends DeepLink {
route?: string;
}
export interface DeepLinkPlaybooks extends DeepLink {
playbookId: string;
}
export interface DeepLinkPlaybookRuns extends DeepLink {
playbookRunId: string;
}
export type DeepLinkType = typeof DeepLinkConstant[keyof typeof DeepLinkConstant];
export interface DeepLinkWithData {
type: DeepLinkType;
url: string;
data?: DeepLinkChannel | DeepLinkDM | DeepLinkGM | DeepLinkPermalink | DeepLinkPlugin | DeepLinkServer;
data?: DeepLinkChannel | DeepLinkDM | DeepLinkGM | DeepLinkPermalink | DeepLinkPlugin | DeepLinkServer | DeepLinkPlaybooks | DeepLinkPlaybookRuns;
}
export type LaunchType = typeof Launch[keyof typeof Launch];