This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/cloud-apps-rebase' into select-visibility
- Loading branch information
Showing
93 changed files
with
1,420 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 14 additions & 34 deletions
48
components/apps_form/__snapshots__/apps_form_header.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,25 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`components/apps_form/AppsFormHeader should not fail on empty value 1`] = ` | ||
<AppsFormHeader | ||
emojiMap={ | ||
EmojiMap { | ||
"customEmojis": Map {}, | ||
"customEmojisArray": Array [], | ||
<Connect(Markdown) | ||
message="" | ||
options={ | ||
Object { | ||
"mentionHighlight": false, | ||
"singleline": false, | ||
} | ||
} | ||
id="testblankvalue" | ||
value="" | ||
> | ||
<span | ||
dangerouslySetInnerHTML={ | ||
Object { | ||
"__html": "", | ||
} | ||
} | ||
id="testblankvalue" | ||
/> | ||
</AppsFormHeader> | ||
/> | ||
`; | ||
|
||
exports[`components/apps_form/AppsFormHeader should render message with supported values 1`] = ` | ||
<AppsFormHeader | ||
emojiMap={ | ||
EmojiMap { | ||
"customEmojis": Map {}, | ||
"customEmojisArray": Array [], | ||
<Connect(Markdown) | ||
message="**bold** *italic* [link](https://mattermost.com/) <br/> [link target blank](!https://mattermost.com/)" | ||
options={ | ||
Object { | ||
"mentionHighlight": false, | ||
"singleline": false, | ||
} | ||
} | ||
id="testsupported" | ||
value="**bold** *italic* [link](https://mattermost.com/) <br/> [link target blank](!https://mattermost.com/)" | ||
> | ||
<span | ||
dangerouslySetInnerHTML={ | ||
Object { | ||
"__html": "<p><strong>bold</strong> <em>italic</em> <a class=\\"theme markdown__link\\" href=\\"https://mattermost.com/\\" rel=\\"noreferrer\\" target=\\"_blank\\">link</a> <br/> <a class=\\"theme markdown__link\\" href=\\"!https://mattermost.com/\\" rel=\\"noreferrer\\" target=\\"_blank\\">link target blank</a></p>", | ||
} | ||
} | ||
id="testsupported" | ||
/> | ||
</AppsFormHeader> | ||
/> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.