Commit graph

5818 commits

Author SHA1 Message Date
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
James Salter
43f264ccfc
Integrate analytics stubs (#7186)
* Add matrix-analytics-events as a dependency
* Make IEvent look like a stub definition
* Update pageview tracking to track screens, using a hypothetical definition of a screen event
* Remove distinction between pseudo and anon tracking, will need to rework it considering stubs
2021-12-06 21:43:42 +11:00
Michael Telatynski
f410d52bc1
Finish sending pending messages before leaving room (#7276) 2021-12-06 09:25:53 +00:00
Michael Telatynski
336f159004
Update URL when room aliases are modified (#7289) 2021-12-06 09:25:05 +00: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
Dariusz Niemczyk
961fec9081
Refactor matrix-linkify module (#7279)
Refactor the module to make it easier for upgrade and proper separation of code contexts
2021-12-03 14:00:56 +00:00
Germain
f2fee53a0e
Allow stickers to be sent in a Thread (#7267) 2021-12-03 08:22:13 +00:00
Michael Telatynski
0a99be3d65
Render mini user menu for when space panel is disabled (#7258) 2021-12-02 15:44:01 +00:00
Michael Telatynski
5169bca570
Improve ease of focusing on Room list Search (#7255) 2021-12-02 13:43:02 +00:00
Michael Telatynski
675901f629
Fixes more instances of double-translation (#7259) 2021-12-02 13:42:47 +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
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
Michael Telatynski
5ff810b687
Fix room list treeview filtering not ignoring modifier keys (#7231) 2021-11-30 16:04:27 +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
9727a82a12
Allow filtering room list during treeview navigation (#7219) 2021-11-29 17:18:35 +00:00
Germain
065b65a764
Hide scrollbar if content height is smaller than scroll node height (#7220) 2021-11-29 17:03:53 +00:00
Germain
9d52c23e06
Add option to disable grouping in TimelinePanel (#7221) 2021-11-29 17:01:23 +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
Germain
3a2aa9d96c
Polish threads misalignments and UI diversion (#7209) 2021-11-29 10:58:34 +00:00
Michael Weimann
f5d32345f4
Improve right panel resize handle usability (#7204) 2021-11-29 10:56:09 +00: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
Germain
e4c00d1123
Open thread view when linking thread root (#7195) 2021-11-25 15:40:38 +00:00
Germain
392c4ad8d9
Make local echo work for threads (#7157) 2021-11-24 08:40:15 +00:00
Germain
14b5ed01d3
Change thread panel filtering (#7169) 2021-11-23 08:50:14 +00:00
Germain
7658187186
Fix composer focus after pasting (#7181) 2021-11-22 17:09:16 +00:00
Michael Telatynski
ddbfebbaa0
Fix automatic composer focus, regressed by threads work (#7167) 2021-11-19 17:15:15 +00:00
Michael Telatynski
52e391a92a
Show space members when not invited even if summary didn't fail (#7153) 2021-11-19 10:17:05 +00:00
Germain
256c468c15
Chat Effects & Commands in thread context (#7138) 2021-11-18 12:47:11 +00:00
Travis Ralston
3c06e7f7a0
Add option to change the size of images/videos in the timeline (#7017)
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Timo K <toger5@hotmail.de>
2021-11-17 15:19:30 +00:00
Timo
645f900a36
Fix maximised / pinned widget state being loaded correctly (#7146) 2021-11-16 16:09:19 +00:00
Timo
556cfc7ed8
Add maximise widget functionality (#7098)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-16 15:43:18 +01:00
Timo
431098b56b
Fixes element not remembering widget hidden state per room (#7136) 2021-11-15 12:49:34 +01:00
Michael Telatynski
27c3153947
Unified room context menus (#7072) 2021-11-15 11:39:25 +00:00
Michael Telatynski
a057ec18ca
Don't keep spinning if joining space child failed (#7129) 2021-11-12 15:45:14 +00:00
Germain
1e50636520
Fix thread panel filtering (#7126) 2021-11-12 12:43:41 +00:00
Paulo Pinto
646f87b2db
In forgot password screen, show validation errors inline in the form, instead of in modals (#7113) 2021-11-12 11:39:39 +00:00
David Baker
cd1f660d04
Fix missing spaces in threads copy (#7119)
* Fix missing spaces in threads copy

Fixes: https://github.com/vector-im/element-web/issues/19702
Type: defect

* i18n
2021-11-11 16:42:32 +00:00
Germain
e2b59335cf
Implement empty design list (#7115) 2021-11-11 13:56:44 +00:00
Michael Telatynski
5ad3261cb2
Implement more meta-spaces (#7077) 2021-11-11 13:07:41 +00:00
Germain
1de9630e44
Fixes following threads design implementation review (#7100) 2021-11-11 11:00:18 +00:00
J. Ryan Stinnett
5226edba4b
Use en_GB spelling of maximise / minimise in labels (#7111) 2021-11-10 16:35:43 +00:00
Šimon Brandner
f08c0b3592
Remove sdk.getComponent() where possible (#7091) 2021-11-08 10:27:52 +00:00
Šimon Brandner
6d3ba0eb95
Forget member-list query when switching out of the room (#7093)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-08 09:57:14 +00:00
Michael Telatynski
2c05883986
Update app slogan to match latest marketing (#7089) 2021-11-05 14:34:54 +00:00