Commit Graph

4659 Commits

Author SHA1 Message Date
Robin
eb051ab318 Replace the mobile one-on-one layout with an edge-to-edge spotlight 2024-08-01 13:49:49 -04:00
Robin
942e28f3c2 Improve the layouts on small mobile calls
Due to an oversight of mine, 2440037639 actually removed the ability to see the one-on-one layout on mobile. This restores mobile one-on-one calls to working order and also avoids showing the spotlight tile unless there are more than a few participants.
2024-08-01 13:49:49 -04:00
Robin
0bfec65405 Refactor layout selection into smaller chunks 2024-08-01 13:49:49 -04:00
Robin
f89342713a
Merge pull request #2528 from robintown/remote-spotlight
More strongly prefer putting a remote speaker in the spotlight
2024-08-01 13:24:57 -04:00
Robin
5a0b81b57f More strongly prefer putting a remote speaker in the spotlight
If no one had spoken yet, we were still showing the local user in the spotlight. We should instead eagerly switch to showing an arbitrary remote participant in this case.
2024-08-01 12:48:47 -04:00
Timo
f9323d8b2c
Add future related widget capabilities (#2505)
* add future related widget capabilities

* Update js sdk
2024-08-01 11:41:47 -04:00
renovate[bot]
c68d536d80
Update LiveKit components (#2525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 16:30:24 +02:00
renovate[bot]
fde7dbedaa
Update dependency matrix-widget-api to v1.8.1 (#2527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 16:29:50 +02:00
fkwp
7e240e96b7
Merge pull request #2526 from element-hq/renovate/livekit-client
Update dependency livekit-client to v2.4.2
2024-08-01 16:04:53 +02:00
renovate[bot]
f84800363f
Update dependency livekit-client to v2.4.2 2024-08-01 13:26:05 +00:00
fkwp
f9e12c8ff3
Merge pull request #2524 from element-hq/renovate/github-actions
Update GitHub Actions
2024-08-01 09:28:05 +02:00
renovate[bot]
6abd1fbca1
Update GitHub Actions 2024-08-01 01:04:00 +00:00
Timo
599a4708cb
Backport deviceSetup await (#2522) 2024-07-31 13:21:37 +02:00
Timo
f53ea75c94
Add DeviceMute widget action io.element.device_mute. (#2482)
* Add DeviceMute widget action `io.element.device_mute`.
This allows to send mute requests ("toWidget") and get the current mute state as a response.
And it will update the client about each change of mute states.

* review + better explanation

* review

* add comments

* use `useCallback`
2024-07-30 13:30:33 +02:00
Robin
2b67a9cfbe
Merge pull request #2486 from robintown/delete-fullscreen
Delete the unused full screen code
2024-07-29 09:28:07 -04:00
fkwp
d582a7cc29
Merge pull request #2519 from element-hq/renovate/livekit-client
Update dependency livekit-client to v2.4.1
2024-07-29 11:35:26 +02:00
renovate[bot]
8757f07982
Update dependency livekit-client to v2.4.1 2024-07-29 09:32:35 +00:00
fkwp
5b8910d265
Merge pull request #2518 from element-hq/renovate/livekit-components
Update LiveKit components
2024-07-29 11:31:06 +02:00
renovate[bot]
a03ab6c9fa
Update LiveKit components 2024-07-29 01:38:23 +00:00
Robin
a3ce333352
Only show the expand button in spotlight layout (#2510)
It has no effect in any layout other than spotlight, and we've decided to hide it rather than spending effort to make it do something.
2024-07-26 12:57:49 +02:00
Robin
d5faa5ea90
Don't show the speaker in the spotlight in large grids (#2511)
We've concluded that this behavior is actually more distracting than it is helpful, and we want to try out what it's like to just have the importance ordering and visual cues help you find who's speaking.
2024-07-26 12:51:34 +02:00
Robin
5becd2e175
Fix a crash when using the duplicate tiles option (#2512) 2024-07-26 12:51:09 +02:00
Robin
3b38a5322c
Give tiles a minimum area rather than a minimum width and height (#2513)
This seems to result in more sensible cropping and allocation of space across the board, in my testing.
2024-07-26 12:50:44 +02:00
Robin
d062871f41
Don't consider microphone mute state in importance ordering (#2515)
We're finding that if we reorder participants based on whether their mic is muted, this just creates a lot of distracting layout shifts. People who speak are automatically promoted into the speaker category, so there's little value in additionally caring about mute state.
2024-07-26 11:27:22 +02:00
renovate[bot]
6b64bdfdb5
Update dependency @vector-im/compound-design-tokens to v1.7.0 (#2516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 06:37:46 +02:00
Robin
2de4705fa7
Merge pull request #2509 from robintown/icon-imports
Import Compound icons in the new recommended way
2024-07-25 14:26:41 -04:00
Robin
12e233970c Import Compound icons in the new recommended way
The Compound design tokens package is now set up to generate React components for every icon, so we no longer need to use our more error-prone method of importing the SVGs.
2024-07-25 13:15:45 -04:00
Robin
10b915c707
Merge pull request #2501 from robintown/layout-reactivity
Make layout reactivity less brittle
2024-07-25 12:51:39 -04:00
Robin
5544695f21 Use clearer names 2024-07-25 12:50:28 -04:00
Timo
72de8e066c
fix grammar (#2506) 2024-07-25 14:33:37 +02:00
Robin
63afda05bc
Merge pull request #2502 from robintown/shortcut-a11y
Improve accessibility of keyboard shortcuts
2024-07-25 08:24:13 -04:00
Timo
b05c4234b7
Remove hide header condition (#2493) 2024-07-25 11:32:05 +02:00
renovate[bot]
80ddb7495d
Update dependency eslint-plugin-unicorn to v55 (#2503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 10:35:26 +02:00
Robin
380f49fccc Improve accessibility of keyboard shortcuts
Ensure that they don't interfere with say, using spacebar to press a button, and also ensure that they won't do surprising things like scroll the page at the same time.
2024-07-24 18:42:21 -04:00
Robin
447bac3280 Make layout reactivity less brittle
Follow-up to ea2d98179c

This took a couple of iterations to find something that works without creating update loops, but I think that by automatically informing Grid whenever a layout component is re-rendered, we'll have a much easier time ensuring that our layouts are fully reactive.
2024-07-24 17:03:27 -04:00
Robin
c74cebcc4b
Merge pull request #2492 from element-hq/renovate/all-minor-patch
Update all non-major dependencies
2024-07-24 14:17:48 -04:00
renovate[bot]
cd0aa0ced6
Update all non-major dependencies 2024-07-24 18:13:38 +00:00
Robin
9cbd146e24
Merge pull request #2491 from element-hq/renovate/matrix-widget-api
Update dependency matrix-widget-api to v1.7.0
2024-07-24 11:14:46 -04:00
Robin
509bb4f1b0 Use LTS Node in CI 2024-07-24 11:12:36 -04:00
Robin
3be3a32f3d Update TypeScript target to match matrix-js-sdk
And work around https://github.com/microsoft/TypeScript/issues/55132
2024-07-24 11:07:46 -04:00
Robin
17adfc5777 Upgrade matrix-js-sdk 2024-07-24 10:17:47 -04:00
fkwp
4eb1be678d
Merge pull request #2499 from element-hq/renovate/livekit-components
Update LiveKit components
2024-07-24 15:27:53 +02:00
renovate[bot]
b34e7d00e9
Update LiveKit components 2024-07-24 12:57:28 +00:00
fkwp
78f4c2a650
Merge pull request #2498 from element-hq/fkwp/cleanup_config
Fkwp/cleanup config
2024-07-24 13:04:11 +02:00
Timo
a3773c0a9a prettier 2024-07-24 13:00:13 +02:00
fkwp
2b92ce8af2 enable new m.call.member format 2024-07-24 12:19:36 +02:00
fkwp
5564e2fde6 cleanup config files 2024-07-24 10:18:16 +02:00
Robin
35e2d2c432
Merge pull request #2494 from robintown/spotlight-fix
Quick and dirty fix to spotlight reactivity
2024-07-22 10:55:20 -04:00
Robin
ea2d98179c Quick and dirty fix to spotlight reactivity 2024-07-22 10:52:20 -04:00
renovate[bot]
d83a104dda
Update dependency matrix-widget-api to v1.7.0 2024-07-19 14:32:06 +00:00