* Fix expand/collapse reply preview not showing in some cases
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Move tests to appropriate place
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add comments
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Remove superfluous rageshake label for Rust Crypto
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Remove old test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in SpacePanel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix badly rendered icon in JoinRuleDropdown
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix badly rendered icon in RoomPreviewCard
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix badly rendered icon in Space menus
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix badly rendered icon in ThreadPanel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update snapshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update screenshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Remove unused icon underfill
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update screenshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add missing snapshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Remove unused AccessibleButton kinds
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in EventTileBubble
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in ReactionsRow
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in MFileBody
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in BaseCard
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in RedactedBody
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in E2ePadlock
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Tidy up E2EIcon
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in DialPad
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in AccessSecretStorageDialog
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in HiddenBody
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix overflow in base card size
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add missing screenshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* refactor: transform `FontWater.onAction` to switch
* fix: reload font after switching theme
Fix#26248#31588
When a theme is swiched, `clearCustomTheme` remove all css variables.
After the styles are re-applied but the custom fonts or emoji are not
re-applied.
* test: add test for `Action.ReloadFont`
* test: add missing tests for existing actions
* test(e2e): add tests to ensure that font and emoji stay unchanged
* Revert "fix: reload font after switching theme"
This reverts commit 2b0071af21c38bf2c86780356aa39d290e9d9148.
* Revert "refactor: transform `FontWater.onAction` to switch"
This reverts commit 411915860923230cabce3ad5498fb46696a9a65e.
* Revert "test: add test for `Action.ReloadFont`"
This reverts commit 31b3b224cd2c443663a2b9bba312a4140907a8ed.
* fix: don't remove custom emoji and cpd font when clearing custom theme
Fix#26248#31588
When a theme is swiched, `clearCustomTheme` remove all css variables.
After the styles are re-applied but the custom fonts or emoji are not
re-applied.
This fix avoid the custom font and emoji to be removed.
* test: add tests
* Open right panel timeline when jumping to event with maximised widget
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix types & update snapshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Do not alter text-decoration if an <a> tag is a Link.
* Update screenshots
* update compound web to 8.3.4
* Update snaps
* Update alllllll the snaps
* update screenshots
* recalculate mentions of forwarded messages
In transformEvent(), parse event body back into an EditorModel, and pass this into attachMentions(), so that it actually recalculates mentions.
* refactor ForwardDialog-test.tsx
Refactor test for stripping mentions on forwards to allow for more tests of mention recalculation
* add test to recalculate mention pills
Fails due to not mocking room membership
* fix lint
* fix test: add ability to provide source room stub
* show correct toast when cross-signing keys missing
If cross-signing keys are missing both locally and in 4S, show a new toast
saying that identity needs resetting, rather than saying that the device
needs to be verified.
* refactor: make DeviceListener in charge of device state
- move enum from SetupEncryptionToast to DeviceListener
- DeviceListener has public method to get device state
- DeviceListener emits events to update device state
* reset key backup when needed in RecoveryPanelOutOfSync
brings RecoveryPanelOutOfSync in line with SetupEncryptionToast behaviour
* update strings to agree with designs from Figma
* use DeviceListener to determine EncryptionUserSettingsTab display
rather than using its own logic
* prompt to reset identity in Encryption Settings when needed
* fix type
* calculate device state even if we aren't going to show a toast
* update snapshot
* make logs more accurate
* add tests
* make the bot use a different access token/device
* only log in a new session when requested
* Mark properties as read-only
Co-authored-by: Skye Elliot <actuallyori@gmail.com>
* remove some duplicate strings
* make accessToken optional instead of using empty string
* switch from enum to string union as per review
* apply other changes from review
* handle errors in accessSecretStorage
* remove incorrect testid
---------
Co-authored-by: Skye Elliot <actuallyori@gmail.com>
* feat: Update algorithm for history visible banner.
- The banner now only shows for rooms with `shared` or `worldReadable`
history visibility.
- The banner does not show in rooms in which the current user cannot
send messages.
* tests: Add `getHistoryVisibility` to stub room.
* docs: Add description to `visible` condition check.
* docs: Fix spelling.
Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
* chore: Remove `jest-sonar.xml`.
---------
Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
* Remove release announcements for new sounds & room list
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add a timeout for toast checks
* Add tests for room status bar
* Fix MAU toast never appearing.
* Also cover local room create fails.
* fix await
* docstring
* Enwiden
* Add a test for the changes
* Switch to non-solid compound icons for room settings & composer
Also manually fixes sticker.svg to be tintable until it is redrawn
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Replace sticker.svg
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update snapshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* style: move compound loading order
* fix: spotlight fiting
* fix: don't use internal compound css var in settings subsection
* fix: don't use internaal compound css var in read receipt group
* fix: add important to font settings on body element
* fix: remove play pause button color and fix padding
This color wasn't apply because this PR. Removing to avoid visual
regression
* fix: add important to form help message override in preference settings
* fix: override compound in space panel buttons
* fix: layout of forgot password
* fix: height of encryption tab
* fix: widget avatar border radius
* build: fix shared component screenshot update
The yarn command `test:storybook:update` was running twice
`playwright-sceenshots`. However this script is using ryuk to delete
remaining containers/etc and ryuk does the cleanup after 50sec of idle.
So on the script second call, ryuk container was still running and the
script failed.
This PR introduces a shell script to install the dependencies and to run
the tests in the same playrwright-screenshots call.
* Update packages/shared-components/scripts/storybook-screenshot-update.sh
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Update packages/shared-components/scripts/storybook-screenshot-update.sh
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* doc: fix duplicated documentation after github commit
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* docs: Update documentation for HistoryVisibleBanner and VM.
* docs: Improve documentation for `HistoryVisibleBanner`, second pass.
* docs: Move documentation to prop types over FC.
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* fix: Simplify type for `HistoryVisibleBannerViewModel` `threadId`.
* docs: Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Amend e2e normal icon from lock-solid to info (#31555)
* Amend e2e normal icon from lock-solid to info
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update screenshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
(cherry picked from commit 773662e018f7e6a6dfe7b595bf6f8d6869d6ce21)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update screenshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Switch to rendering svg icons rather than masking them in SpacePanel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix badly rendered icon in JoinRuleDropdown
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix badly rendered icon in RoomPreviewCard
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix badly rendered icon in Space menus
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix badly rendered icon in ThreadPanel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update snapshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update screenshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Remove unused icon underfill
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update screenshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add missing snapshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>