2022-10-13 01:59:07 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<ChangelogDialog /> should fetch github proxy url for each repo with old and new version strings 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-describedby="mx_Dialog_content"
|
|
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
|
|
class="mx_QuestionDialog mx_Dialog_fixedWidth"
|
|
|
|
data-focus-lock-disabled="false"
|
|
|
|
role="dialog"
|
|
|
|
>
|
|
|
|
<div
|
2024-03-13 21:38:32 +08:00
|
|
|
class="mx_Dialog_header"
|
2022-10-13 01:59:07 +08:00
|
|
|
>
|
2024-02-16 22:23:33 +08:00
|
|
|
<h1
|
2023-07-05 00:54:28 +08:00
|
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
2022-10-13 01:59:07 +08:00
|
|
|
id="mx_BaseDialog_title"
|
|
|
|
>
|
|
|
|
Changelog
|
2024-02-16 22:23:33 +08:00
|
|
|
</h1>
|
2022-10-13 01:59:07 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_content"
|
|
|
|
id="mx_Dialog_content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_ChangelogDialog_content"
|
|
|
|
>
|
|
|
|
<div>
|
2023-07-19 16:03:56 +08:00
|
|
|
<h2
|
|
|
|
class="mx_Heading_h4"
|
|
|
|
>
|
2024-09-06 21:16:25 +08:00
|
|
|
element-hq/element-web
|
2022-10-13 01:59:07 +08:00
|
|
|
</h2>
|
|
|
|
<ul>
|
|
|
|
<li
|
|
|
|
class="mx_ChangelogDialog_li"
|
|
|
|
>
|
|
|
|
<a
|
2024-09-06 21:16:25 +08:00
|
|
|
href="https://api.github.com/repos/element-hq/element-web/commit/commit-sha"
|
2022-10-13 01:59:07 +08:00
|
|
|
rel="noreferrer noopener"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
This is the first commit message
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div>
|
2023-07-19 16:03:56 +08:00
|
|
|
<h2
|
|
|
|
class="mx_Heading_h4"
|
|
|
|
>
|
2022-10-13 01:59:07 +08:00
|
|
|
matrix-org/matrix-js-sdk
|
|
|
|
</h2>
|
|
|
|
<ul>
|
|
|
|
<li
|
|
|
|
class="mx_ChangelogDialog_li"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="https://api.github.com/repos/matrix-org/matrix-js-sdk/commit/commit-sha1"
|
|
|
|
rel="noreferrer noopener"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
This is a commit message
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="mx_ChangelogDialog_li"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="https://api.github.com/repos/matrix-org/matrix-js-sdk/commit/commit-sha2"
|
|
|
|
rel="noreferrer noopener"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
This is another commit message
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_buttons"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_Dialog_buttons_row"
|
|
|
|
>
|
|
|
|
<button
|
2022-10-25 16:39:48 +08:00
|
|
|
data-testid="dialog-cancel-button"
|
2022-10-13 01:59:07 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
Cancel
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="mx_Dialog_primary"
|
2022-10-25 16:39:48 +08:00
|
|
|
data-testid="dialog-primary-button"
|
2022-10-13 01:59:07 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
Update
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2024-06-20 17:29:38 +08:00
|
|
|
<div
|
|
|
|
aria-label="Close dialog"
|
|
|
|
class="mx_AccessibleButton mx_Dialog_cancelButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
2022-10-13 01:59:07 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|