Kerry
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
c68515ae0a
Replace "Reply in thread" and "Leave the beta" with variables ( #8349 )
2022-04-19 08:43:35 +00:00
Emmanuel
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
Šimon Brandner
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
Emmanuel
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
71ea88286d
clarify /jumptodate
argument ( #8323 )
...
* Update SlashCommands.tsx
* remove date format from description
* update strings
2022-04-14 11:13:18 -04:00
Kerry
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
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
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
ceae8bb39a
Hide the reply in thread button in deployments where beta is forcibly disabled ( #8294 )
2022-04-12 14:24:23 +00:00
Emmanuel
1e442b2260
Fix inconsistent grammar in device sign out modal ( #8253 )
2022-04-12 14:16:00 +01:00
Kerry
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
Robin Kouwenhoven
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
CicadaCinema
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
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
694c39e72d
Enable threads by default and mark it as a beta feature ( #8081 )
2022-04-05 17:15:31 +01:00
Michael Telatynski
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
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
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
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
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
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
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
a7a0c55adf
Display button as inline in room directory dialog ( #8164 )
2022-03-28 10:02:32 +01:00
Kerry
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
306ddd51e4
Refactor all of Devtools and tidy it up ( #8097 )
2022-03-23 20:17:57 +00:00
Suguru Hirahara
9961b003bb
Replace "Element" with a brand const ( #8074 )
2022-03-23 16:31:25 +00:00
Kerry
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
9b2944294c
Replace "community" with "space" of keyboard shortcuts ( #7994 )
2022-03-23 07:52:05 +00:00
Travis Ralston
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
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
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
2bf1d2b287
Change stable threads dialog copy ( #8099 )
2022-03-22 09:23:55 +00:00
Michael Telatynski
dd53b226eb
Allow sending files as replies as per MSC3676 ( #8020 )
2022-03-21 12:03:59 +00:00
Kerry
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
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
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
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
59584cdc3e
Threads experimental transition modal ( #8065 )
2022-03-16 16:35:25 +00:00
Alexander Stephan
26e6f8deca
Improve formatting features in the editor ( #7104 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-16 09:46:07 +00:00
David Baker
23d5ba9c89
Support MSC3026 busy presence ( #8043 )
...
* Support MSC3026 busy presence
* Use UnstableValue
* Add the import
2022-03-14 10:22:12 +00:00
Suguru Hirahara
afadea01a0
Reuse a common part of the translation ( #7978 )
2022-03-14 09:12:02 +00:00
Germain
7508fd975f
Prevent thread creation on events with existing relation ( #8037 )
2022-03-11 17:51:38 +00:00
Kerry
d38a1fa201
fallback to event text in location body when map unavailable ( #7982 )
...
* center icon better
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove debug
Signed-off-by: Kerry Archibald <kerrya@element.io>
* retrigger all builds
Signed-off-by: Kerry Archibald <kerrya@element.io>
* set assetType on share event
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use pin marker on map for pin drop share
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test events
Signed-off-by: Kerry Archibald <kerrya@element.io>
* pin drop helper text
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use generic location type
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add navigationcontrol when in pin mode
Signed-off-by: Kerry Archibald <kerrya@element.io>
* allow pin drop without location permissions
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove geolocate control when pin dropping without geo perms
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test locationpicker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test marker type, tidy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move findMapStyleUrl
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fallback to event content when cant render map
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update mocks in location picker, show same messages as timeline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* style error message in location share menu
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* forgotten copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* icon bigger
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-11 09:52:57 +01:00
Michael Telatynski
48cd83b9d5
Fix issues with thread summaries being wrong or stale ( #8015 )
2022-03-10 10:29:28 +00:00
Kerry
14684c6296
Send pin drop location share events ( #7967 )
...
* center icon better
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove debug
Signed-off-by: Kerry Archibald <kerrya@element.io>
* retrigger all builds
Signed-off-by: Kerry Archibald <kerrya@element.io>
* set assetType on share event
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use pin marker on map for pin drop share
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test events
Signed-off-by: Kerry Archibald <kerrya@element.io>
* pin drop helper text
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use generic location type
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add navigationcontrol when in pin mode
Signed-off-by: Kerry Archibald <kerrya@element.io>
* allow pin drop without location permissions
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove geolocate control when pin dropping without geo perms
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test locationpicker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test marker type, tidy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tweak style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-09 18:14:07 +01:00
Suguru Hirahara
a71009fca0
Add a new line on SpaceRoomView ( #8002 )
2022-03-09 12:59:17 +00:00
Sinharitik589
4592f9f7f9
Normalized shortcut formatting for quote expansion control ( #7995 )
2022-03-09 09:52:31 +00:00
Suguru Hirahara
930120823f
Remove hard-coded whitespace characters from SpaceCreateMenu.tsx ( #7885 )
...
Whitespace characters should not be hard-coded as some languages do not
have the concept of whitespace in the first place.
Fixes https://github.com/vector-im/element-web/issues/21187
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-03-08 14:41:27 -07:00
Andy Balaam
a792097d02
Keyboard shortcut to open the sticker picker ( #7985 )
2022-03-08 15:05:36 +00:00
Kerry
9379be0189
add feature_location_share_live labs flag ( #7997 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-07 13:49:32 +01:00
Robin
319ed3a776
Fix missing summary text for pinned message changes ( #7989 )
...
Signed-off-by: Robin Townsend <robin@robin.town>
2022-03-04 18:35:28 -05:00
Travis Ralston
b981a96b29
Add unexposed account setting for hiding poll creation ( #7972 )
...
* Add unexposed account setting for hiding poll creation
This is to match the sticker picker setting we already have, but not exposed in the user settings until we decide if we actually want it to be there.
This is primarily intended to be used in environments that disable it at the config level, though given there's multiple people in the wild who have asked for this, it seems reasonable to expose it as a hidden setting instead. Note that as of writing it's not clear if any of those requests made it as far as an issue tracker.
Typically for the usecase presented we'd add a new UIFeature flag, however this *feels* wrong for the case at hand.
* Move visibility check way higher
* Fix i18n post-merge
2022-03-04 18:04:30 +00:00
Suguru Hirahara
b80ea34805
Fix a paragraph in const EmptyThread ( #7964 )
2022-03-04 08:27:23 +00:00
Šimon Brandner
4c05b7da1f
Make trailing :
into a setting ( #6711 )
...
* Make trailing `:` into a setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make traling comma opt-out
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Write `insertTrailingComma` when reading for future opt-in setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Update src/editor/parts.ts
* Fix line length
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Travis Ralston <travpc@gmail.com>
2022-03-04 00:23:26 -07:00
Kerry
d304e24a45
Revert "remove code related to encrypted file download button in iframe" ( #7957 )
...
* Revert "remove code related to encrypted file download button in iframe (#7940 )"
This reverts commit 26216ec527
.
* udpate icon import in MFileBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-02 18:27:36 +01:00
Michael Telatynski
560f8f7ee7
Improve accessibility of the BetaPill ( #7949 )
2022-03-02 16:31:47 +00:00
Suguru Hirahara
522ad1aafb
Make "Match system" on QuickThemeSwitcher.tsx translatable ( #7951 )
2022-03-02 16:10:14 +00:00
Michael Telatynski
3c858a723b
Fix sending locations into threads and fix i18n ( #7943 )
2022-03-02 14:27:16 +00:00
Kerry
b480bffab0
Location share type UI ( #7924 )
...
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* empty line
Signed-off-by: Kerry Archibald <kerrya@element.io>
* functional picker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* most style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* nice style for options
Signed-off-by: Kerry Archibald <kerrya@element.io>
* get ShareType test passing
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add maplibre mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint and test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add section to themes for location sharing cols
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add svg mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use same mock string as imageMock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add live location icon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename useEnabledShareTypes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use solid color for live border
* use ternary
Signed-off-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-02 13:00:40 +00:00
Kerry
26216ec527
remove code related to encrypted file download button in iframe ( #7940 )
...
* remove code related to encrypted file download button in iframe
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove getIframeFn in mfilebody filedownloader
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove iframe ref too
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-02 11:55:03 +00:00
Suguru Hirahara
865dddbb62
Fix ExportDialog title on export cancellation ( #7936 )
2022-03-02 08:58:41 +00:00
Kerry
3f1951b5b8
Prep for pin drop location sharing ( #7919 )
...
* add labs flag feature_location_share_pin_drop
Signed-off-by: Kerry Archibald <kerrya@element.io>
* split LocationButton into two components
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rethemendex
Signed-off-by: Kerry Archibald <kerrya@element.io>
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* one more (c)
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>
* use same matrix client import
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-01 18:00:07 +01:00
Šimon Brandner
8f128ef0dc
Expose redaction power level in room settings ( #7599 )
2022-03-01 16:41:58 +00:00
Šimon Brandner
df591ee835
Make everything use the KeyBindingManager
( #7907 )
2022-02-28 16:05:52 +00:00
Robin
464bb727db
Update and expand ways to access pinned messages ( #7906 )
...
* Hide pinned messages header button when nothing is pinned
Signed-off-by: Robin Townsend <robin@robin.town>
* Add pinned messages option to room info panel
Signed-off-by: Robin Townsend <robin@robin.town>
* Add pinned messages option to room header menu
Signed-off-by: Robin Townsend <robin@robin.town>
* Make condition more concise
Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-28 14:52:16 +00:00
Michael Telatynski
75e41b4c1c
Basic threads analytics into Posthog MVP ( #7871 )
2022-02-28 14:11:14 +00:00
David Baker
3e4e7efd89
Add slash command to switch to a room's virtual room ( #7839 )
...
* Add slash command to switch to a room's virtual room
* Update to new interface
* Return null if no virtual user
* Throw newTranslateableError
* Types
* Disable tovirtual if virtual rooms not supported
2022-02-25 15:58:13 +00:00
Michael Telatynski
0e1f904eee
Fix event list summary 1 hidden message pluralisation ( #7890 )
2022-02-24 13:16:31 +00:00
Kerry
f4cd71fd47
Check 'useSystemTheme' in quick settings theme switcher ( #7809 )
...
* mock Element.scrollIntoView in jest setup
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract theme switcher from quick settings, add match system option, test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* forgotten copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove old class
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-24 10:01:06 +01:00
Travis Ralston
d71922ca51
Support social login & password on soft logout page ( #7879 )
...
* Code style: Modernize
* Make Soft Logout page support Social Sign On
Fixes https://github.com/vector-im/element-web/issues/21099
This commit does a few things:
* Moves rendering of the flows to functions
* Adds a new login view enum for Password + SSO (mirroring logic from registration)
* Makes an absolute mess of the resulting diff
* Lint & i18n
* Remove spurious typing
2022-02-23 16:22:37 +00:00
Šimon Brandner
93a9af7b3a
Keybinding code unification #3 ( #7850 )
2022-02-23 09:12:04 +00:00
Michael Telatynski
8fccef86d8
Wire up drag-drop file uploads for the thread view ( #7860 )
2022-02-22 11:14:56 +00:00
Michael Telatynski
e2827b4082
Fix accessibility around the room list treeview and new search beta ( #7856 )
2022-02-21 15:46:13 +00:00
Andy Balaam
f1e1b7be86
Support "closed" polls whose votes are not visible until they are ended ( #7842 )
2022-02-21 10:21:35 +00:00
Šimon Brandner
fe7f1688dd
Move editEvent()
to EventUtils
( #7836 )
2022-02-18 15:01:32 +00:00
Travis Ralston
34567b9aab
Add labs flag: Show only current profile on historical messages ( #7815 )
...
* Add labs flag: Show only current profile on historical messages
For https://github.com/vector-im/element-web/issues/3768
Related https://github.com/vector-im/element-web/issues/4677
* Use the member's user ID
2022-02-18 07:58:04 -07:00
Michael Telatynski
07d5b4139d
Add way to join room address via new search dialog ( #7830 )
2022-02-17 15:40:12 +00:00
Michael Telatynski
4292381202
Fix layout inconsistencies with the room search minimized button ( #7824 )
2022-02-17 10:33:36 +00:00
Andy Balaam
7387f3c80a
Allow editing polls ( #7806 )
2022-02-17 09:13:05 +00:00
Michael Telatynski
8d4e83084c
Remove Countly analytics integration ( #7808 )
2022-02-15 16:58:30 +00:00
Andy Balaam
84e15fa148
Display '(edited)' next to edited polls ( #7789 )
2022-02-15 08:52:51 +00:00
Michael Telatynski
8d3c2eddd6
Improve styling of edge case devtools state keys ( #7794 )
2022-02-14 23:37:45 +00:00
Kerry
b5e7d12f76
Add config option to autorageshake when key backup is not enabled ( #7741 )
...
* report on not enabled
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add setting
Signed-off-by: Kerry Archibald <kerrya@element.io>
* check key backup status after crypto init
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove log
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test encryption setup in DeviceListener
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* sendLogs for key backup auto-report event
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove reloadOnChagneController
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-11 14:00:37 +01:00
Michael Telatynski
be324df953
Fix bad pluralisation on event list summary hidden message handling ( #7778 )
2022-02-10 13:29:12 +00:00
Michael Telatynski
714136d4f7
Consolidate RedactionGrouper and HiddenEventGrouper into MELS ( #7739 )
2022-02-09 10:51:12 +00:00
J. Ryan Stinnett
59cdd3edc0
Unify widget header actions with those in right panel ( #7734 )
2022-02-09 10:47:41 +00:00
Michael Telatynski
919aab053e
Improve new search dialog context text for exactly 2 parent spaces ( #7761 )
2022-02-08 19:08:05 +00:00
Michael Telatynski
ed185240a5
Move new search experience to a Beta ( #7718 )
2022-02-08 14:02:36 +00:00
Aaron Raimist
5278679076
Capitalize "Privacy" in UserMenu ( #7738 )
2022-02-08 08:31:51 +00:00
Germain
544957bdad
Use typographical quotes in no threads UI ( #7713 )
2022-02-07 15:13:34 +00:00
Michael Telatynski
5d89230271
Remove IA 1.1 feedback toast ( #7720 )
2022-02-07 12:46:48 +00:00
Šimon Brandner
472115cd9c
Fix add existing rooms button ( #7728 )
2022-02-07 10:19:14 +00:00
Andy Balaam
70a44a8cd6
Enable location sharing ( #7703 )
2022-02-02 11:44:17 +00:00
Andy Balaam
f5226f9d5b
Simplify Composer buttons ( #7678 )
...
* Render a CollapsibleButton's children (needed by UploadButton)
* Make UploadButton ready to live inside an overflow menu
* Always show overflow menu in composer: main buttons are emoji and attach
* Re-order composer buttons as per design
* Re-word composer button captions to be simple nouns
* Don't rotate More options button when clicked
* Move the composer menu and dialogs 16px in from right
* Reduce shadow on composer More menu
* From review: remove else clause
* From review: take input out of button
* Update test snapshots
* Update snapshots
2022-02-02 09:30:53 +00:00
Šimon Brandner
bb03298e6d
Add a warning to the console to discourage attacks and encourage contributing ( #7673 )
2022-02-01 17:24:17 +00:00
Michael Telatynski
98c5f50f36
Fix publishing address wrongly demanding the alias be available ( #7690 )
2022-02-01 15:06:26 +00:00
Michael Telatynski
991257cbc3
Fix accessibility and consistency of MessageComposerButtons ( #7679 )
2022-01-31 16:05:05 +00:00
Šimon Brandner
a17d585a12
Work towards unifying KeyboardShortcuts
and KeyBindingsDefaults
#2 ( #7674 )
2022-01-31 15:55:45 +00:00
Andy Balaam
b5a56698d6
Refactor MessageComposerButtons ( #7668 )
2022-01-31 09:19:26 +00:00
Andy Balaam
2229437424
Refactor renderButtons() into MessageComposerButtons component ( #7664 )
2022-01-28 15:44:03 +00:00
Eric Eastwood
7fa27f5834
Add jump to date functionality to date headers in timeline v2 ( #7339 )
...
Fix https://github.com/vector-im/element-web/issues/7677
Utilizes MSC3030: https://github.com/matrix-org/matrix-doc/pull/3030
https://user-images.githubusercontent.com/558581/150060664-79627573-f4fd-497c-b726-dc3485854bd0.png
2022-01-27 16:32:12 -06:00
Šimon Brandner
57a5647079
Work towards unifying KeyboardShortcuts
and KeyBindingsDefaults
#1 ( #7651 )
2022-01-27 11:37:53 +00:00
Michael Telatynski
2f209c4346
Add grouper for hidden events ( #7649 )
2022-01-26 19:10:16 +00:00
UwUnyaa
debf4caade
Add a keyboard shortcut to toggle hidden event visibility when labs are enabled. ( #7584 )
...
Notes: The keyboard shortcut is control (or cmd) shift h.
Signed-off-by: Katarzyna Stachura <uwunyaa@outlook.com>
2022-01-26 16:50:47 +00:00
Michael Telatynski
04f8228741
Tweak room list header menu for when space is active ( #7577 )
...
* Remove start chat entry from space-variant room list header + menu
* Add options to the RoomListHeader plus menu
* Tweak behaviour of room list header + menu space variant explore action
2022-01-25 20:21:38 +00:00
Michael Telatynski
8ddd677c35
De-labs Metaspaces ( #7613 )
2022-01-25 12:33:17 +00:00
Michael Telatynski
1d02e61655
Improve taken username warning in registration for when request fails ( #7621 )
2022-01-25 10:45:41 +00:00
Michael Telatynski
68024c156a
De-labs Message Bubbles layout ( #7612 )
2022-01-25 10:12:05 +00:00
J. Ryan Stinnett
20e6d36df7
Add labs flag for default open right panel ( #7618 )
2022-01-24 17:53:42 +00:00
Michael Telatynski
4540cf5b77
Tweak copy for the Sidebar tab in User Settings ( #7578 )
2022-01-24 16:58:36 +00:00
Kerry
26e1570dd6
a11y - fix iframes without title ( #7614 )
...
* iframe title in AppTile
Signed-off-by: Kerry Archibald <kerrya@element.io>
* iframe title in hostSignupDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* iframe title in MFileBody
* iframe titles in modal widget and int man
Signed-off-by: Kerry Archibald <kerrya@element.io>
* enable jsx-a11y/iframe-has-title rule
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-24 14:07:54 +00:00
Šimon Brandner
b5d11336f7
Add ability to switch between voice & video in calls ( #7155 )
2022-01-24 12:48:35 +00:00
Šimon Brandner
a2f1e856be
Make room ID copyable ( #7600 )
2022-01-24 11:47:59 +00:00
Šimon Brandner
5f18e4888c
Improve the look of the keyboard settings tab ( #7562 )
...
* First cut of new keyboard shortcuts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove unused code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Amend shortcuts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve CATEGORIES struct
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add tests for registerShortcut()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Simplifie code tiny bit
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Translate ALTERNATE_KEY_NAME
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix `key` usage
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Export components for tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Write snapshot tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-24 11:33:27 +00:00
Robin
f59ea6d7ad
Show a tile at beginning of visible history ( #5887 )
2022-01-20 09:51:31 +00:00
Andy Balaam
c4fc20018d
Enable the polls feature ( #7581 )
2022-01-20 09:40:47 +00:00
Germain
336217f668
Add view in room to action bar in thread list ( #7519 )
2022-01-19 10:39:33 +00:00
Šimon Brandner
1d45921d14
Improve/add notifications for location and poll events ( #7552 )
...
* Add getSenderName()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Handle location and poll event notifications
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* pollQuestions -> pollQuestion
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make lookup safe and remove poll end event lookup as it wouldn't work
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-18 17:58:31 -07:00
Michael Telatynski
d5412e52ed
Replace home icon with new one ( #7571 )
2022-01-18 15:29:01 +00:00
David Teller
6b870ba1a9
MSC3531 - Implementing message hiding pending moderation ( #7518 )
...
Signed-off-by: David Teller <davidt@element.io>
2022-01-17 16:04:37 +01:00
Šimon Brandner
1f298250b9
Make the Keyboard Shortcuts
dialog into a settings tab ( #7198 )
2022-01-17 11:53:10 +00:00
Andy Balaam
18c82d57ae
Add setting for enabling location sharing ( #7547 )
2022-01-14 15:57:39 +00:00
Michael Telatynski
f4a6219c88
Replace kick
terminology with Remove from chat
( #7469 )
2022-01-14 13:08:34 +00:00
Travis Ralston
61a0be7d46
Render events as extensible events (behind labs) ( #7462 )
...
* Render events as extensible events (behind labs)
* Include the SDK
* Appease linter
* Update for changed property name
* Fix formatting error
* Fix branch matching for build steps
* Update SDK
* Update scripts/fetchdep.sh
Co-authored-by: Andy Balaam <andyb@element.io>
Co-authored-by: Andy Balaam <andyb@element.io>
2022-01-13 17:03:37 +00:00
Faye Duxovni
3eb5130cda
Add labs flag to automatically rageshake on decryption errors ( #7307 )
...
Also sends a to-device message to the sender, prompting them to auto-rageshake too if they have this lab enabled as well.
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-13 10:55:25 -05:00
Andy Balaam
22c2aa37d7
Show an error dialog if location permission is denied ( #7531 )
2022-01-13 14:38:04 +00:00
Andy Balaam
25cd1a8a43
Show an error dialog if we fail to send location ( #7528 )
2022-01-13 13:23:00 +00:00
Timo
ef95644e23
Render Jitsi (and other sticky widgets) in PiP container, so it can be dragged and the "jump to room functionality" is provided ( #7450 )
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-13 12:10:41 +01:00
Germain
3a18fd8f71
Add 'from a thread' copy to search tile result ( #7525 )
2022-01-12 17:16:00 +00:00
Michael Telatynski
b835588331
Allow using room pills in slash commands ( #7513 )
2022-01-12 09:40:18 +00:00
Eric Eastwood
038a6bc204
Make slash command errors translatable but also work in rageshakes ( #7377 )
...
See https://github.com/matrix-org/matrix-react-sdk/pull/7372#discussion_r769556546
We want the error to be translated for the user but not in our rageshake logs.
Also updates some error messages to give more info.
2022-01-11 12:25:28 -06:00
Timo
59f57e15fe
Ship maximised widgets and remove feature flag ( #7509 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-11 14:11:48 +01:00
Michael Telatynski
fdd0a2ada3
Add permission dropdown for sending reactions ( #7492 )
2022-01-10 11:35:41 +00:00
Andy Balaam
9562deb28c
Remove the Description from the location picker ( #7485 )
2022-01-10 10:07:51 +00:00
Andy Balaam
9cb8ce7c20
Add zoom buttons to the location view ( #7482 )
2022-01-10 09:30:24 +00:00
Andy Balaam
309f7bb235
Display a tooltip when you hover over a location ( #7472 )
2022-01-07 15:11:30 +00:00
Kerry
fed53a268b
A11y - fix anchors-as-buttons ( #7444 )
...
* add link_inline accessiblebutton variant
* valid anchors in SecurityRoomSettingsTab
Signed-off-by: Kerry Archibald <kerrya@element.io>
* new room intro link button
Signed-off-by: Kerry Archibald <kerrya@element.io>
* replace anchor with button in rerequest encryption keys message
Signed-off-by: Kerry Archibald <kerrya@element.io>
* inline button in UrlPreviewSettings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* ButtonResetDefault mixin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* inline link buttons in TextForEvent
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in InviteDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in DevToolsDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in login/registration/reset pword flows
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix types after fixing anchors in devtools
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in MemberEventListSummary
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in ReactionsRow and RoomUpgrade
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in ReplyChain
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix more anchors
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in auth comps
* stylelint fixes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove ignore of jsx-a11y rule that is not added yet
Signed-off-by: Kerry Archibald <kerrya@element.io>
* devtools style important explainer
Signed-off-by: Kerry Archibald <kerrya@element.io>
* translate button alt in devtools dialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* AccessibleButton is reactionsrow
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix viewsourcevent button placement, use AccessibleButton
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use AccessibleButton in EventTile
Signed-off-by: Kerry Archibald <kerrya@element.io>
* unignore jsx-a11y/anchor-is-valid
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix lint issue in test jsx
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update coment
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 10:40:53 +01:00
Kerry
2b9eed5357
update yarn.lock and i18n ( #7476 )
...
* add hash to matrix-web-i18n dep, update i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove hash from dep
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 10:37:12 +01:00
Faye Duxovni
a4fda7e25d
Consistently use the word "device", rather than "session" or "login", in verification dialog ( #7474 )
2022-01-06 16:57:49 -05:00
Kerry
b1066a5699
Wrap inputs in fieldsets in Space visibility settings ( #7350 )
...
* use fieldset in space settings > visibility
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add basic tests for space setttings visibility
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix toggle button placement
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update settings separator color to quinary
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 10:09:26 +00:00
Kerry
92ee02fe02
unit test Notifications.tsx ( #7468 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 09:47:03 +00:00
Timo
4ab3470184
History based navigation with new right panel store ( #7398 )
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 17:25:41 +01:00
Kerry
7f13a1b40a
Attribute fallback i18n strings with lang attribute ( #7323 )
...
* add lang attribute to fallback translations
Signed-off-by: Kerry Archibald <kerrya@element.io>
* readability improvement
Signed-off-by: Kerry Archibald <kerrya@element.io>
* split _t and _tDom
Signed-off-by: Kerry <kerry@Kerrys-MBP.fritz.box>
* use tDom in HomePage
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* bump matrix-web-i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-05 11:37:28 +01:00
Dariusz Niemczyk
74ea2adfc2
Fix room alias address isn't checked for validity before being shown as added ( #7107 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-04 09:22:51 +00:00
Michael Telatynski
44d7d74949
Call view accessibility fixes ( #7439 )
2022-01-04 08:57:46 +00:00
Kerry
846fbfa2a0
Add jsx-a11y eslint plugin ( #7434 )
...
* add matrix-org a11y eslint plgin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add eslint a11y, enable and fix anchor-has-content rule
Signed-off-by: Kerry Archibald <kerrya@element.io>
* enable and fix jsx-a11y/no-redundant-roles
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove debug
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use jsx-a11y via matrix-org-eslint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-03 18:51:58 +01:00