Commit graph

37258 commits

Author SHA1 Message Date
Germain Souquet
bd1aa01b67 Update copyright and method accessors 2021-08-26 08:19:44 +01:00
Germain Souquet
cb8e62c0b2 human linter and copyright fixer 2021-08-26 08:02:36 +01: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 853bed2157
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
Germain
ee95e36a7c
Merge pull request #6675 from matrix-org/gsouquet/remove-linter-warning
Add ESLint shared settings to detect React version
2021-08-25 20:53:35 +01:00
Travis Ralston
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 Ralston
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 Ralston
d442845cb9
Merge pull request #6680 from SimonBrandner/fix/commands/18670
Fix command autocomplete
2021-08-25 13:34:13 -06:00
Germain
7951c8dabc
Merge pull request #6677 from matrix-org/gsouquet/migrate-sticker-picker 2021-08-25 19:19:52 +01:00
Šimon Brandner
9f791031a8
Fix codeblock formatting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 18:54:52 +02:00
Šimon Brandner
ecd45f7a81
Use min-height instead of height
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 18:38:36 +02:00
Šimon Brandner
6b6fefa73d
Fix class
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 18:38:20 +02:00
David Baker
59833d1306 Update changelog generator 2021-08-25 17:21:48 +01:00
David Baker
e4f8971c67
Merge pull request #6676 from matrix-org/dbkr/yarn_upgrade_20210824
yarn upgrade
2021-08-25 16:39:59 +01:00
Travis Ralston
dc32df1ba5
Merge pull request #6639 from SimonBrandner/feature/voice-activity
Add active speaker indicators
2021-08-25 09:16:37 -06:00
Germain Souquet
6105e046fb Remove sdk.getComponent 2021-08-25 14:38:47 +01:00
Germain Souquet
f712186e64 Migrate StickerPicker to TypeScript 2021-08-25 14:26:21 +01:00
RiotRobot
ccafcd0d39 v3.29.0-rc.2 2021-08-25 11:46:07 +01:00
RiotRobot
e080b0d66c changelog 2021-08-25 11:45:42 +01:00
David Baker
60995bf2ef
Merge pull request #6672 from matrix-org/palid/rcfix/layers-perf-boost
[Release]Increase general app performance by optimizing layers
2021-08-25 11:39:12 +01:00
David Baker
586810d288 Not @types/react because it breaks stuff 2021-08-25 11:23:41 +01:00
David Baker
b53e0eee67 yarn upgrade 2021-08-25 10:57:03 +01:00
Germain Souquet
e1e0278190 Update js-sdk imports to target individual files 2021-08-25 10:04:54 +01:00
Germain Souquet
7938961d27 Update js-sdk imports to target individual files 2021-08-25 09:48:29 +01:00
Germain Souquet
237212b082 Add ESLint shared settings to detect React version 2021-08-25 09:36:35 +01:00
Germain Souquet
450140befd Fix linting issues 2021-08-25 09:34:16 +01:00
Germain Souquet
6945e3f103 Fix ProfileSettings types 2021-08-25 09:05:07 +01:00
Germain Souquet
d205585385 Merge branch 'develop' into gsouquet/ts-components-migration 2021-08-25 09:03:45 +01:00
Germain
da127ecb76
Relative imports from the js-sdk
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:56:21 +01:00
Germain Souquet
77a463e679 Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-25 08:53:16 +01:00
Travis Ralston
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 Ralston
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
Šimon Brandner
78562685bb
Ignore avatar changes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:59:42 +02:00
Šimon Brandner
08402cca9f
Merge remote-tracking branch 'upstream/develop' into fix/rl-resort/110 2021-08-25 08:43:27 +02:00
Šimon Brandner
0465815486
ignoreSelfEvent -> shouldCauseReorder
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:43:13 +02:00
Šimon Brandner
b7df1127bd
Revert "Use ignoreSelfEvent in the RoomListStore (which doesn't work!)"
This reverts commit 0a4a1506d4.
2021-08-25 08:38:47 +02: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
Dariusz Niemczyk
972682139e
Force a new layer for backdrop panel 2021-08-24 20:38:03 +02:00
Dariusz Niemczyk
798da0f5fa
Improve layering for chat
Currently we have a lot of unnecessary layers being created in the app,
which is extremely problematic on Windows when using Chrome, as it
deoptimises fonts rendering due to layers mismatch; chrome's algorithm
can't figure out if the layers won't resize or overlap so it creates a
lot of additional layers, which has a side effect of turning off
sub-pixel antialiasing on Windows.
This is a first step to improve the layering in the entire app.
2021-08-24 20:37:57 +02:00
Travis Ralston
49453f2d49
Merge pull request #6604 from SimonBrandner/task/colors-2
Color de-duplication #2
2021-08-24 12:37:18 -06:00
Dariusz Niemczyk
536a9aec65
Merge pull request #6644 from matrix-org/palid/fix/layers-overwhelming
Increase general app performance by optimizing layers
2021-08-24 20:32:07 +02:00
Dariusz Niemczyk
ff048b0067
Merge remote-tracking branch 'origin/develop' into palid/fix/layers-overwhelming
* origin/develop:
  Fix import breaking types in release mode
  Fix resizer for detaching
  Add CI script to switch the js-sdk into 'release mode'
2021-08-24 19:36:58 +02:00
Dariusz Niemczyk
a62717ed85
Force a new layer for backdrop panel 2021-08-24 19:23:12 +02:00
Dariusz Niemczyk
4cd79e30af
Improve layering for chat
Currently we have a lot of unnecessary layers being created in the app,
which is extremely problematic on Windows when using Chrome, as it
deoptimises fonts rendering due to layers mismatch; chrome's algorithm
can't figure out if the layers won't resize or overlap so it creates a
lot of additional layers, which has a side effect of turning off
sub-pixel antialiasing on Windows.
This is a first step to improve the layering in the entire app.
2021-08-24 19:22:35 +02:00
David Baker
dbc69fbe75
Merge pull request #6383 from matrix-org/dbkr/ci_for_release_mode_types
Add CI script to switch the js-sdk into 'release mode'
2021-08-24 18:02:45 +01:00
David Baker
b5f377d543 Fix import breaking types in release mode 2021-08-24 17:51:39 +01:00