127 Commits

Author SHA1 Message Date
Half-Shot
ffb001d6a8 one off 2026-05-15 16:35:56 +01:00
Half-Shot
82f49a8b01 Update snaps 2026-05-15 16:02:33 +01:00
Half-Shot
bf558dbc18 Bunch of refactors 2026-05-15 13:40:56 +01:00
Half-Shot
2719502240 Use load to make sonarQube happy 2026-05-15 10:06:39 +01:00
Half-Shot
92302f6771 Undo accidental snapshots 2026-05-15 08:09:47 +01:00
Half-Shot
b99b07baba remove extra test 2026-05-14 17:38:43 +01:00
Half-Shot
aea770c2b5 Merge remote-tracking branch 'origin/develop' into hs/refactor-upload-logic+upload-module-api 2026-05-14 17:26:00 +01:00
Will Hunt
ab904bb6ca
Ensure interface gradually reduces visible buttons when viewport shrinks (#33477)
* Rewrite Measured to be a functional component

* Add tests to cover narrow viewports

* lint

* breakpoint is optional

* Cleanup

* Provide default value

* Fixup

* fix two snaps

* Update screenshot

* and the other one

* unfake CIDER

* Update snaps AGAIN
2026-05-14 15:15:43 +00:00
Half-Shot
6e7d21f96c update screens again 2026-05-14 15:16:36 +01:00
Half-Shot
9d83c3cd75 Merge branch 'hs/measured-fix' into hs/refactor-upload-logic+upload-module-api 2026-05-14 14:31:17 +01:00
Half-Shot
df83bd05ef unfake CIDER 2026-05-14 14:30:54 +01:00
Half-Shot
f59b077675 Update snaps 2026-05-14 14:28:21 +01:00
Half-Shot
3b756d3c93 and the other one 2026-05-14 12:44:19 +01:00
Half-Shot
c81e90c7bc Update screenshot 2026-05-14 12:14:31 +01:00
Florian Duros
85aca65a81
Room list: drag and drop rooms into sections (#33366)
* chore: add dnd kit deps

* chore: patch dnd kit to fix ts error

* feat(sc): add drag-and-drop to room list item and wrapper

* feat(sc): make the room list header a droppable element

* feat(sc): add dnd to room list view

* feat(tags): can tag room as CHAT

* feat(vm): implement `changeRoomSection`

* feat(sc): disable dragging in flat list

* fix: disable keyboard navigation when dragging element

* test(sc): update snapshots

* test(sc): add dnd test

* test(e2e): add e2e tests for room drag and drop

* test(vm): add tests for changeRoomSection

* fix: remove focus visible when dropping with the mouse

* test(playwright): update existing screenshots

* chore(sc): move numbers out of main build

The Ew RecorderWorklet imports shared component bundle. However if the
bundle uses some deps using document/window which, the worklet will not
work.

The solution is to put the used functions into a separate bundle.

* doc(sc): add subpath import into README

* doc: typo barrel/bundle

* test: improve test expect

* refactor: add utils to section tag

* fix: incorrect check in tagRoom

* fix: add doc about dndkit tunning
2026-05-13 09:06:22 +00:00
rbondesson
97da3be67a
Fix for message action bar visibility getting out of sync with the real UI state (#33445)
* Make sure action bar is not visible when using up/down arrows during editing

* Add a temporary mouse move listener to handle tooltips stealing onMouseLeave events

* Better naming, add comments and test

* Fix test that performs its own hover/pointer movement before clicking.

* Fix playwright test that actually displayed a message time stamp when hover state was stale

* Fixes after merge
2026-05-13 07:52:47 +00:00
Zack
1e7c9f672a
Phase 2 Refactor MImageBody to MVVM and remove legacy component (#33212)
* MVVMing of MImageBody and removing legacy component + css

* Fix Prettier

* update small image to large image in test

* Update test

* Preserve MImageBody legacy class names

* Click image in custom component download test

* Update snapshots

* Update MBodyFactory snapshots

* Added new tests to pass coverage

* Fix prettier

* Remove legacy import that was removed

* Add MImageReplayBody test for coverage

* Remove legacy MImageBody selectors from image view

* Update image body selectors in Playwright tests

* Keep file panel image body spacing compact

* Update apps/web/src/viewmodels/message-body/ImageBodyViewModel.ts

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>

* added documentation to component

* Fix hidden media placeholder import

---------

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
2026-05-13 06:03:43 +00:00
Half-Shot
7e01752f64 fix two snaps 2026-05-12 16:39:04 +01:00
Will Hunt
f296084fed
Merge branch 'develop' into hs/measured-fix 2026-05-12 16:01:21 +01:00
Half-Shot
d01149bd36 Fixup 2026-05-12 15:18:26 +01:00
Half-Shot
2a82cffe07 update copyright 2026-05-12 14:15:00 +01:00
Half-Shot
b25d05a247 Merge remote-tracking branch 'origin/develop' into hs/refactor-upload-logic+upload-module-api 2026-05-12 13:48:47 +01:00
Half-Shot
4339dfcbe0 Add tests to cover narrow viewports 2026-05-12 12:53:30 +01:00
Will Hunt
aeaeb55cda
Rework Upload internals to use MVVM (#33307)
* Initial reword of upload to MVVM.

* Update tests

* More incremental improvements

* Refactor tests to use helper method for composer uploads.

* Add drag and drop tests

* lint

* Add commentary

* fixup test

* More precise selector

* Retarget uploads

* lint

* fixup

* one more type

* update snap

* Fixup composerUploadFiles

* fix import

* lint

* Copy and paste fixes too

* Add tests for pasting

* Add tests for pasting files.

* Remove redundant fn

* rm comment

* tidy up

* Test cleanup

* More clean up

* another fix

* Use condensed version

* Cleanup tests

* more cleaning

* last bity

* s/throw Error/throw new Error/
2026-05-12 11:30:30 +00:00
Zack
39607799de
Refactor view source event to MVVM (#33428)
* Refactor view source event to MVVM

* remove unused variable since movement

* Update view source event screenshots

* Update packages/shared-components/src/room/timeline/event-tile/body/ViewSourceEventView/ViewSourceEventView.tsx

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>

* Use view model disposables for source event decryption

* Consolidate source event view model updates

* Fix prettier

* Fix view source expanded class name

* Remove void from source event decryption

---------

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
2026-05-12 11:17:47 +00:00
Half-Shot
0c3429a5d1 Add a test for the composer 2026-05-12 11:15:21 +01:00
Half-Shot
8685c209b4 Merge remote-tracking branch 'origin/develop' into hs/refactor-upload-logic 2026-05-11 13:46:30 +01:00
renovate[bot]
a17acec2ee
Update testcontainers docker digests (#33431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-08 10:04:01 +00:00
renovate[bot]
b0a514f65a
Update testcontainers docker digests (#33421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-07 12:12:21 +00:00
rbondesson
e491fb8c81
Restore the Manage account button text color and add playwright test (#33411)
* Restore the Manage account button text color and add playwright test

* Fix prettier issue

* Fix Sonar issue
2026-05-06 17:42:33 +00:00
Robin
1cc868a25a
Update button in incoming call toast to say 'Decline' (#33405)
* Update button in incoming call toast to say 'Decline'

Rather than 'Ignore'. This change has been agreed with design since 'Ignore' did not properly communicate that clicking the button would inform the caller that you deliberately rejected their call.

* Update incoming call toast screenshots
2026-05-06 10:46:05 +00:00
Will Hunt
d4f419d1b5
Refactor and redesign user menu (#32812)
* Initial quick settings menu

* Total refactor

* Quick design fixes.

* Refactor to use a view model.

* Remove unused strings

* Apply label

* Refactor naming

* Fixup most tests

* Remove specific theming for old user menu

* prettier

* Lots of cleanup

* Allow overriding the menu classes

* update snap

* Oops translations

* tidy

* Cleanup guest flows.

* Copyrights

* Remove unused classname

* Match guest view to designs

* Add guest screenshots

* Update guests

* snapshot

* Cleanup

* fix import

* Update tests

* More sceenshot fixes

* update collapsed

* move statements to prevent flake

* update snap

* Kick it along

* Click the room list

* Fiddle with the room video list.

* More screenshot adjustments

* fix imports

* fix another import

* Update snaps

* update snaps

* Fix snap flakes

* Refactor to move actions to view component, and callbacks to Actions

* Cleanup

* Cleanup

* Cleanup

* invert auth

* More bits

* fix

* Change md buttons to sm

* Try to assemble the snapshot component of the house of cards

* Consistent newlines between tests

* Update snapshot

Not sure why this was like this, this seems consistet for a logged in user

* Update snapshot

again these seem sensible for a guest

* Remove test

I don't really understand why the thing it asserts matters, so I'm removing
it for now.

* Update snapshot

* screenshot

* Don't show profile picture for guests

I'm not really sure what it meant for this interface to have a
property with a default value, so I've removed it and added the
property to the view model.

* Show avatar in story

* update snapshots for showAvatar

* Update screenshots

& hopefully make hover consistent in one

* Use outline home icon

---------

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2026-05-06 08:34:36 +00:00
renovate[bot]
cec8b7da6c
Update ghcr.io/element-hq/synapse:develop Docker digest to ed1414b (#33396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 17:00:34 +00:00
Kamil Wolter
9adaabae66
Update home page CSS (#32723)
* Update home page CSS

* Update home-thin-viewport snapshot

* Update window-custom-theme snapshot

* Update window-custom-theme snapshot after develop merge
2026-05-05 11:24:52 +00:00
Will Hunt
38c3d4f8a3
Playwright test for pasting files (#33350)
* Add tests for pasting

* Add tests for pasting files.

* Remove redundant fn

* rm comment
2026-05-01 11:25:49 +00:00
Half-Shot
7f8849957b Merge branch 'hs/pw-test-for-pasting-files' into hs/refactor-upload-logic 2026-05-01 11:12:16 +01:00
Half-Shot
3df6d43901 rm comment 2026-05-01 11:10:43 +01:00
Half-Shot
02f362f48f Remove redundant fn 2026-05-01 11:10:32 +01:00
Half-Shot
a64930aed0 Add tests for pasting files. 2026-05-01 11:09:40 +01:00
Half-Shot
ab97aa21de Add tests for pasting 2026-05-01 11:03:42 +01:00
Will Hunt
c5766ddbe9 Fixup composerUploadFiles 2026-04-30 17:00:50 +01:00
Will Hunt
178587ff88 Merge remote-tracking branch 'origin/develop' into hs/refactor-upload-logic 2026-04-30 16:51:34 +01:00
Florian Duros
c2e5aa7adc
Room list: add collapse/expand all sections (#33318)
* chore: update compound design tokens

* feat(sc): add collapse/expand button to room list header

* feat: add new events to broadcast section state

* feat(vm): add expand/collpase event to room list events

* test: add e2e tests

* chore: fix company name in copyright

* chore: use two differant actions for collapse/expand

* Update apps/web/src/viewmodels/room-list/RoomListHeaderViewModel.ts

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* test: fix existing tests

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-30 14:32:43 +00:00
Will Hunt
af20018ea2
Playwright tests for file uploads (#33319)
* Refactor tests to use helper method for composer uploads.

* Add drag and drop tests

* lint

* Add commentary

* fixup test

* More precise selector
2026-04-30 12:49:27 +00:00
rbondesson
b0ee6f5323
Add CSS cascade layers for Compound, shared components, and app/web styles (#33302)
* Layer Compound and shared component CSS

* Layer app theme CSS

* Remove !important flags from ActionBarView

* Remove unnecessary !important statements from shared components

* Avoid dead code errors for *.pcss just because layer is specified after @import url

* Remove unnecessary !important styling

* Override Banner defaults in RoomStatusBarView

* Updated snaps

* Updated snaps

* Fix styling of media body in app/web

* Fix styling for Compound anchors

* Fix styling issues in app/web

* More styling fixes

* Fix a problem extracting css for HTMLExport

* Revert changes

* Fix for theme styling

* Add test to improve coverage

* Prettier

* Fix styling issues

* Add data-kind attribute to avoid global styling override

* Update screenshot that now is correct

* Revert data-kind attribute

* Handle LinkPreview styling in .pcss

* Fix flaky test: Avoid racing the lazy-loaded ManageEventIndexDialog

* Take care of review comments

* Updated snaps

* Updated snaps again after merge

* Remove !important from RoomStatusBar
2026-04-30 11:54:49 +00:00
renovate[bot]
febecb8e56
Update testcontainers docker digests (#33340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 08:45:21 +00:00
Michael Telatynski
aeefdfd751
Remove duplicated UI in appearance settings (#33336)
* Remove duplicated UI

This setting is available on the same tab in a higher up section already

* Update screenshot
2026-04-29 15:53:00 +00:00
Half-Shot
7c1ed9653d Retarget uploads 2026-04-28 17:38:09 +01:00
Half-Shot
3fea8d84c1 More precise selector 2026-04-28 15:58:22 +01:00
Half-Shot
d46179afdc fixup test 2026-04-28 15:15:52 +01:00