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
Kerry
0d513b3a2d
geo.getCurrentPosition and some testing helpers ( #8150 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-25 12:30:50 +01:00
Michael Telatynski
24bda5602f
Strip relations when forwarding ( #7929 )
2022-03-24 12:25:59 +00:00
Michael Telatynski
f86cc74afc
Fix issues with edited events not affecting threads ( #8125 )
2022-03-24 12:24:18 +00:00
Michael Telatynski
3b523677fd
Don't try (and fail) to show replies for redacted events ( #8141 )
2022-03-24 12:17:42 +00:00
Michael Telatynski
0feecccef1
Wire up file preview for video files ( #8140 )
2022-03-24 11:59:20 +00:00
Michael Telatynski
9dcee811e3
Fix 3pid member info for space member list ( #8128 )
2022-03-24 11:32:31 +00:00
Suguru Hirahara
d92977df9e
Make rooms and spaces list responsive ( #8088 )
2022-03-24 08:50:02 +00:00
Travis Ralston
8f1e97be0d
Delete empty "StatusMessageContextMenu" ( #8138 )
2022-03-23 16:01:54 -06:00
Michael Telatynski
306ddd51e4
Refactor all of Devtools and tidy it up ( #8097 )
2022-03-23 20:17:57 +00:00
Suguru Hirahara
3bb0dc08e8
Responsive information bar on Space landing page ( #8060 )
2022-03-23 17:17:25 +00:00
Suguru Hirahara
86691550df
Padding setting of link button & nesting structure of _AccessibleButton.scss ( #8091 )
2022-03-23 17:15:15 +00:00
Kerry
1495c23a14
Live location sharing: geolocation utilities ( #8126 )
...
* geolocation utilities
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove debug
Signed-off-by: Kerry Archibald <kerrya@element.io >
* comments for ts-ignores
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-23 17:08:56 +00:00
Šimon Brandner
3534e9b6ce
Upgrade emojibase and twemoji ( #7286 )
...
Co-authored-by: Tulir Asokan <tulir@maunium.net >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-03-23 17:08:34 +00:00
Suguru Hirahara
9961b003bb
Replace "Element" with a brand const ( #8074 )
2022-03-23 16:31:25 +00:00
Germain
d922ee2cb9
Thread list ordering by last reply ( #8112 )
2022-03-23 14:43:33 +00:00
Michael Telatynski
eb668538aa
Fix issue with falsey hrefs being sent in events ( #8113 )
2022-03-23 13:38:57 +00:00
Michael Telatynski
81df4c0aeb
Maintain reply-to-event when clicking room permalink ( #8114 )
2022-03-23 13:38:21 +00:00
Travis Ralston
ad130acd30
Remove unused component: SimpleRoomHeader ( #8122 )
2022-03-23 07:32:13 -06:00
Dominik Henneke
9ba1c97770
Generate the correct widget id when opening modal widgets ( #8123 )
2022-03-23 11:28:37 +00:00
Michael Telatynski
d9276426fa
When showing thread, always auto-focus its composer ( #8115 )
2022-03-23 10:54:40 +00:00
Kerry
a8d65ab5c5
Include /test in tsc config, fix rest of issues ( #8119 )
...
* fix ts issue in PosthogAnalytics test
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix remaining ts issues
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tsconfig change
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use sdkconfig patch instead of put
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-23 10:27:28 +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
d640ac374f
Revert "Remove unused component: SimpleRoomHeader"
...
This reverts commit eb50b4930f .
2022-03-23 00:10:00 -06:00
Travis Ralston
eb50b4930f
Remove unused component: SimpleRoomHeader
2022-03-23 00:09:36 -06: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
953e3148d1
Make video sizing consistent with images ( #8102 )
...
* Make video sizing consistent with images
* Test suggestedSize
* Constrain width of media in large mode
2022-03-22 18:16:03 -04:00
Šimon Brandner
bff1ef31d6
Use styled mxids in member list v2 ( #8110 )
...
* Revert "Revert "Use styled mxids in member list (#6328 )" (#8107 )"
This reverts commit 709e6e78d2 .
* Fix disambiguated profile for bubbles
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-03-22 16:14:55 -06:00
Robin
6103f4a9d3
Voice rooms prototype ( #21476 )
...
* Document voice rooms labs flag
Signed-off-by: Robin Townsend <robin@robin.town >
* Add join and mute handlers to Jitsi wrapper
Signed-off-by: Robin Townsend <robin@robin.town >
* Document voice rooms labs flag
Signed-off-by: Robin Townsend <robin@robin.town >
* Mark voice rooms as in development
Signed-off-by: Robin Townsend <robin@robin.town >
* ack at the end of widget event handlers
Signed-off-by: Robin Townsend <robin@robin.town >
* Move acks back before suspend points
Signed-off-by: Robin Townsend <robin@robin.town >
2022-03-22 16:14:27 -06: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
Germain
f416a970ca
Lazy load thread list timeline set ( #8120 )
2022-03-22 21:34:16 +00:00
Element Translate Bot
ebbda285ca
Translations update from Weblate ( #8117 )
...
Co-authored-by: iaiz <git@iapellaniz.com >
Co-authored-by: Glandos <bugs-github@antipoul.fr >
Co-authored-by: Suguru Hirahara <ovestekona@protonmail.com >
Co-authored-by: waclaw66 <waclaw66@seznam.cz >
Co-authored-by: Weblate <translate@riot.im >
Co-authored-by: Priit Jõerüüt <riot@joeruut.com >
Co-authored-by: Jeff Huang <s8321414@gmail.com >
Co-authored-by: Linerly <linerly@protonmail.com >
Co-authored-by: Besnik Bleta <besnik@programeshqip.org >
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is >
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com >
Co-authored-by: Xose M <xosem@disroot.org >
Co-authored-by: Denys Nykula <nykula@ukr.net >
Co-authored-by: Jozef Gaal <preklady@mayday.sk >
Co-authored-by: random <dictionary@tutamail.com >
Co-authored-by: Szimszon <github@oregpreshaz.eu >
Co-authored-by: LinAGKar <linus.kardell@gmail.com >
Co-authored-by: libexus <libexus@gmail.com >
Co-authored-by: GFOSS Developers <webmaster@ellak.gr >
Co-authored-by: Miki Jerbi <jerbimiki@hotmail.com >
Co-authored-by: Nikita Epifanov <NikGreens@protonmail.com >
Co-authored-by: Abinet Seife <abnios.se@gmail.com >
Co-authored-by: pkst-ellak <pkst@eellak.gr >
Co-authored-by: Theo <tbousiou@gmail.com >
Co-authored-by: MedeaGRNET <medea@admin.grnet.gr >
Co-authored-by: notramo <notramo@protonmail.com >
2022-03-22 15:41:05 +00:00
Element Translate Bot
269ec4609a
Translations update from Weblate ( #21510 )
...
Co-authored-by: Weblate <translate@riot.im >
Co-authored-by: Linerly <linerly@protonmail.com >
Co-authored-by: Dinh Quang Tuyen <tuyen.dinh@aarenet.com >
Co-authored-by: Ege <alikemal@riseup.net >
Co-authored-by: Fjoerfoks <fryskefirefox@gmail.com >
Co-authored-by: Adrian Środoń <adrian.srodon@gmail.com >
Co-authored-by: jelv <post@jelv.nl >
Co-authored-by: Marek Ľach <graweeld@googlemail.com >
Co-authored-by: a5r0n <h98aaron@gmail.com >
Co-authored-by: Vulcan <element@zbug.anonaddy.com >
Co-authored-by: Jozef Gaal <preklady@mayday.sk >
Co-authored-by: Yorqinbek <yyoriqulov@mail.ru >
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com >
Co-authored-by: Bjørn I.Svindseth <bjorni.svindseth@yahoo.com >
Co-authored-by: pkst-ellak <pkst@eellak.gr >
Co-authored-by: Bui Minh Duc <m.nhduc.bui1@gmail.com >
Co-authored-by: Johan Smits <johan@smitsmail.net >
Co-authored-by: random <dictionary@tutamail.com >
Co-authored-by: waclaw66 <waclaw66@seznam.cz >
Co-authored-by: Besnik Bleta <besnik@programeshqip.org >
Co-authored-by: Hexandcube <hexandcube@hexandcube.tk >
Co-authored-by: Skibbi <skibbi@gmail.com >
Co-authored-by: Norbert <norbertrom01@gmail.com >
Co-authored-by: Szimszon <github@oregpreshaz.eu >
Co-authored-by: TR_SLimey <tr_slimey@protonmail.com >
Co-authored-by: LinAGKar <linus.kardell@gmail.com >
Co-authored-by: Jeff Huang <s8321414@gmail.com >
Co-authored-by: Priit Jõerüüt <riot@joeruut.com >
Co-authored-by: lvre <7uu3qrbvm@relay.firefox.com >
Co-authored-by: Alfred Makne Poulsen <Alfredmakne@gmail.com >
Co-authored-by: libexus <libexus@gmail.com >
Co-authored-by: Paragoumba <paragoumba@gmail.com >
Co-authored-by: Helder Ferreira <woounn@gmail.com >
Co-authored-by: Eduardo Ervideira <ejcept@gmail.com >
Co-authored-by: SPiRiT <such.a.lost.spirit@gmail.com >
Co-authored-by: Shi-nobi <mika.lehtonen@mttl.xyz >
Co-authored-by: Mahmut Tuncer <asimbesir4242+elementtranslations@gmail.com >
Co-authored-by: Xose M <xosem@disroot.org >
Co-authored-by: ENIGMA <N0NVAL@protonmail.com >
Co-authored-by: Nikita Epifanov <NikGreens@protonmail.com >
Co-authored-by: Suguru Hirahara <ovestekona@protonmail.com >
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is >
Co-authored-by: xmeta <x_metawork@yahoo.co.jp >
Co-authored-by: nafi3h <alireza.zarei@gmail.com >
Co-authored-by: Alexandre Franke <alexandre.franke@gmail.com >
Co-authored-by: Nermin <neercsys@gmail.com >
2022-03-22 15:40:01 +00: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
Matthew Hodgson
c8d3b51640
fix quicktime video thumbnailing ( #8108 )
...
when reading quicktime files for thumbnailing and/or display, clobber the mimetype from `video/quicktime` to be `video/mp4` so browsers don't choke on it.
2022-03-22 12:23:25 +00:00
Kerry
a80e55d38d
add helpers for beacon duration calculations ( #8101 )
...
* add helpers for beacon duration calculations
Signed-off-by: Kerry Archibald <kerrya@element.io >
* makeBeaconInfoEvent timestsamp prop
Signed-off-by: Kerry Archibald <kerrya@element.io >
* ad copyright
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-22 10:46:47 +00:00
Germain
2bf1d2b287
Change stable threads dialog copy ( #8099 )
2022-03-22 09:23:55 +00:00
Germain
6639b60dfd
Only consider is_falling_back when threads is enabled ( #8083 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-03-22 08:25:39 +00:00
Travis Ralston
709e6e78d2
Revert "Use styled mxids in member list ( #6328 )" ( #8107 )
...
This reverts commit 5d28e0533d .
2022-03-21 19:58:38 -06:00
Šimon Brandner
5d28e0533d
Use styled mxids in member list ( #6328 )
...
* Add DisambiguatedProfile
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Give DisambiguatedProfile some nice options
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Use DisambiguatedProfile in member tile
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Basic handling of text overflow
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Use name instead of rawDisplayName
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* This seems to make more sense
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Reodred
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* rethemedex
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix color
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Appease the linter
* Re-apply UserIdentifier patch
Co-authored-by: Matthew Hodgson <matthew@matrix.org >
Co-authored-by: Travis Ralston <travisr@matrix.org >
2022-03-22 01:08:43 +00:00
Robin
666cab954a
Fix emoting with emoji or pills ( #8105 )
...
* Fix emoting with emoji or pills
* Fix some slash command errors not being shown
* Re-enable mistakenly skipped SendMessageComposer tests
* Test emoting with non-text parts
2022-03-21 19:09:43 +00:00
Kerry
0b80755fb8
extract reusable styled live beacon icon ( #8103 )
...
* extract reusable styles live beacon icon
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add secondary live lcation color
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-21 16:43:43 +00:00
Matthew Hodgson
8cd805ad23
Don't restore MemberInfo from RightPanel history when viewing a room ( #8090 )
...
As bringing up a specific MemberInfo when you view a room is freaky,
even if it happened to be the last thing you were doing in that room.
Fixes https://github.com/vector-im/element-web/issues/21487
2022-03-21 14:01:06 +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
Šimon Brandner
8418b4fd71
Move KeyboardShortcut styling into a separate file ( #8067 )
2022-03-21 11:41:32 +00:00
Matthew Hodgson
22712d3091
fix ugly warning from nesting div tags in p tags ( #8094 )
...
might make negligible spacing changes to text buttons in MemberInfo, but not enough that i could spot them.
2022-03-21 10:27:19 +00: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
Travis Ralston
1384783a77
Update SdkConfig usage to use new translation layer + update config.md docs ( #21429 )
...
* Update SdkConfig usage to use new translation layer
* Appease the linter
* WIP refactor of config documentation
* Finish re-writing config.md
* Update surrounding documentation
* Apply suggestions from code review
Co-authored-by: Germain <germains@element.io >
* Textual updates
Co-authored-by: Germain <germains@element.io >
2022-03-18 10:12:44 -06:00