Commit Graph

12860 Commits

Author SHA1 Message Date
Michael Telatynski 275e9c1d02 Update space panel expand mechanism (#7230) 2021-12-07 09:32:00 +00:00
Michael Telatynski e2ed00db85 Location Picker catch instantiation errors e.g WebGL disabled (#7296) 2021-12-07 09:31:13 +00:00
Tulir Asokan 2e5a6fc738 Allow sharing manual location without giving location permission (#7295) 2021-12-06 14:53:39 +00:00
Kerry eab028f2f8 Make emoji picker search placeholder localizable (#7294) 2021-12-06 14:39:11 +00:00
Timo 12000060a5 Fix: Warning: Unsupported style property pointer-events. Did you mean pointerEvents? (#7291) 2021-12-06 12:47:43 +01:00
Timo 2bfffab566 Add edits and replies to the right panel timeline & prepare the timelineCard to share code with threads (#7262)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-12-06 12:29:37 +01:00
Matthew Hodgson 684b0617ae Support sharing custom locations. (#7185)
Add the ability to click on the map to share a specific named location.
2021-12-06 10:13:06 +00:00
Matthew Hodgson 1262021417 Simple static location sharing (#7135)
Adds maplibre as a dependency, and behind a labs flag, lets users send and receive [MSC3488](https://github.com/matrix-org/matrix-doc/blob/matthew/location/proposals/3488-location.md) style location shares - with backwards compatibility with old school `m.location` `msgtype` location shares too.

For this to work, you have to define a valid maptile server and API in your config.json's `map_style_url`.
2021-12-06 09:45:12 +00:00
Michael Telatynski eb05044bc4 Fix labs exploding when lab group is empty (#7290) 2021-12-06 09:29:42 +00:00
Michael Telatynski 7dfdb06627 Dropdown follow wai-aria practices for expanding on arrow keys (#7277) 2021-12-06 09:25:44 +00:00
Michael Telatynski ca6feaad89 Expose PL control for pinned events when lab enabled (#7278) 2021-12-06 09:25:37 +00:00
Michael Telatynski baa17e4a68 In People & Favourites metaspaces always show all rooms (#7288) 2021-12-06 09:25:14 +00:00
James Salter d4813f7a1a Convert end-to-end tests to Typescript (#7206) 2021-12-06 09:59:06 +11:00
James Salter 5219b6be80 Analytics opt in for posthog (#6936)
* Add a new flag pseudonymousAnalyticsOptIn replacing analyticsOptIn, stored at account level, so people only need to opt in once.

* Show a toast in login to users that have analyticsOptIn set but not yet pseudonymousAnalyticsOptIn prompting them confirm the new method is okay. Update the copy of the existing opt-in toast. Don't notify users that previously opted out.

* Update the copy in settings

* Add a new learn more dialog

* Support a new config flag analyticsOwner which is used in these toasts when explaining which entity the data is sent to ("Help improve %(analyticsOwner)"). If unset, display brand. This allows deployments whose brand differs from the receiver of the analytics to explain the situation to their users (e.g. AcmeCorp badges their app, but explains the data is sent to Element, not them)

* The new opt-in and flags are only used when posthog is configured; prior to that there are no changes to UX or tracking behaviour.
2021-12-06 09:39:33 +11:00
Andy Balaam 494af883f3 Hide votes in a poll until you voted (#7269) 2021-12-03 10:26:28 +00:00
Germain f2fee53a0e Allow stickers to be sent in a Thread (#7267) 2021-12-03 08:22:13 +00:00
Andy Balaam 141950d9e6 Ensure my votes from a different device show up (#7233)
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-12-02 17:12:18 +00:00
Michael Telatynski 0a99be3d65 Render mini user menu for when space panel is disabled (#7258) 2021-12-02 15:44:01 +00:00
Šimon Brandner d3c556bef7 Remove the Screen sharing is here! dialog (#7266) 2021-12-02 15:36:36 +00:00
Michael Telatynski f40291d408 Make composer buttons react to settings without having to change room (#7264) 2021-12-02 14:09:57 +00:00
Michael Telatynski b5a488b01b Fix CallPreview room is null (#7265) 2021-12-02 14:07:27 +00:00
Michael Telatynski b69ad0cd0b Decorate view keyboard shortcuts link as a link (#7260) 2021-12-02 13:43:10 +00:00
Michael Telatynski 675901f629 Fixes more instances of double-translation (#7259) 2021-12-02 13:42:47 +00:00
Šimon Brandner ab750aefce Fix video calls (#7256)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-12-02 10:46:48 +00:00
Michael Telatynski 5e77822bcc Fix broken i18n in Forgot & Change password (#7252) 2021-12-01 17:33:55 +00:00
Germain 3d4ece02e8 Send read receipts for events in thread's timeline (#7229) 2021-12-01 15:45:31 +00:00
Michael Telatynski 279caecde7 Autofocus device panel entry when renaming device (#7249) 2021-12-01 14:17:52 +00:00
Michael Telatynski 2046991848 Disallow sending empty feedbacks (#7240) 2021-12-01 10:59:46 +00:00
Michael Telatynski a4714829f7 Hide clear cache and reload button if crash is before client init (#7242) 2021-12-01 10:54:14 +00:00
Michael Telatynski 82c125c170 Update Space Panel scrollable region (#7245) 2021-12-01 10:51:54 +00:00
Michael Telatynski 4a6d46b76a Replace breadcrumbs with recently viewed menu (#7073) 2021-12-01 10:50:06 +00:00
Šimon Brandner cbb34d8ac7 Make CallHandler more EventEmittery (#6704)
* sharedInstance() -> instance

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use CallState event instead of dispatching

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Simplifie some code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use a method to start a call instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use a method instead of place_conference_call

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make terminateCallApp() and hangupCallApp() public

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use hangupAllCalls() instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make dialNumber(), startTransferToMatrixID() and startTransferToPhoneNumber() public instead of using the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use answerCall() instead of using the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use hangupOrReject() instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update docs

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Dispatch call_state, see https://github.com/vector-im/element-web/pull/18823#issuecomment-917377277

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Add missing import

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-30 18:09:13 +00:00
Michael Telatynski 8fe582b094 Tweaks to informational architecture 1.1 (#7052)
* Move user avatar to Space panel

* Add room list header for 'Home' or 'Space Name' to room list
Add existing Space context menus to room list header

* Re-add pending room join spinner

* Iterate RoomListHeader plus context menu

* Iterate space context menu

* Iterate room list + interactions

* Move DND to new iA model

* Replace composer custom status management with usermenu one

* Cull Quick Actions

* Iterate minimized room list state

* delint

* Merge the RoomListNumResults into the RoomListHeader

* Make the search shortcut prompt semi-bold

* Iterate RoomListHeader based on design review

* Iterate UserMenu based on feedback

* Add name to expanded spacepanel usermenu button

* i18n

* Make room sub list aux button components more generic

* Change left panel explore button to only refer to room directory

* Iterate RoomListHeader

* Fix custom user status input field width in Chrome

* Bring back Notification settings button

* delint

* i18n

* post-merge fix

* iterate pr

* Remove unused state

* update copy

* Apply suggestions from PR review

* delint

* Update invite iconography

* Iterate Space context menu to match Figma

* Fix chevron alignment

* Fix edge case for RoomListHeader on metaspaces

* Wire up general rageshake-driven feedback mechanism

* Add IA1.1 info toast

* add missing alt attribute

* delint

* delint

* tweak ia toast priority

* e2e test account for new toast

* autofocus feedback field and remove old subheading

* tweak copy

* Iterate space panel colours to match Figma

* Iterate PR

* delint

* Fix feedback submission with object setting values

* iterate based on review

* Tweak colours and update splash image

* Tweaks based on review

* Remove room list prompt, made redundant by the big fat `+`

* Fix edge cases around User Menu positioning and dnd

* Add missing import, bad merge?

* Update aria label in e2e test

* Fix room list space rooms context menu explore button behaviour

* Tweak copy

* Revert order of options in the UserMenu

* Tweak copy

* i18n
2021-11-30 18:08:46 +00:00
Timo 8905c5d2bb Add unread indicator to the timelineCard header icon (#7156)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-11-30 11:06:20 +01:00
Michael Telatynski 1d2965a111 Tweak bottom of space panel buttons in expanded state (#7213) 2021-11-29 20:10:34 +00:00
Timo 82ae39435c Only show core navigation elements (call/chat/notification/info) when a widget is maximised (#7114)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-29 19:01:47 +01:00
Michael Telatynski fe24c8ad2a Improve ThreadPanel ctx menu accessibility (#7217) 2021-11-29 17:42:53 +00:00
Michael Telatynski 87e8e3d6ef Fix EmojiPicker lazy loaded rendering bug (#7225) 2021-11-29 17:12:56 +00:00
Michael Telatynski 3f75c6afb0 Prevent duplicate avatars in Event List Summaries (#7222) 2021-11-29 16:51:34 +00:00
Timo 4cbed99de3 Add right panel chat timeline (#7112)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-29 17:06:15 +01:00
Timo 8860916225 Fix size of portrait images with the SIZE_NORMAL setting. (#7188) 2021-11-29 15:01:54 +01:00
Michael Telatynski 3ffe752730 Fix RoomUpgradeWarningBar exploding (#7214) 2021-11-29 11:06:19 +00:00
Michael Telatynski dbd148489d Hide server options hint when disable_custom_urls is true (#7215) 2021-11-29 11:06:11 +00:00
Germain 3a2aa9d96c Polish threads misalignments and UI diversion (#7209) 2021-11-29 10:58:34 +00:00
Michael Telatynski 35d4ec6e80 Fix Manage Restricted Join Rule Dialog for Spaces (#7208) 2021-11-29 09:23:25 +00:00
Michael Telatynski 9fefeefc8c Spaces quick settings (#7196) 2021-11-26 15:41:04 +00:00
Andy Balaam 1c6703356d Highlight my vote even if it was made on another device (#7202) 2021-11-26 09:24:34 +00:00
Timo 37828ab084 Maximised widgets always force a call to be shown in PIP mode (#7163) 2021-11-25 22:14:19 +01:00
Renan Cleyson ae0dba4e87 Add view_room to Action enum (#7203)
* Add ViewRoom action to Action enum

Signed-off-by: Renan <renancleyson.f@gmail.com>

* Change view_room occurrences to Action.ViewRoom

Signed-off-by: Renan <renancleyson.f@gmail.com>

* Add missing Action import
2021-11-25 21:49:43 +01:00
Andy Balaam 965539da2d Show an error dialog if poll creation or voting fails (#7201)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-11-25 17:00:13 +00:00