Janne Mareike Koschinski and GitHub
ee2ee3c08c
Implement new Read Receipt design ( #8389 )
...
* feat: introduce new alignment types for tooltip
* feat: introduce new hook for tooltips
* feat: allow using onFocus callback for RovingAccessibleButton
* feat: allow using custom class for ContextMenu
* feat: allow setting tab index for avatar
* refactor: move read receipts out of event tile
* feat: implement new read receipt design
* feat: update SentReceipt to match new read receipts as well
2022-04-22 17:09:44 +02:00
Germain and GitHub
5d6143aaa7
Extract view/join room logic to room helper ( #8329 )
2022-04-21 10:56:02 +01:00
Janne Mareike Koschinski and GitHub
d5e911d876
Improve text of account deactivation dialog ( #8371 )
...
* Improve text of account deactivation dialog
* Reduce spacing of deactivate account dialog
2022-04-21 11:37:38 +02:00
Michael Telatynski and GitHub
b4bcbb2f30
Fix race in Registration between server change and flows fetch ( #8359 )
2022-04-20 14:04:42 -04:00
Robin and GitHub
6e86a14cc9
Show a lobby screen in video rooms ( #8287 )
...
* Show a lobby screen in video rooms
* Add connecting state
* Test VideoRoomView
* Test VideoLobby
* Get the local video stream with useAsyncMemo
* Clean up code review nits
* Explicitly state what !important is overriding
* Use spacing variables
* Wait for video channel messaging
* Update join button copy
* Show frame on both the lobby and widget
* Force dark theme for video lobby
* Wait for the widget to be ready
* Make VideoChannelStore constructor private
* Allow video lobby to shrink
* Add invite button to video room header
* Show connected members on lobby screen
* Make avatars in video lobby clickable
* Increase video channel store timeout
* Fix Jitsi Meet getting wedged on startup in Chrome and Safari
* Revert "Fix Jitsi Meet getting wedged on startup in Chrome and Safari"
This reverts commit 9f77b8c227c1a5bffa5d91b0c48bf3bbc44d4cec.
* Disable device buttons while connecting
* Factor RoomFacePile into a separate file
* Fix i18n lint
* Fix switching video channels while connected
* Properly limit number of connected members in face pile
* Fix CSS lint
2022-04-20 11:03:33 -04:00
Kerry and GitHub
4a38cbd550
Live location sharing: beacon list view tiles ( #8363 )
...
* add basic sidebar container
Signed-off-by: Kerry Archibald <kerrya@element.io >
* optionally show icon in beaconstatus
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add avatar and style list item
Signed-off-by: Kerry Archibald <kerrya@element.io >
* formatted last update time
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test beacon list item
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move makeRoomWithState events to test utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move beacon test helpers into utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add copyable text to beacon list item
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add copyable geo uri to list item
Signed-off-by: Kerry Archibald <kerrya@element.io >
* improve spacing
Signed-off-by: Kerry Archibald <kerrya@element.io >
* overflow scroll on list
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-20 11:57:50 +00:00
Kerry and GitHub
e45cd39906
Live location sharing: maximised view sidebar container ( #8360 )
...
* add h4
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add mixin to clear list style
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add basic sidebar container
Signed-off-by: Kerry Archibald <kerrya@element.io >
* open list view button on beaconviewdialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update tests for new utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-20 08:14:24 +00:00
Janne Mareike Koschinski and GitHub
bca9caa98e
Settings toggle to disable Composer Markdown ( #8358 )
2022-04-19 14:53:59 +01:00
Kerry and GitHub
f70186ea9b
Live location sharing: set map bounds to include all locations ( #8324 )
...
* open a dialog with map centered around first beacon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test dialog opening from beacon body
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test beaconmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add bounds to Map comp
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add focusBeacon to beaconviewdialog, use bounds
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use membercolor on beacon view markers
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add lnglatbounds to maplibre mock
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update snapshots for expanded maplibre Map mock
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test map bounds
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy copy paste comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add fallback when no more live locations
Signed-off-by: Kerry Archibald <kerrya@element.io >
* accurate signature for getBoundsCenter
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-19 11:35:39 +00:00
Suguru Hirahara and GitHub
c68515ae0a
Replace "Reply in thread" and "Leave the beta" with variables ( #8349 )
2022-04-19 08:43:35 +00:00
27118a9799
Fix admin tools phrase inconsistency ( #8342 )
...
* fix-admin-tools-phrase-inconsistency
* correctly specify space room action
* run i18n
* Apply suggestions from code review
Revert the applied formatting.
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
* fix inconsistency for RoomKickButton
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-04-17 19:29:41 +00:00
d162e021e1
Add message right click context menu v2 ( #5672 )
...
* migrate the message context menu to IconizedContextMenu
Signed-off-by: Michael Weimann <mail@michael-weimann.eu >
* migrate the message context menu to IconizedContextMenu
Signed-off-by: Michael Weimann <mail@michael-weimann.eu >
* Added right-click menu
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* add message context menu group keys
Signed-off-by: Michael Weimann <mail@michael-weimann.eu >
* add message context menu icons
Signed-off-by: Michael Weimann <mail@michael-weimann.eu >
* add _MessageContextMenu.scss license header
Signed-off-by: Michael Weimann <mail@michael-weimann.eu >
* use null vars for context menu lists
* Add allowOverridingNativeContextMenus()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Use allowOverridingNativeContextMenus()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove mistaken line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* InputHTMLAttributes -> AllHTMLAttributes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Convert to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add some types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Make onClick optional
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add rightClick prop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add copy button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* What about upgrading deps after the eslint migration, Simon?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add edit button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* fix
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add reply button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add react button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Cleanup render()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix comments
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add save button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Don't show context menu if editing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add special handling for click a timestamp
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix double empty line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Don't show context menu for images
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Cleanup
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix order
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Keep action bar shown when right-clicking
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Highlight event tile when right-clicking
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Pointless change so that I can re-run the CI
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove dowload button
Because we don't use this menu when clicking on images
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Be more clear for non-bools
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Use triggerOnMouse down prop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove a comment
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove unused var
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove unnecessary import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add some missing types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add missing type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove unused import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add a missing type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix types/naming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add missing current
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove unused var
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix editing and replying
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Support right-click context menu for threads
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Make button order match `MessageActionBar`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix missing permalink button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Remove useless part of if statement
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Some small refactoring for consistency
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Some more refactoring
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix `editEvent()` call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Make editing polls work
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix collapse reply chain button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix timelineRenderingType
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix reply button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Hide right-click context menu behind a labs flag
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Add missing return type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Make `contextMene` optional
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Move `renderContextMenu()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Simplify `renderContextMenu()`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Improve `aboveLeftOf` typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Use `InputHTMLAttributes`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Disable message right-click context menu in browser (for now)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Give permalink button more props
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
Co-authored-by: Michael Weimann <mail@michael-weimann.eu >
2022-04-15 08:22:59 -06:00
8eaae6bdbc
Change "Ban" to "Ban from room" to fix an inconsistency in the Admin Tools dialog ( #8281 )
...
* fix-admin-tools-phrase-inconsistency
* correctly specify space room action
* run i18n
* Apply suggestions from code review
Revert the applied formatting.
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-04-14 15:01:32 -06:00
Kim Brose and GitHub
71ea88286d
clarify /jumptodate argument ( #8323 )
...
* Update SlashCommands.tsx
* remove date format from description
* update strings
2022-04-14 11:13:18 -04:00
Kerry and GitHub
1c215e2b71
Live location sharing - render users own beacons in timeline ( #8296 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update commentt
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* extract livetimeremaining into own component
Signed-off-by: Kerry Archibald <kerrya@element.io >
* extract more beacon state utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update tests for roomlivesharewarning
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add beacon map and status chin
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add handling for bubbles
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tests for BeaconBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move displaystatus check up to mbeaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io >
* rename BeaconStatusChin -> BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io >
* make BeaconStatus generic
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* adjust spinner size
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add static time remaining option to beacon status
Signed-off-by: Kerry Archibald <kerrya@element.io >
* render time differently for own beacon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use children to add actions to BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add OwnBeaconStatus wrapper with stop button
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add error states for own beacon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test OwnBeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move ownbeaconstatus to write dir
Signed-off-by: Kerry Archibald <kerrya@element.io >
* improve button styling
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-14 14:41:28 +02:00
Michael Telatynski and GitHub
7a1a2c41d2
Improve Threads beta around degraded mode ( #8318 )
...
* Hide MAB Threads prompt if user would have degraded mode
* Confirm user wants to enable Threads beta if in degraded mode
* fix
* Fix copy
2022-04-14 11:50:55 +01:00
Kerry and GitHub
e59edb7101
Live location sharing - beacon in timeline happy path ( #8285 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update commentt
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* extract livetimeremaining into own component
Signed-off-by: Kerry Archibald <kerrya@element.io >
* extract more beacon state utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update tests for roomlivesharewarning
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add idle status to live beacon icon
* add beacon map and status chin
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add handling for bubbles
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tests for BeaconBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move displaystatus check up to mbeaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io >
* rename BeaconStatusChin -> BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io >
* make BeaconStatus generic
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* adjust spinner size
Signed-off-by: Kerry Archibald <kerrya@element.io >
* polish and copyrights
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* better comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-13 10:44:15 +02:00
Michael Telatynski and GitHub
ceae8bb39a
Hide the reply in thread button in deployments where beta is forcibly disabled ( #8294 )
2022-04-12 14:24:23 +00:00
Emmanuel and GitHub
1e442b2260
Fix inconsistent grammar in device sign out modal ( #8253 )
2022-04-12 14:16:00 +01:00
Kerry and GitHub
9ba55d1d14
Live location sharing - consolidate maps ( #8236 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test Map
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update snaps with new mocks
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* make LocationViewDialog map interactive
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add copyrights, shrink snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-11 18:40:06 +02:00
7ba991cd8c
Fix export of redacted polls ( #8118 )
...
* Move RequiresClient from MatrixCapabilities to ElementWidgetCapabilities
Signed-off-by: Robin Kouwenhoven <r.kouwenhoven@outlook.com >
* Fix export of redacted polls
* Fix ESLint error
* Add test cases for poll events
* Add test cases for message events
* Fix lint errors
* Fix i18n error
* Revert "Move RequiresClient from MatrixCapabilities to ElementWidgetCapabilities"
This reverts commit 920f80a2d4385656925987ccc9d37420255405c1.
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: Kerry <kerrya@element.io >
2022-04-11 11:10:16 +02:00
cdb0c2c6a1
Add heart effect ( #6188 )
...
* add heart effect
* clean up syntax
* convert indentation to spaces
* appease the linter
* hopefully resolve merge conflict
* add missing semicolons
* add label to toggle switch
* Revert "add label to toggle switch"
This reverts commit 5e83d9b9109f5f1922555484f7492596cc5966ff.
* remove extra space
* replace gift heart with emoji heart in timeline message
* reduce number of emoji triggers
* copyright should be myself
* Update src/effects/index.ts
Co-authored-by: ColonisationCaptain <52425971+ColonisationCaptain@users.noreply.github.com >
Co-authored-by: Travis Ralston <travpc@gmail.com >
Co-authored-by: Travis Ralston <travisr@matrix.org >
2022-04-08 15:31:04 -06:00
Germain and GitHub
233278546b
Extract room directory results to its own component ( #8252 )
2022-04-07 16:07:26 +00:00
Travis Ralston
4057833036
Merge branch 'develop' into travis/remove-skinning
2022-04-05 10:50:37 -06:00
Germain and GitHub
694c39e72d
Enable threads by default and mark it as a beta feature ( #8081 )
2022-04-05 17:15:31 +01:00
27e48062b6
Apply tweaks to Thread list as per design spec ( #8149 )
...
Co-authored-by: Germain Souquet <germains@element.io >
2022-04-05 17:01:34 +01:00
Robin and GitHub
1f64835fab
Update video rooms to new design specs ( #8207 )
...
* Remove radio component
* "Voice room" → "video room"
* Remove interactivity from video room tiles
* Update connection state when joining via widget
* Simplify room header buttons for video rooms
* Split out video room creation into a separate menu option
* Simplify room options for video rooms
* Update video room tile layout
* Tell the Jitsi widget whether it's a video channel
* Update tests
* "Voice" → "video" in more places
* Fix tests
* Re-add frame to immersive Jitsi widgets
* Comment ack
* Make updateDevices more readable
* Type FacePile
2022-04-01 14:36:10 +00:00
Travis Ralston
97efdf7094
Merge branch 'develop' into travis/remove-skinning
2022-03-31 19:25:43 -06:00
Kerry and GitHub
4922e19b5a
Live Location Sharing - left panel warning with error ( #8201 )
...
* add error style to left panel beacon warning
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add beacon sort util
* link to latest beacon room from left panel warning
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-31 13:51:44 +02:00
Kerry and GitHub
1175226bcb
Live location sharing - display wire error in room ( #8198 )
...
* expose wire errors in more useful way
* add wire error state to room live share warning bar
Signed-off-by: Kerry Archibald <kerrya@element.io >
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add types to getLabel helper
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-31 10:57:12 +02:00
Kerry and GitHub
e721c6b0c2
Live location sharing: allow retry when stop sharing fails ( #8193 )
...
* allow retry when stop sharing fails
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-30 12:31:19 +00:00
Michael Telatynski and GitHub
e161f0b17b
Update more strings to not wrongly mention room when it is/could be a space ( #7722 )
2022-03-29 15:02:12 +01:00
Kerry and GitHub
69469e5a98
Live location sharing - update copy ( #8177 )
...
* update settings copy
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-29 00:04:30 -06:00
Travis Ralston
ea6e6429ee
Step 11: Update i18n & code cleanup
2022-03-28 15:04:36 -06:00
Suguru Hirahara and GitHub
a7a0c55adf
Display button as inline in room directory dialog ( #8164 )
2022-03-28 10:02:32 +01:00
Kerry and GitHub
1397652f52
Extract location utils from components ( #8152 )
...
* extract util functions from MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* disassemble mlocationbody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy and add copyrights
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move types and utils from components/location to utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* empty line
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-25 15:36:22 +01:00
Michael Telatynski and GitHub
306ddd51e4
Refactor all of Devtools and tidy it up ( #8097 )
2022-03-23 20:17:57 +00:00
Suguru Hirahara and GitHub
9961b003bb
Replace "Element" with a brand const ( #8074 )
2022-03-23 16:31:25 +00:00
Kerry and GitHub
752ad6a9f9
Live location sharing - refresh beacon expiry in room ( #8116 )
...
* add duration dropdown to live location picker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy comments
Signed-off-by: Kerry Archibald <kerrya@element.io >
* setup component
Signed-off-by: Kerry Archibald <kerrya@element.io >
* replace references to beaconInfoId with beacon.identifier
Signed-off-by: Kerry Archibald <kerrya@element.io >
* icon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* component for styled live beacon icon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* emit liveness change whenever livebeaconIds changes
Signed-off-by: Kerry Archibald <kerrya@element.io >
* Handle multiple live beacons in room share warning, test
Signed-off-by: Kerry Archibald <kerrya@element.io >
* un xdescribe beaconstore tests
Signed-off-by: Kerry Archibald <kerrya@element.io >
* missed copyrights
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* refresh beacon time remaining
Signed-off-by: Kerry Archibald <kerrya@element.io >
* kill timeout
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use useInterval
Signed-off-by: Kerry Archibald <kerrya@element.io >
* beacon not optional in useMsRemaining
Signed-off-by: Kerry Archibald <kerrya@element.io >
* just use single "you are sharing" message
Signed-off-by: Kerry Archibald <kerrya@element.io >
* trigger
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n again
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-23 11:12:58 +01:00
Suguru Hirahara and GitHub
9b2944294c
Replace "community" with "space" of keyboard shortcuts ( #7994 )
2022-03-23 07:52:05 +00:00
fce36ec826
Delete groups (legacy communities system) ( #8027 )
...
* Remove deprecated feature_communities_v2_prototypes
* Update _components
* i18n
* delint
* Cut out a bit more dead code
* Carve into legacy components
* Carve into mostly the room list code
* Carve into instances of "groupId"
* Carve out more of what comes up with "groups"
* Carve out some settings
* ignore related groups state
* Remove instances of spacesEnabled
* Fix some obvious issues
* Remove now-unused css
* Fix variable naming for legacy components
* Update i18n
* Misc cleanup from manual review
* Update snapshot for changed flag
* Appease linters
* rethemedex
* Remove now-unused AddressPickerDialog
* Make ConfirmUserActionDialog's member a required prop
* Remove useless override from RightPanelStore
* Remove extraneous CSS
* Update i18n
* Demo: "Communities are now Spaces" landing page
* Restore linkify for group IDs
* Demo: Dialog on click for communities->spaces notice
* i18n for demos
* i18n post-merge
* Update copy
* Appease the linter
* Post-merge cleanup
* Re-add spaces_learn_more_url to the new SdkConfig place
* Round 1 of post-merge fixes
* i18n
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-03-22 23:07:37 +00:00
Robin and GitHub
cfabcdda35
Voice rooms prototype ( #8084 )
...
* Add voice room labs flag
Signed-off-by: Robin Townsend <robin@robin.town >
* Add more widget actions for interacting with Jitsi
Signed-off-by: Robin Townsend <robin@robin.town >
* Factor out a more generic Jitsi creation utility
Signed-off-by: Robin Townsend <robin@robin.town >
* Add utilities for managing voice channels
Signed-off-by: Robin Townsend <robin@robin.town >
* Enable creation of voice rooms
Signed-off-by: Robin Townsend <robin@robin.town >
* Force a maximized view of voice channel widgets
Signed-off-by: Robin Townsend <robin@robin.town >
* Add voice channel store
Signed-off-by: Robin Townsend <robin@robin.town >
* Factor out a more generic FacePile
Signed-off-by: Robin Townsend <robin@robin.town >
* Implement room tile changes for voice rooms
Signed-off-by: Robin Townsend <robin@robin.town >
* Add interactive radio component to the left panel
Signed-off-by: Robin Townsend <robin@robin.town >
* Test voice rooms
Signed-off-by: Robin Townsend <robin@robin.town >
* Update name of call room type
Signed-off-by: Robin Townsend <robin@robin.town >
* Clarify that voice rooms are under development
Signed-off-by: Robin Townsend <robin@robin.town >
* Use readonly
Signed-off-by: Robin Townsend <robin@robin.town >
* Move acks to the end of handlers
Signed-off-by: Robin Townsend <robin@robin.town >
* Add comment about avatar URLs coming from Jitsi
Signed-off-by: Robin Townsend <robin@robin.town >
* Don't use unicode ellipses
for translation reasons?
Signed-off-by: Robin Townsend <robin@robin.town >
* Fix tests
Signed-off-by: Robin Townsend <robin@robin.town >
* Fix tests, again
Signed-off-by: Robin Townsend <robin@robin.town >
* Remove unnecessary export
Signed-off-by: Robin Townsend <robin@robin.town >
* Ack Jitsi events when we wait for them
Signed-off-by: Robin Townsend <robin@robin.town >
2022-03-22 16:14:11 -06:00
Kerry and GitHub
b04d31b5be
Live location sharing: live share warning in room ( #8100 )
...
* add duration dropdown to live location picker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy comments
Signed-off-by: Kerry Archibald <kerrya@element.io >
* setup component
Signed-off-by: Kerry Archibald <kerrya@element.io >
* replace references to beaconInfoId with beacon.identifier
Signed-off-by: Kerry Archibald <kerrya@element.io >
* icon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* component for styled live beacon icon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* emit liveness change whenever livebeaconIds changes
Signed-off-by: Kerry Archibald <kerrya@element.io >
* Handle multiple live beacons in room share warning, test
Signed-off-by: Kerry Archibald <kerrya@element.io >
* un xdescribe beaconstore tests
Signed-off-by: Kerry Archibald <kerrya@element.io >
* missed copyrights
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-22 13:57:12 +00:00
Germain and GitHub
2bf1d2b287
Change stable threads dialog copy ( #8099 )
2022-03-22 09:23:55 +00:00
Michael Telatynski and GitHub
dd53b226eb
Allow sending files as replies as per MSC3676 ( #8020 )
2022-03-21 12:03:59 +00:00
Kerry and GitHub
14653d1378
Live location share - set time limit ( #8082 )
...
* add mocking helpers for platform peg
Signed-off-by: Kerry Archibald <kerrya@element.io >
* basic working live duration dropdown
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add duration format utility
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add duration dropdown to live location picker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* adjust style to allow overflow and variable height chin
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy comments
Signed-off-by: Kerry Archibald <kerrya@element.io >
* arrow fn change
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-21 12:42:58 +01:00
Robin and GitHub
83f2bf4261
Improve remove recent messages dialog ( #6114 )
...
* Allow keeping state events when removing recent messages
The remove recent messages dialog redacts most state events since they
can be abuse vectors as well, however some users that see the option
actually want to use it to only remove messages. This adds a checkbox
option to do so.
Signed-off-by: Robin Townsend <robin@robin.town >
* Don't redact encryption events when removing recent messages
Signed-off-by: Robin Townsend <robin@robin.town >
* Show UserMenu spinner while removing recent messages
This also generalizes the UserMenu spinner to work with other types of
actions in the future.
Signed-off-by: Robin Townsend <robin@robin.town >
* Clarify remove recent messages warning
Clarify that they are removed for everyone in the conversation, not just
yourself.
Signed-off-by: Robin Townsend <robin@robin.town >
* Adjust copy and preserve state events by default
* Redact messages in reverse chronological order
Signed-off-by: Robin Townsend <robin@robin.town >
2022-03-18 20:08:32 +00:00
Kerry and GitHub
cdcf6d0fd1
Live location sharing: create beacon info event from location picker ( #8072 )
...
* create beacon info event with defaulted duration
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add shareLiveLocation fn
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test share live location
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-18 10:52:24 +01:00
Kerry and GitHub
9f6c238827
Add simple live share warning ( #8066 )
...
* add simple live share warning
Signed-off-by: Kerry Archibald <kerrya@element.io >
* rough first cut of OwnBeaconStore
Signed-off-by: Kerry Archibald <kerrya@element.io >
* working (?) has live beacons status
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add left panel share warning
Signed-off-by: Kerry Archibald <kerrya@element.io >
* setup for tests
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test ownbeaconstore
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add copyright
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add copyright
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove warning banner
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix test
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix tests for weird asyncstore closure issues
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix OwnBeaconStore more...
Signed-off-by: Kerry Archibald <kerrya@element.io >
* revert loose change to LeftPanel
Signed-off-by: Kerry Archibald <kerrya@element.io >
* Revert "remove warning banner"
This reverts commit 4529813b12e3206731f18e0514aa6e0f6896d03a.
* test live share warning
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-17 09:25:57 +01:00
Germain and GitHub
59584cdc3e
Threads experimental transition modal ( #8065 )
2022-03-16 16:35:25 +00:00