Commit Graph
31373 Commits
Author SHA1 Message Date
GermainandGitHub 544957bdad Use typographical quotes in no threads UI (#7713) 2022-02-07 15:13:34 +00:00
Michael TelatynskiandGitHub ec92102fe3 Properly handle persistent widgets when room is left (#7724) 2022-02-07 14:40:22 +00:00
Michael TelatynskiandGitHub d72469663d Add unread badges and avatar decorations to spotlight search (#7696) 2022-02-07 13:50:04 +00:00
Michael TelatynskiandGitHub 30e80aa87d Null guard space hierarchy (#7729) 2022-02-07 13:48:35 +00:00
Michael TelatynskiandGitHub 5d89230271 Remove IA 1.1 feedback toast (#7720) 2022-02-07 12:46:48 +00:00
Šimon BrandnerandGitHub 472115cd9c Fix add existing rooms button (#7728) 2022-02-07 10:19:14 +00:00
J. Ryan StinnettandGitHub 7f3f186044 Switch back to upstream Linkify (#7677) 2022-02-04 17:21:03 +00:00
David BakerandGitHub 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 BrandnerandGitHub ddb15cb19e Bypass rageshake when warning about devtools (#7717) 2022-02-04 13:30:18 +00:00
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 BrandnerandGitHub 2e19f81bd5 Hide composer buttons if we can't send events (#7719) 2022-02-04 09:36:31 +00:00
Šimon BrandnerandGitHub 29cf22a521 Fix JumpToLatestMessage (#7715) 2022-02-03 17:22:41 +00:00
GermainandGitHub df86678798 Update to thread UI (#7714) 2022-02-03 16:24:49 +00:00
Michael TelatynskiandGitHub 226ccfc45c Fix creating polls outside of threads (#7711) 2022-02-03 11:50:07 +00:00
9adfdb8fed Open native room when clicking notification from a virtual room (#7709)
* Handle virtual rooms when showing a notification

* This should be using sharedInstance()

Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
2022-02-03 11:31:32 +00:00
Michael TelatynskiandGitHub 760d269671 Fix relative link handling in Element Desktop (#7708) 2022-02-03 08:55:49 +00:00
GermainandGitHub f0446a23d5 Fix poll creation from a thread (#7706) 2022-02-02 17:55:41 +00:00
Michael TelatynskiandGitHub 75b03ca101 Reuse CopyableText component in all places it can be (#7701) 2022-02-02 12:16:00 +00:00
Andy BalaamandGitHub 70a44a8cd6 Enable location sharing (#7703) 2022-02-02 11:44:17 +00:00
Michael TelatynskiandGitHub fce19d763a Make Spotlight Dialog roving reset more stable (#7698) 2022-02-02 09:31:05 +00:00
Andy BalaamandGitHub 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 BrandnerandGitHub bb03298e6d Add a warning to the console to discourage attacks and encourage contributing (#7673) 2022-02-01 17:24:17 +00:00
Eric EastwoodandGitHub 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 TelatynskiandGitHub 8dd0722e04 Update eventName=Screen to $screen to match PostHog's special behaviour (#7667) 2022-02-01 15:49:49 +00:00
David BakerandGitHub 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 TelatynskiandGitHub 98c5f50f36 Fix publishing address wrongly demanding the alias be available (#7690) 2022-02-01 15:06:26 +00:00
Michael TelatynskiandGitHub bf8c04ff55 Prevent MemberAvatar soft-crashing when rendered with null member prop (#7691) 2022-02-01 15:06:16 +00:00
GermainandGitHub 5973d725e0 Add new threads to the panel as they are discovered (#7688) 2022-02-01 15:01:00 +00:00
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
RobinandGitHub bfab09e977 Use a more correct test for emoji (#7685) 2022-02-01 09:45:22 +00:00
GermainandGitHub 0e36f91d76 Use updated createThread method (#7670) 2022-02-01 08:58:45 +00:00
Šimon BrandnerandGitHub 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 TelatynskiandGitHub 991257cbc3 Fix accessibility and consistency of MessageComposerButtons (#7679) 2022-01-31 16:05:05 +00:00
Šimon BrandnerandGitHub a17d585a12 Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #2 (#7674) 2022-01-31 15:55:45 +00:00
Faye DuxovniandGitHub 7e5de9294c Refine UISI autorageshake conditions to cut down on false alarms (#7650)
The AutoRageshakeStore now only starts submitting rageshakes after the initial sync has completed, and provides a short grace period for decryption failures to resolve.
2022-01-31 10:49:27 -05:00
J. Ryan StinnettandGitHub f99ae6d46a Tweak /addwidget widget names (#7681) 2022-01-31 15:37:49 +00:00
Faye DuxovniandGitHub 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
KerryandGitHub 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
Šimon BrandnerandGitHub ad87ee0a0f Don't show shield next to deleted messages (#7671) 2022-01-31 11:21:13 +00:00
Andy BalaamandGitHub b5a56698d6 Refactor MessageComposerButtons (#7668) 2022-01-31 09:19:26 +00:00
David BakerandGitHub 7c20eb9b74 Put call on hold when transfer dialog is opened (#7669)
And take it off hold if the dialog is cancelled.

Also changes the onFinished signature of invitedialog which claimed
to return an array of strings but never did, so now it just returns
a boolean.
2022-01-28 17:05:57 +00:00
Travis RalstonandGitHub b04d2de313 Fix left panel widgets causing app-wide crash (#7659) 2022-01-28 08:52:46 -07:00
Travis RalstonandGitHub cb2c835c09 Fix left panel widgets causing app-wide crash (#7660) 2022-01-28 08:52:28 -07:00
Andy BalaamandGitHub 2229437424 Refactor renderButtons() into MessageComposerButtons component (#7664) 2022-01-28 15:44:03 +00:00
Šimon BrandnerandGitHub db09d16205 Fix shift-enter repeating last character (#7665) 2022-01-28 15:32:30 +00:00
0c10385dd2 Remove unused code from Stickerpicker (#7663)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-28 12:22:45 +00:00
344b506184 Rename properties related to Stickers (#7662)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-28 10:58:58 +00:00
Michael TelatynskiandGitHub cbc671b19f Share e2ee keys when using /invite SlashCommand (#7655) 2022-01-28 10:02:37 +00:00
Andy BalaamandGitHub 15276ea3b4 Render no buttons if we have a voice recording (#7658) 2022-01-28 09:39:10 +00:00