rbondesson
7fe8cdafe0
Refactor EventTile using the MVVM pattern - #2 ( #33489 )
...
* Improve coverage
* Add view model unit tests to improve coverage
* Extract initial pure EventTile derived state helpers
* Extract EventTile derived state helpers
* Extract EventTile class state derivation
* Extract EventTile line class derivation
* Extract EventTile sender profile state
* Extract EventTile avatar member selection
* Extract EventTile avatar clickability state
* Extract EventTile sender profile mode
* Extract EventTile action bar visibility
* Extract EventTile timestamp visibility
* Extract EventTile timestamp selection
* Extract EventTile timestamp display state
* Extract ReplyChain timestamp visibility
* Extract EventTile footer display state
* Fix sonar issue
2026-05-18 05:36:13 +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
rbondesson
0f723390a9
Refactor EventTile using the MVVM pattern - #1 ( #33463 )
...
* Add EventTile layout attribute tests
* Add EventTile timestamp tests
* Add EventTile sender and avatar tests
* Add EventTile read receipt tests
* Add EventTile reactions and footer tests
* Add EventTile action bar tests
* Add EventTile reply chain tests
* Add EventTile highlight exclusion tests
* Add EventTile action bar focus tests
* Add EventTile context menu characterization tests
* Add EventTile rendering attribute tests
* Add EventTile search thread info tests
* Add EventTile reaction update tests
* Add EventTile message type class tests
* Fix flakyness in root attribute tests
* Fix Sonar issues
* Fix additional Sonar issues
2026-05-12 12:28:00 +00:00
rbondesson
a1c1d330e9
Fix msgtype changes from edits not rerendering timeline tiles ( #33416 )
...
* Fix msgtype changes from edits not rerendering timeline tiles
* Change approach to view model listeners instead
* Repaint the mounted tile on MatrixEventEvent.Replaced
2026-05-08 09:33:23 +00:00
Zack
d197fb4e30
Refactor and Move TileErrorBoundary to Shared Components ( #32793 )
...
* creation of stories and view in shared-components
* migrate EventTile error fallback to shared TileErrorView MVVM
* Fix lint errors and unused import
* Update tests because of the refactoring
* Update snapshots + stories
* removal of mxEvent since it never changes in timeline
* Update packages/shared-components/src/message-body/TileErrorView/TileErrorView.stories.tsx
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* Update apps/web/src/viewmodels/message-body/TileErrorViewModel.ts
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* Update apps/web/src/viewmodels/message-body/TileErrorViewModel.ts
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* docs: add TileErrorView tsdoc
* docs: add TileErrorViewModel tsdoc
* docs: add view source label tsdoc
* refactor: move tile error layout into vm
* docs: add TileErrorView story view docs
* docs: move tile error story list wrapper
* refactor: remove unused tile error event setter
* Update packages/shared-components/src/message-body/TileErrorView/TileErrorView.stories.tsx
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
* docs: add tsdoc for event tile error fallback props
* refactor: rely on snapshot merge no-op checks
* remove unessecery if statment
* test: restore EventTile mocks in afterEach
* test(shared-components): move TileErrorView baselines
---------
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
2026-04-08 09:05:31 +00:00
Zack
4f3a1a2cc6
Refactor and Move RedactedBodyView To Shared Components ( #32772 )
...
* refactoring and creation of shared-components for reductedBodyView
* move redacted message rendering to shared MVVM view
* Update snapshots + fix lint errors
* Remove MatrixClientPeg and use reguler react matrix client context
* Stop resyncing redacted body view models with mxEvent
* Fix redacted_because test fixtures for stricter event typing
* Simplify redacted body client access
* Watch timestamp setting in redacted body view model
* Refactor redacted and decryption failure body factories into MBodyFactory
* Prettier Fix
* Refactor FileBody into same pattern for consitancy
2026-03-24 10:02:07 +00:00
ElementRobot
8a38a2fe4a
Localazy Download ( #32808 )
...
* [create-pull-request] automated change
* test: update SC tests
* test: update SC screenshots
* test: update EW snapshots
* test: update EW tests
* test: update EW e2e tests
---------
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com >
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
2026-03-18 15:53:28 +00:00
Michael Telatynski
91a3cb03c1
mv element.io @types __mocks__/ debian docker module_system/ playwright res src test webapp Dockerfile .dockerignore .eslintignore .stylelintrc.cjs babel.config.cjs recorder-worklet-loader.cjs .modernizr.json components.json config.json config.sample.json package.json project.json tsconfig.json tsconfig.module_system.json jest.config.ts playwright.config.ts webpack.config.ts build_config.sample.yaml apps/web/
...
mkdir apps/web/scripts
mv scripts/{cleanup.sh,ci_package.sh,copy-res.ts,deploy.py,package.sh} apps/web/scripts
And a couple of gitignore tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2026-02-24 15:43:58 +00:00