Skip to content

Conversation

@t3chguy
Copy link
Member

@t3chguy t3chguy commented Oct 15, 2024

Based on https://gfscott.com/blog/merge-git-repos-and-keep-commit-history/

TODO:

  • Merge i18n files
  • Update branch protections
  • Add missing Netlify secrets

RiotRobot and others added 30 commits August 10, 2024 06:20
* Add chat button to new room header for video room & maximised widgets

Signed-off-by: Michael Telatynski <[email protected]>

* Iterate

Signed-off-by: Michael Telatynski <[email protected]>

* Delint

Signed-off-by: Michael Telatynski <[email protected]>

* Iterate

Signed-off-by: Michael Telatynski <[email protected]>

* Update snapshot

Signed-off-by: Michael Telatynski <[email protected]>

* Update screenshot

Signed-off-by: Michael Telatynski <[email protected]>

---------

Signed-off-by: Michael Telatynski <[email protected]>
#12884)

* Refactor the various email/phone management UI into a single component

These were basically the same component copied & pasted 3 times and
tweaked to match the behaviour of each case. This de-dupes them into
one component.

This all could really benefit from playwright tests, but would require
setting up a dummy ID server in the playwright tests. This is all legacy
pre-MAS stuff so its questionable whether its worth the effort.

* Basic test, remove old tests

* Use different text to confirm remove & put headers back

although the two texts are both 'Remove' in practice

* Remove string

This was never triggered anyway with sydent & synapse because they
don't seem to agree on what error to return. In any case, I think it
makes more sense for it to be consistent with the email path, ie. using
a dialog.

* Avoid nested forms

* Snapshots

* More snapshots

* Test the hs side

* Snapshots

* Test IS bind/revoke

* Test remove can be cancelled

* Test unvalidated cases & fix phone error

* Reset state between tests

* Import useState directly

* One more direct React import
* Soften UIA fallback postMessage check to work cross-origin

Signed-off-by: Michael Telatynski <[email protected]>

* Do the same for the SSO UIA flow

Signed-off-by: Michael Telatynski <[email protected]>

* Check against MessageEvent::source instead

Signed-off-by: Michael Telatynski <[email protected]>

---------

Signed-off-by: Michael Telatynski <[email protected]>
…12825)

* Fix pinning event loading after restart

* Update deps

* Replace pinned event list

* Add a dialog to confirm to unpin all messages

* Use `EmptyState` when there is no pinned messages

* Rework `PinnedEventTile` tests

* Add comments and refactor `PinnedMessageCard`

* Rework `PinnedMessageCard` tests

* Add tests for `UnpinAllDialog`

* Add e2e tests for pinned messages

* Replace 3px custom gap by 4px gap

* Use string interpolation for `Pin` action.

* Update playright sceenshot for empty state
* Add Pin/Unpin action in quick access of the message action bar

* Add tests for `MessageActionBar`

* Add tests for `PinningUtils`

* Fix `MessageContextMenu-test`

* Add e2e test to pin/unpin from message action bar
t3chguy and others added 11 commits October 15, 2024 15:45
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Co-authored-by: dbkr <[email protected]>
(cherry picked from commit 3256499d4bacbf8cb527c1261c65f805de346c53)
* Deduplicate more icons using Compound Design Tokens

Signed-off-by: Michael Telatynski <[email protected]>

* Iterate

Signed-off-by: Michael Telatynski <[email protected]>

---------

Signed-off-by: Michael Telatynski <[email protected]>
(cherry picked from commit 7448bd52e2ff354917d6e5f769ca052961c13aa0)
)

* Replace `MatrixClient.isCryptoEnabled` by `MatrixClient.getCrypto`

* Cast `cryptoEnabled` as `boolean`

* Fix `MatrixChat-test`

(cherry picked from commit 950ab1940bfcea9443f03284f9175d319c13a44c)
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
@t3chguy t3chguy marked this pull request as ready for review October 16, 2024 09:54
@t3chguy t3chguy requested review from a team as code owners October 16, 2024 09:54
@t3chguy t3chguy requested review from dbkr and florianduros October 16, 2024 09:54
t3chguy and others added 2 commits October 16, 2024 11:24
Signed-off-by: Michael Telatynski <[email protected]>
* Use new `CryptoEvent` import

* Remove remaining old `CryptoEvent` import

* Replace `import` by `import type`
@t3chguy t3chguy merged commit c05c429 into develop Oct 16, 2024
@t3chguy t3chguy deleted the t3chguy/repo-merge branch October 16, 2024 12:31
@t3chguy t3chguy restored the t3chguy/repo-merge branch October 17, 2024 07:48
github-merge-queue bot added a commit that referenced this pull request Oct 18, 2024
* Absorb the matrix-react-sdk repository (#28192)

Co-authored-by: github-merge-queue <[email protected]>
Co-authored-by: github-merge-queue <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Duros <[email protected]>
Co-authored-by: Kim Brose <[email protected]>
Co-authored-by: Florian Duros <[email protected]>
Co-authored-by: R Midhun Suresh <[email protected]>
Co-authored-by: dbkr <[email protected]>
Co-authored-by: ElementRobot <[email protected]>
Co-authored-by: dbkr <[email protected]>
Co-authored-by: David Baker <[email protected]>
Co-authored-by: Michael Telatynski <[email protected]>
Co-authored-by: Richard van der Hoff <[email protected]>
Co-authored-by: David Langley <[email protected]>
Co-authored-by: Michael Weimann <[email protected]>
Co-authored-by: Timshel <[email protected]>
Co-authored-by: Sahil Silare <[email protected]>
Co-authored-by: Will Hunt <[email protected]>
Co-authored-by: Hubert Chathi <[email protected]>
Co-authored-by: Andrew Ferrazzutti <[email protected]>
Co-authored-by: Robin <[email protected]>
Co-authored-by: Tulir Asokan <[email protected]>

* Update dependency @sentry/browser to v8.33.0 [SECURITY] (#28194)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update babel monorepo (#28196)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @types/react to v17.0.83 (#28138)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @matrix-org/spec to v1.12.0 (#28200)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @formatjs/intl-segmenter to v11.5.9 (#28197)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove references to `MatrixClient.crypto` (#28204)

* Remove `VerificationExplorer`

* Remove `remakeolm` slash command

* Remove call to `crypto.cancelAndResendAllOutgoingKeyRequests`

* Remove crypto mock in `LoginWithQR-test.tsx`

* Remove `StopGadWidgetDriver.sendToDevice`

* Remove remaining mock

* Update dependency typescript to v5.6.3 (#28198)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency eslint-plugin-unicorn to v56 (#28202)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency stylelint to v16.10.0 (#28201)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update browserslist (#28199)

* Update browserslist

* Update tests

Signed-off-by: Michael Telatynski <[email protected]>

---------

Signed-off-by: Michael Telatynski <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <[email protected]>

* Add reactions to html export and add test

* Add reaction to snapshot test

* Update snapshot output

* Remove logging

* Add reaction to html export screenshot test.

* lint

* Update reference screenshot.

---------

Signed-off-by: Michael Telatynski <[email protected]>
Co-authored-by: Michael Telatynski <[email protected]>
Co-authored-by: github-merge-queue <[email protected]>
Co-authored-by: github-merge-queue <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Duros <[email protected]>
Co-authored-by: Kim Brose <[email protected]>
Co-authored-by: Florian Duros <[email protected]>
Co-authored-by: R Midhun Suresh <[email protected]>
Co-authored-by: dbkr <[email protected]>
Co-authored-by: ElementRobot <[email protected]>
Co-authored-by: dbkr <[email protected]>
Co-authored-by: Richard van der Hoff <[email protected]>
Co-authored-by: Michael Weimann <[email protected]>
Co-authored-by: Timshel <[email protected]>
Co-authored-by: Sahil Silare <[email protected]>
Co-authored-by: Will Hunt <[email protected]>
Co-authored-by: Hubert Chathi <[email protected]>
Co-authored-by: Andrew Ferrazzutti <[email protected]>
Co-authored-by: Robin <[email protected]>
Co-authored-by: Tulir Asokan <[email protected]>
github-merge-queue bot added a commit that referenced this pull request Oct 18, 2024
* Absorb the matrix-react-sdk repository (#28192)

Co-authored-by: github-merge-queue <[email protected]>
Co-authored-by: github-merge-queue <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Duros <[email protected]>
Co-authored-by: Kim Brose <[email protected]>
Co-authored-by: Florian Duros <[email protected]>
Co-authored-by: R Midhun Suresh <[email protected]>
Co-authored-by: dbkr <[email protected]>
Co-authored-by: ElementRobot <[email protected]>
Co-authored-by: dbkr <[email protected]>
Co-authored-by: David Baker <[email protected]>
Co-authored-by: Michael Telatynski <[email protected]>
Co-authored-by: Richard van der Hoff <[email protected]>
Co-authored-by: David Langley <[email protected]>
Co-authored-by: Michael Weimann <[email protected]>
Co-authored-by: Timshel <[email protected]>
Co-authored-by: Sahil Silare <[email protected]>
Co-authored-by: Will Hunt <[email protected]>
Co-authored-by: Hubert Chathi <[email protected]>
Co-authored-by: Andrew Ferrazzutti <[email protected]>
Co-authored-by: Robin <[email protected]>
Co-authored-by: Tulir Asokan <[email protected]>

* Update dependency @sentry/browser to v8.33.0 [SECURITY] (#28194)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update babel monorepo (#28196)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @types/react to v17.0.83 (#28138)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @matrix-org/spec to v1.12.0 (#28200)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @formatjs/intl-segmenter to v11.5.9 (#28197)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Remove references to `MatrixClient.crypto` (#28204)

* Remove `VerificationExplorer`

* Remove `remakeolm` slash command

* Remove call to `crypto.cancelAndResendAllOutgoingKeyRequests`

* Remove crypto mock in `LoginWithQR-test.tsx`

* Remove `StopGadWidgetDriver.sendToDevice`

* Remove remaining mock

* Update dependency typescript to v5.6.3 (#28198)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency eslint-plugin-unicorn to v56 (#28202)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency stylelint to v16.10.0 (#28201)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update browserslist (#28199)

* Update browserslist

* Update tests

Signed-off-by: Michael Telatynski <[email protected]>

---------

Signed-off-by: Michael Telatynski <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <[email protected]>

* Update all non-major dependencies

* Pin posthog-js

Signed-off-by: Michael Telatynski <[email protected]>

* Update snapshots for re-resizable

Signed-off-by: Michael Telatynski <[email protected]>

* Pin re-resizable

Signed-off-by: Michael Telatynski <[email protected]>

* Update snapshot and improve playwright workflow to account for symlinked matrix-js-sdk

Signed-off-by: Michael Telatynski <[email protected]>

* Revert snapshot

Signed-off-by: Michael Telatynski <[email protected]>

* Update package.json

* Iterate

Signed-off-by: Michael Telatynski <[email protected]>

* Fix screenshot flakiness

Signed-off-by: Michael Telatynski <[email protected]>

---------

Signed-off-by: Michael Telatynski <[email protected]>
Co-authored-by: Michael Telatynski <[email protected]>
Co-authored-by: github-merge-queue <[email protected]>
Co-authored-by: github-merge-queue <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Duros <[email protected]>
Co-authored-by: Kim Brose <[email protected]>
Co-authored-by: Florian Duros <[email protected]>
Co-authored-by: R Midhun Suresh <[email protected]>
Co-authored-by: dbkr <[email protected]>
Co-authored-by: ElementRobot <[email protected]>
Co-authored-by: dbkr <[email protected]>
Co-authored-by: Richard van der Hoff <[email protected]>
Co-authored-by: David Langley <[email protected]>
Co-authored-by: Michael Weimann <[email protected]>
Co-authored-by: Timshel <[email protected]>
Co-authored-by: Sahil Silare <[email protected]>
Co-authored-by: Will Hunt <[email protected]>
Co-authored-by: Hubert Chathi <[email protected]>
Co-authored-by: Andrew Ferrazzutti <[email protected]>
Co-authored-by: Robin <[email protected]>
Co-authored-by: Tulir Asokan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Task Tasks for the team like planning

Projects

None yet

Development

Successfully merging this pull request may close these issues.