Commit Graph
219 Commits
Author SHA1 Message Date
Robin Townsend cbfd03f9c6 Add a dropdown to choose between video calls and radio calls 2022-05-26 13:52:06 -04:00
Robin Townsend 426e1a433b Make drag-and-drop smoother 2022-05-24 16:37:24 -04:00
RobinandGitHub 1367ff9914 Merge pull request #340 from robintown/fix-invite-modal
Fix soft crash when opening invite modal in lobby
2022-05-19 10:46:41 -04:00
RobinandGitHub 7a2d64c0ef Merge pull request #339 from robintown/room-avatars
Display room avatars
2022-05-19 10:46:24 -04:00
David BakerandGitHub d81c52e9bb Merge pull request #329 from vector-im/dbkr/rageshake_ptt
Enable rageshake on PTT mode
2022-05-19 10:40:43 +01:00
Robin Townsend c54f1bd7a3 Fix soft crash when opening invite modal in lobby 2022-05-18 19:04:59 -04:00
Robin Townsend 24f721e414 Display room avatars 2022-05-18 19:00:59 -04:00
Robin Townsend 1e5539f165 Don't leave UnauthenticatedView if there was a room creation error 2022-05-17 12:38:01 -04:00
David Baker d019add257 Merge remote-tracking branch 'origin/main' into dbkr/rageshake_ptt 2022-05-17 15:41:57 +01:00
David Baker cc8ce7a05c Move feedback button to overflow menu
To be consistent with normal view and avoid nested dialogs.

Also disable space for the PTT key when the feedback dialog is visible,
since otherwise you can't type a space. Involves some rearrangement of
modal state.

Remove accidentally comitted vite port config.
2022-05-17 15:36:13 +01:00
David BakerandGitHub c13040f0b0 Merge pull request #327 from vector-im/dbkr/end_talk_sound
Add sound when speaker stops speaking
2022-05-16 20:37:38 +01:00
David Baker b3285974f9 Enable rageshake on PTT mode
By putting another 'Submit Feedback' button in the developer section
of the setting modal (we can work out a better place for it).
2022-05-16 16:58:39 +01:00
David BakerandGitHub 24a1091954 Merge pull request #325 from vector-im/dbkr/fix_mute_races
Mute local mic if blocked and fix races on mute / unmute
2022-05-16 14:12:15 +01:00
David Baker 9fd7329554 Add sound when speaker stops speaking
And also a slightly nicer blocked sound (ok, I couldn't let it go).
2022-05-13 21:00:14 +01:00
David BakerandGitHub 2a19a9964d Merge pull request #326 from vector-im/dbkr/ptt_button_touch_fixes
Fixes for touch interface on push-to-talk button
2022-05-13 20:45:22 +01:00
David Baker 3fc9c1b74a Import createref separately 2022-05-13 20:43:20 +01:00
David Baker f6f0c20b08 Chain promises correctly 2022-05-13 20:39:21 +01:00
David Baker 2af87fa8b8 Fixes for touch interface on push-to-talk button
* Avoid also getting a 'mousedown' event by making the event listener
   non-passive so the preventDefault() works
 * Remember the touch that pressed the button so we only un-press
   when that touch ends, otherwise the button gets released if the
   user taps the screen anywhere else.
2022-05-13 18:28:48 +01:00
David Baker d34c8d08a4 Add comment 2022-05-13 18:09:45 +01:00
David Baker 0f687fb8b8 Fix races on mute / unmute
By serialising everything on a promise chain
2022-05-13 17:58:59 +01:00
David Baker 603dd3786a Play the blocked sound on time limit
Play the 'blocked' sound effect whenever the user is till holding
the button but can't speak anymore, whether they've been cut off
by someone else or have reached their time limit.
2022-05-12 14:13:03 +01:00
David Baker b222b4f708 Fix hold-to-speak and prompt text on mobile 2022-05-12 12:07:04 +01:00
David BakerandGitHub abc2449b07 Merge pull request #320 from vector-im/dbkr/pttcallview_types
More types on PTTCallView
2022-05-12 10:07:59 +01:00
David Baker 323505fbb4 Put back listeners commented for testing 2022-05-12 10:04:14 +01:00
David Baker 2b06c6f2e6 More types on PTTCallView
Give it a props type
2022-05-11 17:44:26 +01:00
David Baker abe9ece38f Add push-to-talk sound effects
Fixes https://github.com/vector-im/element-call/issues/296
2022-05-11 16:28:08 +01:00
David Baker cf9625f33e Final type fixes
Revert previous type import hack and type a couple more bits
2022-05-10 17:18:26 +01:00
David Baker 446fd9c7c0 Make tsc happy with the js-sdk 2022-05-07 19:02:54 +01:00
David Baker 00ffa1b6cd Add types from merge & fix import order 2022-05-06 22:43:22 +01:00
David Baker 055fbe786d Merge remote-tracking branch 'origin/main' into dbkr/typescript_round_1 2022-05-06 21:41:14 +01:00
David Baker 5fb1f556d5 Prettier 2022-05-06 21:34:58 +01:00
David Baker f4ba315cef Add more hook dependencies 2022-05-06 21:33:49 +01:00
David BakerandGitHub 9ba12da544 Merge branch 'main' into dbkr/fix_lint_errors 2022-05-06 21:31:35 +01:00
David BakerandGitHub 9374900ce0 Merge pull request #313 from vector-im/dbkr/fix_time_limit
Return to normal state when time limit reached
2022-05-06 21:28:40 +01:00
David Baker 7e5610eb36 Prettier 2022-05-06 21:27:07 +01:00
David Baker 1253638861 Store unmuteError in main state 2022-05-06 21:23:29 +01:00
David BakerandGitHub 5422cb76f1 Merge branch 'main' into dbkr/license_headers 2022-05-06 21:18:45 +01:00
David Baker 4488947eed Initial round of typescripting 2022-05-06 11:32:09 +01:00
David Baker bf8f164f55 Fix lint errors
Various hooks either missing dependencies or with extra ones.

Two remaining errors are from the recapcta code where I can't
work out if the extra dependency is intentional or not.
2022-05-05 13:15:07 +01:00
David Baker a70dbb130f Run prettier 2022-05-05 12:26:30 +01:00
David Baker 7edf544d73 Return to normal state when time limit reached 2022-05-05 12:22:51 +01:00
David Baker ad3bde9920 Undo unintentionally commented line 2022-05-04 17:36:35 +01:00
David Baker 85a98b3706 Remove onWindowBlur
we already do this in usePTT
2022-05-04 17:35:43 +01:00
David Baker 85e3f3761a Add all the license headers 2022-05-04 17:09:48 +01:00
David Baker f0b116714b Fix mouseup/down behaviour of PTT button
Handle mouseup events anywhere so the button releases if you move
the cursor out of the button & release. Likewsie for window losing
focus.
2022-05-04 16:52:45 +01:00
David Baker 0136fd3cab Run prettier 2022-05-04 11:24:25 +01:00
David Baker 70c099c4b5 Wire up pressing the PTT button to unmute as well as spacebar 2022-04-29 18:56:17 +01:00
Robert Long 363f2340a0 Finish basic ptt implemenation 2022-04-28 17:44:50 -07:00
Robert Long 9ef9680e07 Fix PTT button alignment 2022-04-28 11:13:01 -07:00
Robert Long e3cec93669 Add basic mobile styling 2022-04-27 17:19:58 -07:00