Commit Graph

16416 Commits

Author SHA1 Message Date
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
91ccbe4395 Add way to track posthog user properties and send numSpaces (#7716) 2022-02-09 09:21:56 +00:00
Michael Telatynski
2b72a2cc2f Fix view source and devtools showing hljs warnings (#7759) 2022-02-09 09:09:06 +00:00
Michael Telatynski
09b88d1fbe Fix add existing space not showing any spaces (#7751) 2022-02-08 19:25:08 +00:00
Šimon Brandner
f13329213d Handle highlight notifications in timeline card button (#7762) 2022-02-08 19:03:15 +00:00
Michael Telatynski
4394c162db Inhibit Room List keyboard pass-thru when the search beta is enabled (#7752) 2022-02-08 18:31:37 +00:00
Šimon Brandner
479e7e9a25 Add unread notification dot to timeline card button (#7749) 2022-02-08 17:37:03 +00:00
J. Ryan Stinnett
bf8438cbb2 Add jump to bottom button for right panel timeline (#7746) 2022-02-08 17:35:03 +00:00
Charlie Calendre
0a45ae0781 Fix space member list not opening (#7747) 2022-02-08 16:41:26 +00:00
Michael Telatynski
760446c087 Null-guard ELS from null summaryMembers (#7744) 2022-02-08 14:26:26 +00:00
Michael Telatynski
ed185240a5 Move new search experience to a Beta (#7718) 2022-02-08 14:02:36 +00:00
Kerry
30d1ac1eea unit test basic paths in UserInfo (#7740)
* unit test main paths in UserInfo component

Signed-off-by: Kerry Archibald <kerrya@element.io>

* one more test case

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove BasicUserInfo export

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-08 12:14:52 +00:00
Germain
af0b21de9d Improved way to retrieve event sender for thread summary (#7732) 2022-02-08 12:08:47 +00:00
Michael Telatynski
773c7f46b7 Tune aria-live regions around clocks/timers (#7735) 2022-02-08 11:20:03 +00:00
Michael Telatynski
4501308b47 Fix instances of decorated room avatar wrongly having their own tabIndex (#7730) 2022-02-08 09:17:08 +00:00
Aaron Raimist
5278679076 Capitalize "Privacy" in UserMenu (#7738) 2022-02-08 08:31:51 +00:00
Šimon Brandner
8e72118b5d Auto select "Other homeserver" when user press "Edit" in homeserver field (#7337) 2022-02-07 17:50:25 +00:00
Germain
544957bdad Use typographical quotes in no threads UI (#7713) 2022-02-07 15:13:34 +00:00
Michael Telatynski
ec92102fe3 Properly handle persistent widgets when room is left (#7724) 2022-02-07 14:40:22 +00:00
Michael Telatynski
d72469663d Add unread badges and avatar decorations to spotlight search (#7696) 2022-02-07 13:50:04 +00:00
Michael Telatynski
30e80aa87d Null guard space hierarchy (#7729) 2022-02-07 13:48:35 +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
David Baker
3f789d32c1 Add logging to diagnose no-video bug (#7721)
Log in/outbound RTP stats so we can see ifn we're sending & receiving
video, and log when we successfully play the video element.
2022-02-04 14:02:56 +00:00
Šimon Brandner
ddb15cb19e Bypass rageshake when warning about devtools (#7717) 2022-02-04 13:30:18 +00:00
Michael Telatynski
78373e86ea Truncate long server names on login/register screen (#7702)
Co-authored-by: Aaron Raimist <aaron@raim.ist>
2022-02-04 10:20:20 +00:00
Šimon Brandner
2e19f81bd5 Hide composer buttons if we can't send events (#7719) 2022-02-04 09:36:31 +00:00
Germain
df86678798 Update to thread UI (#7714) 2022-02-03 16:24:49 +00:00
Michael Telatynski
226ccfc45c Fix creating polls outside of threads (#7711) 2022-02-03 11:50:07 +00:00
Germain
f0446a23d5 Fix poll creation from a thread (#7706) 2022-02-02 17:55:41 +00:00
Michael Telatynski
75b03ca101 Reuse CopyableText component in all places it can be (#7701) 2022-02-02 12:16:00 +00:00
Andy Balaam
70a44a8cd6 Enable location sharing (#7703) 2022-02-02 11:44:17 +00:00
Michael Telatynski
fce19d763a Make Spotlight Dialog roving reset more stable (#7698) 2022-02-02 09:31:05 +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
Eric Eastwood
9b0da552e7 Fix vertical spacing in compact <ContextMenu> (#7684)
Fix https://github.com/vector-im/element-web/issues/20801

Regressed in https://github.com/matrix-org/matrix-react-sdk/pull/7339

Relevant styles were first added in https://github.com/matrix-org/matrix-react-sdk/pull/4858
(context behind why the original styles were added)

---

## Cause

Battling CSS specificity between the default and compact styles, https://specificity.keegan.st/

Known good (On `app.element.io` (expected)):
```css
// 0 3 0
.mx_IconizedContextMenu .mx_IconizedContextMenu_optionList .mx_AccessibleButton {
    padding-top: 12px;
    padding-bottom: 12px;
}

// Compact styles override our default rules because they come
// after the other styles (source order) and have the same specificity
// 0 3 0
.mx_IconizedContextMenu.mx_IconizedContextMenu_compact .mx_IconizedContextMenu_optionList > * {
    padding: 8px 16px 8px 11px;
}
```

Bad (On `develop` (broken)):
```css
// Default rules always override because they have higher specificity.
// The `:not()` selector doesn't add any extra specificity but the selectors inside the `:not(...)` do.
// 0 4 0
.mx_IconizedContextMenu .mx_IconizedContextMenu_optionList .mx_AccessibleButton:not(.mx_AccessibleButton_hasKind) {
    padding-top: 12px;
    padding-bottom: 12px;
}

// 0 3 0
.mx_IconizedContextMenu.mx_IconizedContextMenu_compact .mx_IconizedContextMenu_optionList > * {
    padding: 8px 16px 8px 11px;
}
```
2022-02-01 11:23:21 -06:00
Michael Telatynski
8dd0722e04 Update eventName=Screen to $screen to match PostHog's special behaviour (#7667) 2022-02-01 15:49:49 +00:00
David Baker
5b999300b2 Fix the sticker picker (#7692)
* Fix the sticker picker

Don't stop user widgets on room change: they're not room-specific.

Fixes https://github.com/vector-im/element-web/issues/20797

* Use 'userWidget' prop rather than roomId being defined
2022-02-01 15:34:22 +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
bf8c04ff55 Prevent MemberAvatar soft-crashing when rendered with null member prop (#7691) 2022-02-01 15:06:16 +00:00
Germain
5973d725e0 Add new threads to the panel as they are discovered (#7688) 2022-02-01 15:01:00 +00:00
Michael Telatynski
afe6021c9a Ensure UserInfo can be rendered without a room (#7687)
Co-authored-by: David Baker <dave@matrix.org>
2022-02-01 10:17:55 +00:00
Germain
0e36f91d76 Use updated createThread method (#7670) 2022-02-01 08:58:45 +00:00
Šimon Brandner
a55482b0ff Don't show replaced calls in the timeline (#7452)
* Don't show replaced calls in the timeline

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

* Revert changes to CallEvent

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

* Add option to force hide event

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

* Hide replaced calls

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-01-31 16:09:34 +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
Faye Duxovni
655f473612 Fix 'undefined' labels on rageshakes (#7680) 2022-01-31 10:15:46 -05:00
RiotRobot
a25fea9f96 Merge branch 'master' into develop 2022-01-31 14:57:13 +00:00
Kerry
085ecc7f5f Chat export parameter customisation (#7647)
* use export settings and hide fields

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fix exporter tests

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test ExportDialog with settings

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tidy debugs, rename setting to Parameters

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use reasonable 100gb limit

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use normal setting instead of UIFeature

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use a customisation

Signed-off-by: Kerry Archibald <kerrya@element.io>

* move validateNumberInRange to utils

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use nullish coalesce

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use 8gb size limit for customisation

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update comments

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-31 12:54:14 +01:00