* nx test:playwright:screenshots: only do snapshots for Chrome
`nx` eats the `--project` option unless we prefix with `--`.
* Apply suggestion from @richvdh
* Updates to contribution guide for new features.
* Update CONTRIBUTING.md
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Some final touches.
* Linter/prettier fixes.
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Upgrade to compound 9.2.0
... to pick up the export of PageHeader
* update snapshots
* update shared-components snapshots
* More snapshot updates
* update snapshot
* GHA: Show disk usage on failure
This test was flaking. The problem appears to have been that we were clicking
"Continue" twice in succession; the intention was that we click on two
*different* "Continue" buttons, but sometimes we ended up clicking in the same
one twice.
Fix it by waiting for the content to change after the first click.
Fixes: #31316
* feat: add creation section dialog
* feat: add in skip list a method to change filters
* feat: add helper to creation section
* feat: add custom sections data to Settings
* feat: add custom section to room list store v3
* feat: update header and room list item vms
* feat: add toast to room list vm
* feat: add new translation
* chore: move util functions of room list specs
* test: add custom section playwright tests
* chore: call loadCustomSections in RoomListStoreV3 ctor
* make sure to disconnect from possibly active calls for a room when leaving the room
* log error on log call
* Update apps/web/src/utils/leave-behaviour.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* fix wrong logger import
* hang up calls properly on empty rooms for both legacy and element calls (listen for room event and leave call if only one member left). add tests for both legacy and element calls.
* format Call-test.ts
* revert async on function def
* revert Call.ts and Call-test.ts. Wrap legacy call hangup in try
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Improve the toasts fixture of the playwright-common tools
* Increase @element-hq/element-web-playwright-common version to 3.2.0
* Default to 2 second wait for IfExists variants
* Set playwright-common version to 4.0.0 due to breaking change
* Move handleToast into a free function
* Rename handleToast to clickToastButton
* Document new param on clickToastButton
When playwright starts the development web server, have it tell nx to use the
`stream` output style, which is somewhat clearer than the
default. (Specifically, it distinguishes between output from different tasks,
so you can see where any errors are coming from.)
* Add `analytics` config to nx
There doesn't seem to be any way to stop nx wanting to add this config setting,
so I think we just have to add it.
* Update nx.json
* feat: add way to create custom section in SC
* feat: disable custom section in vms
* chore: include design tokens icons in vitest config
* test: update screenshot
* chore: use one react import
* InviteDialog: simplify users section for CallTransferDialog
The majority of `renderMainTab` is enpty for the call transfer dialog, so we
may as well inkine the bits that aren't.
* Simplify `renderMainTab`
Now that this is unused for CallTransfer, we can simplify
* Remove redundant eslint-disable
eslint seems happy without this, and we shouldn't be disabling lints for a
whole file anyway
* Simplify layered.sh
pnpm link already installs dependencies, this was causing the prepare script to run twice
* Improve logging in fetchdep and make linter happier
* Fix incorrectly linking js-sdk
* Update eslint-plugins
* Hold back esbuild to unbreak vitepress
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Skip bulk of CI in pull_request renovate runs
Relying instead on running the full suite in the merge queue to lower the impact of Renovate on the github actions concurrency limits in the org
* Iterate
* Exclude png files from Sonar analysis
They just cause errors
`11:39:29.466 WARN Invalid character encountered in file /home/runner/work/element-web/element-web/apps/web/res/vector-icons/152.png at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.`
* Modify sonar-project.properties for exclusions
Updated sonar.exclusions to include additional file types.