Commit Graph
100 Commits
Author SHA1 Message Date
Travis RalstonandGitHub 333418232d Merge pull request #6808 from SimonBrandner/task/context_menus-ts
Convert `/context_menus` and `/avatars` to TS
2021-09-14 13:07:15 -06:00
Travis RalstonandGitHub 298fb49017 Merge pull request #6783 from matrix-org/madlittlemods/12876-optimize-input-field-transition
Optimize input label transition on focus
2021-09-13 20:57:41 -06:00
Travis RalstonandGitHub 6249a1be5f Merge pull request #6768 from AndrewFerr/develop
Set dark theme colors for auth components
2021-09-13 11:14:31 -06:00
Travis RalstonandGitHub a6d2bb5e6c Merge pull request #6693 from SimonBrandner/fix/guest/18776
Render guest settings only in public rooms/spaces
2021-09-09 10:42:38 -06:00
Travis Ralston d886409c0c Appease the linter 2021-09-09 10:39:38 -06:00
Travis Ralston 0cae60ed2c Move fields into consistent location for js-sdk to target 2021-09-09 10:39:26 -06:00
Travis Ralston d9a0a0b858 Add config option to turn on in-room event sending timing metrics
This is intended to be hooked up to an external system. 

Due to the extra events and metadata concerns, this is only available if turned on from the config.

See `sendTimePerformanceMetrics.ts` for event schemas.
2021-09-09 10:39:23 -06:00
Travis RalstonandGitHub bdb29e96fa Merge pull request #6766 from matrix-org/travis/measure-encryption-perf
Add config option to turn on in-room event sending timing metrics
2021-09-09 10:38:15 -06:00
Travis Ralston b4f42e1103 Appease the linter 2021-09-08 11:35:25 -06:00
Travis Ralston 70e28e7e13 Move fields into consistent location for js-sdk to target 2021-09-08 11:31:37 -06:00
Travis Ralston 21e33362e5 Add config option to turn on in-room event sending timing metrics
This is intended to be hooked up to an external system. 

Due to the extra events and metadata concerns, this is only available if turned on from the config.

See `sendTimePerformanceMetrics.ts` for event schemas.
2021-09-08 11:28:19 -06:00
Travis RalstonandGitHub 3217ab26ff Merge pull request #5759 from panoschal/fix/call-search-areas
Compact call area, better ui when in call & searching messages
2021-09-07 12:31:56 -06:00
Travis RalstonandGitHub 78617c01a8 Merge pull request #6742 from matrix-org/travis/fix-oidc-dialog
Convert widget OIDC exchange dialog to TS (fixing it)
2021-09-06 22:43:27 -06:00
Travis Ralston 615a432eda Add missing type 2021-09-06 22:37:21 -06:00
Travis RalstonandGitHub eb6fa4514b Merge pull request #6752 from matrix-org/revert-6682-gsouquet/compact-composer-18533
Revert "Create narrow mode for Composer"
2021-09-06 22:09:01 -06:00
Travis Ralston b9001c3e11 Convert widget OIDC exchange dialog to TS (fixing it)
Fixes https://github.com/vector-im/element-web/issues/15631

The `super` call was the primary issue, but a log line in the `onPermissionSelection` was also using the wrong property. Both issues have been fixed as part of the TS conversion in order to make the thing compile, conveniently fixing the bugs.
2021-09-03 22:31:29 -06:00
Travis RalstonandGitHub 9dee3eb0e1 Merge pull request #6728 from matrix-org/travis/voice-messages/interrupt-text
Stop automatic playback of voice messages if a non-voice message is encountered
2021-09-03 13:34:58 -06:00
Travis RalstonandGitHub 60e2d61d25 Merge pull request #6489 from psrpinto/better-pinned-messages
When pinning or unpinning messages, link to the specific message
2021-09-03 13:27:49 -06:00
Travis RalstonandGitHub 1772e7e314 Merge pull request #6734 from matrix-org/travis/widget-algo
Improve performance of widget startup slightly
2021-09-02 16:02:11 -06:00
Travis Ralston 6590572124 Improve performance of widget startup slightly
See https://github.com/matrix-org/matrix-react-sdk/pull/6733#pullrequestreview-745513275
2021-09-02 15:24:23 -06:00
Travis RalstonandGitHub 36f4b9f723 Merge pull request #6733 from matrix-org/travis/fix-widgets
Don't rely on rooms having timelines to use when checking widgets
2021-09-02 15:02:48 -06:00
Travis Ralston 57aa045195 Don't rely on rooms having timelines to use when checking widgets 2021-09-02 14:27:20 -06:00
Travis Ralston b2cb944d73 Merge branch 'develop' into travis/voice-messages/interrupt-text 2021-09-02 11:21:12 -06:00
Travis RalstonandGitHub c749492b9c Merge pull request #6710 from matrix-org/travis/voice-messages/audio-queue
Add autoplay for voice messages
2021-09-02 08:06:17 -06:00
Travis Ralston 91d0b55fd0 Stop automatic playback if a non-voice message is encountered
Fixes https://github.com/vector-im/element-web/issues/18850
2021-09-01 16:14:44 -06:00
Travis Ralston d7426b9b5b Merge branch 'travis/voice-messages/audio-queue' into travis/voice-messages/interrupt-text 2021-09-01 16:08:20 -06:00
Travis RalstonandGitHub 7a08394686 Merge pull request #6707 from SimonBrandner/task/fix-actions
Make GH actions clone from the correct fork and cleanup
2021-09-01 14:49:56 -06:00
Travis RalstonandGitHub 5692b74b28 Merge pull request #6703 from nordeck/nic/feat/invite-reason-formatting
Allow to use basic html to format invite messages
2021-09-01 14:46:54 -06:00
Travis RalstonandGitHub f0cf00433b Merge pull request #6702 from nordeck/nic/fix/even-tile-preview
Replace fake username in EventTilePreview with a proper loading state
2021-09-01 14:28:12 -06:00
Travis RalstonandGitHub 3046f0ed85 Merge pull request #6684 from matrix-org/travis/cross-room
Add support for MSC2762's timeline functionality
2021-09-01 13:28:26 -06:00
Travis Ralston 4b557fe0ad Update widget-api 2021-09-01 13:22:09 -06:00
Travis RalstonandGitHub bf5fe29448 Merge pull request #6695 from matrix-org/travis/keep-old-out
Don't send prehistorical events to widgets during decryption at startup
2021-09-01 13:16:47 -06:00
Travis Ralston b86a0dcc15 Merge branch 'develop' into travis/cross-room 2021-09-01 11:29:20 -06:00
Travis RalstonandGitHub 3ed76f5de7 Merge pull request #6719 from matrix-org/travis/widgets/no-limits
Remove arbitrary limits from send/receive events for widgets
2021-09-01 11:26:15 -06:00
Travis Ralston 18b7a64910 Remove arbitrary limits from send/receive events for widgets
Fixes https://github.com/vector-im/element-web/issues/17994

As per MSC change: https://github.com/matrix-org/matrix-doc/pull/2762/commits/aeadae81e2d68f76523eb61ff0ebbbd5c3202deb
2021-08-31 13:17:49 -06:00
Travis Ralston 730af94014 Autoplay semantics for voice messages
Fixes https://github.com/vector-im/element-web/issues/18804
Fixes https://github.com/vector-im/element-web/issues/18715
Fixes https://github.com/vector-im/element-web/issues/18714
Fixes https://github.com/vector-im/element-web/issues/17961
2021-08-30 14:29:37 -06:00
Travis RalstonandGitHub a5ccd690a6 Merge pull request #6708 from SimonBrandner/fix/ml-filter-load
Filter members on `MemberList` load
2021-08-30 09:57:22 -06:00
Travis RalstonandGitHub 5e934c17da Merge pull request #6694 from SimonBrandner/task/set-new-layout
Set the new layout setting when reading it
2021-08-27 09:08:40 -06:00
Travis RalstonandGitHub cd1610eea8 Merge pull request #6696 from matrix-org/travis/ff-voice
Always trigger the first amplitude capture from the worklet
2021-08-27 07:47:38 -06:00
Travis Ralston 289b1c5ce0 Always trigger the first amplitude capture from the worklet
Fixes https://github.com/vector-im/element-web/issues/18587

See diff
2021-08-26 15:47:49 -06:00
Travis Ralston 20b6219121 Don't send prehistorical events to widgets during decryption at startup
Fixes https://github.com/vector-im/element-web/issues/18060

Tracking a localized read receipt of sorts appears to be the fastest and least complex approach, though not the greatest.
2021-08-26 13:28:48 -06:00
Travis Ralston 73dd30f919 Merge branch 'develop' into travis/cross-room 2021-08-26 10:48:10 -06:00
Travis RalstonandGitHub 470bc0ffe7 Merge pull request #6686 from matrix-org/travis/widget-redact
Special case redaction event sending from widgets per MSC2762
2021-08-26 10:47:17 -06:00
Travis RalstonandGitHub 22a78cf481 Merge pull request #6685 from matrix-org/travis/fix-widget-remember
Fix client forgetting which capabilities a widget was approved for
2021-08-26 10:47:10 -06:00
Travis RalstonandGitHub a1a7de0f37 Merge pull request #6687 from matrix-org/travis/left-panel-widget-expand
Fix left panel widgets not remembering collapsed state
2021-08-26 10:46:51 -06:00
Travis Ralston 4415a7037c Fix left panel widgets not remembering collapsed state
Fixes https://github.com/vector-im/element-web/issues/17803

The `setExpanded` function takes a boolean, not a function.
2021-08-25 23:10:19 -06:00
Travis Ralston cafa52c466 Special case redaction event sending from widgets per MSC2762
Fixes https://github.com/vector-im/element-web/issues/18573
See https://github.com/matrix-org/matrix-doc/pull/2762/commits/853bed215743f3e04af8683ea5e1ea2b47b7845b
2021-08-25 22:40:51 -06:00
Travis Ralston 76cc5bfb7d Remember all capabilities given to a widget
Fixes https://github.com/vector-im/element-web/issues/18786

Instead of replacing the remembered set, we now add to it. This should be safe as the user expectation was previously to remember the capabilities, so we can keep appending to that list.

This commit also moves the utility functions closer to the widget driver as they aren't needed in the dialog anymore.
2021-08-25 22:30:57 -06:00
Travis Ralston f912d9d1b4 Appease the linter 2021-08-25 18:25:20 -06:00
Travis Ralston 289ac34764 Add support for MSC2762's timeline functionality
See https://github.com/matrix-org/matrix-widget-api/pull/41
2021-08-25 18:16:40 -06:00
Travis RalstonandGitHub 8fd44f0b5e Merge pull request #6595 from SimonBrandner/fix/rl-resort/110
Don't re-sort the room-list based on profile/status changes
2021-08-25 13:37:53 -06:00
Travis RalstonandGitHub aa0a753105 Merge pull request #6681 from SimonBrandner/fix/codeblock-formatting
Fix codeblock formatting with syntax highlighting on
2021-08-25 13:36:47 -06:00
Travis RalstonandGitHub d442845cb9 Merge pull request #6680 from SimonBrandner/fix/commands/18670
Fix command autocomplete
2021-08-25 13:34:13 -06:00
Travis RalstonandGitHub dc32df1ba5 Merge pull request #6639 from SimonBrandner/feature/voice-activity
Add active speaker indicators
2021-08-25 09:16:37 -06:00
Travis RalstonandGitHub 9444995305 Merge pull request #6662 from matrix-org/travis/safe-labs
Flag a couple features as having dependencies
2021-08-25 01:12:48 -06:00
Travis RalstonandGitHub 44543fe4ea Merge pull request #6673 from matrix-org/travis/rm-room-list-logging
Remove advanced room logging setting
2021-08-25 01:11:39 -06:00
Travis Ralston e49dc8c8e2 Remove imports too 2021-08-24 13:23:48 -06:00
Travis Ralston 4790b4fc17 Remove advanced room logging setting
Fixes https://github.com/vector-im/element-web/issues/14602

This has proven to be less useful month over month, so it's time for it to go. The initial goal for keeping it was to track stability in the ~6 months post-release, which means it should have left around the start of 2021. At the time, Spaces was on the horizon with room list corruption issues though, so it was put on hold. These days, it's rock solid and doesn't appear to be causing issues. As such, the logging can leave in favour of more specific/targeted logging when we need it.

This might even speed things up as it's not hitting the SettingsStore every 0.2 seconds.
2021-08-24 13:17:12 -06:00
Travis RalstonandGitHub 49453f2d49 Merge pull request #6604 from SimonBrandner/task/colors-2
Color de-duplication #2
2021-08-24 12:37:18 -06:00
Travis RalstonandGitHub c2a410c724 Merge pull request #6665 from SimonBrandner/fix/add-button/18706
Add padding to the Add button in the notification settings
2021-08-24 10:06:17 -06:00
Travis RalstonandGitHub 52e1884bbd Merge pull request #6661 from matrix-org/travis/blurhash-opt
Ensure blurhash is treated as optional
2021-08-23 22:56:32 -06:00
Travis RalstonandGitHub 924983d64b Merge pull request #6663 from matrix-org/travis/fix-room-list
Honour user-selected background image from settings
2021-08-23 22:50:46 -06:00
Travis Ralston a0dc5d2987 Honour user-selected background image from settings
Fixes https://github.com/vector-im/element-web/issues/18705

This is provided as an easter egg, but more importantly as an a11y workaround.
2021-08-23 20:39:46 -06:00
Travis Ralston 8237497bc4 Flag a couple features as having dependencies 2021-08-23 20:27:29 -06:00
Travis Ralston 30c9860274 Ensure blurhash is treated as optional
Fixes https://github.com/vector-im/element-web/issues/18702
2021-08-23 16:48:39 -06:00
Travis RalstonandGitHub 32343f3382 Merge pull request #5698 from SimonBrandner/public-e2ee-warn
Add a warning on E2EE rooms if you try to make them public
2021-08-23 16:45:47 -06:00
Travis RalstonandGitHub 15c731d574 Merge pull request #6507 from matrix-org/t3chguy/fix/18089
Allow pagination of the space hierarchy and use new APIs
2021-08-23 15:51:34 -06:00
Travis RalstonandGitHub 397a0f7849 Merge pull request #6651 from SimonBrandner/feature/watch-rl-background
Watch `RoomList.backgroundImage`
2021-08-22 23:49:32 -06:00
Travis RalstonandGitHub 3e19fc1984 Merge pull request #6620 from SimonBrandner/feature/vertical-autocomplete/18558
Format autocomplete suggestions vertically
2021-08-20 09:10:36 -06:00
Travis RalstonandGitHub fcf47f6539 Merge pull request #6626 from SimonBrandner/fix/correct-colors-call-tiles
Adjust colors in call tiles
2021-08-20 00:02:56 -06:00
Travis RalstonandGitHub 3bcb57d070 Merge pull request #6640 from SimonBrandner/feature/persist-search-member-list/18613
Remember last `MemberList` search query per-room
2021-08-19 14:11:37 -06:00
Travis RalstonandGitHub da944b2c6b Merge pull request #6323 from matrix-org/t3chguy/ts/12
Convert SearchResult, InteractiveAuth, PushProcessor and Scheduler to TS
2021-08-13 10:08:58 -06:00
Travis RalstonandGitHub 26d5b93760 Merge pull request #6610 from SimonBrandner/feature/add-more-call-states
Add new call tile states
2021-08-13 08:51:31 -06:00
Travis RalstonandGitHub 23221ceb2e Merge pull request #6602 from SimonBrandner/release/fix/correct-button
[Release] Use the correct button component for the Call View sidebar button
2021-08-12 08:55:02 -06:00
Travis RalstonandGitHub 772b8fb3fa Merge pull request #6593 from SimonBrandner/fix/correct-button
Use the correct button component for the Call View sidebar button
2021-08-12 08:54:53 -06:00
Travis RalstonandGitHub f99e0d111e Merge pull request #6607 from SimonBrandner/release/fix/toast-colors
[Release] Fix toast colors
2021-08-12 08:54:18 -06:00
Travis RalstonandGitHub 2e6da2dc6e Merge pull request #6596 from SimonBrandner/fix/scrollbar-dot/18474
Remove tiny scrollbar dot from code blocks
2021-08-11 13:54:47 -06:00
Travis RalstonandGitHub c93cc89cca Merge pull request #6540 from SimonBrandner/task/color-cleanup-1
First cleanup of the theme files
2021-08-11 10:55:27 -06:00
Travis RalstonandGitHub a149108a7d Merge pull request #6353 from SimonBrandner/feature/improved-composer
Improve handling of pills in the composer
2021-08-11 10:55:13 -06:00
Travis RalstonandGitHub 92a60497d2 Merge pull request #6572 from matrix-org/travis/voice-messages/stop-left
Move stop button to the left of the waveform
2021-08-07 09:09:21 -06:00
Travis RalstonandGitHub b2a2b35243 Merge pull request #6565 from SimonBrandner/fix/codeblock-expand/18388
Fix missing expand button on codeblocks
2021-08-06 09:42:13 -06:00
Travis RalstonandGitHub 6a9ebc6902 Merge pull request #6390 from SimonBrandner/feature/hidden-rrs
Support for MSC2285 (hidden read receipts)
2021-08-06 09:27:14 -06:00
Travis RalstonandGitHub f53451df65 Merge pull request #6349 from SimonBrandner/feature/collapse-pinned-mels/17938
Group pinned message events with MELS
2021-08-06 09:25:08 -06:00
Travis Ralston fbe8f04942 Fix height jump of recording states
Fixes https://github.com/vector-im/element-web/issues/18431
2021-08-06 09:04:36 -06:00
Travis Ralston cab4f2e402 Move stop button to the left of the waveform
Fixes https://github.com/vector-im/element-web/issues/18416
2021-08-06 09:00:18 -06:00
Travis RalstonandGitHub 2c601e0ff1 Merge pull request #6562 from matrix-org/travis/voice-messages/disable-composer
Fix disabled state for voice messages + send button tooltip
2021-08-06 07:19:58 -06:00
Travis RalstonandGitHub 7c1d9b4eda Merge pull request #6490 from robintown/regional-indicators
Add regional indicators to emoji picker
2021-08-05 16:02:00 -06:00
Travis RalstonandGitHub 27d7daeceb Merge pull request #6550 from SimonBrandner/fix/voice-cutoff
Fix voice feed being cut-off
2021-08-05 15:46:42 -06:00
Travis RalstonandGitHub 9ad72d6daf Merge pull request #6549 from SimonBrandner/fix/dont-use-start
Use `flex-start` instead of `start`
2021-08-05 15:46:12 -06:00
Travis RalstonandGitHub 4dcf2c7038 Merge pull request #6498 from SimonBrandner/fix/screen-picker-sizing/18281
Fix sizing issues of the screen picker
2021-08-05 15:39:12 -06:00
Travis RalstonandGitHub 3b73c17465 Merge pull request #6181 from pvagner/voip-a11y
Make call control buttons accessible to screen reader users
2021-08-05 13:36:17 -06:00
Travis RalstonandGitHub b967465498 Merge pull request #6563 from matrix-org/travis/voice-messages/stop-playing
Stop voice messages that are playing when starting a recording
2021-08-05 12:56:44 -06:00
Travis Ralston 17a3dc5e6d Stop voice messages that are playing when starting a recording
Fixes https://github.com/vector-im/element-web/issues/18410
2021-08-05 12:44:12 -06:00
Travis Ralston fea30e5f5f Fix disabled state for voice messages + send button tooltip
Fixes https://github.com/vector-im/element-web/issues/18413
2021-08-05 12:38:15 -06:00
Travis RalstonandGitHub 570c2b3292 Merge pull request #6561 from matrix-org/travis/fix-download-frame
Properly set style attribute on shared usercontent iframe
2021-08-05 11:27:31 -06:00
Travis Ralston 81ddaf2efa Properly set style attribute on shared usercontent iframe
Fixes https://github.com/vector-im/element-web/issues/18414
2021-08-05 11:21:22 -06:00
Travis RalstonandGitHub 280c017238 Merge pull request #6530 from matrix-org/travis/voice-messages/uploading
Improve voice messages uploading state
2021-08-05 08:36:53 -06:00
Travis RalstonandGitHub 51bd740936 Merge pull request #6538 from matrix-org/travis/voice-messages/ui-polish-aug3-21
Polish up more of the voice messages UI
2021-08-05 08:34:31 -06:00
Travis RalstonandGitHub b4b4fb9702 Merge pull request #6553 from matrix-org/travis/voice-messages/worklet
Fix worklet reference for new webpack pipeline
2021-08-04 15:38:04 -06:00
Travis Ralston 9b32a1c609 Appease Jest 2021-08-04 15:23:35 -06:00