Commit Graph

16504 Commits

Author SHA1 Message Date
Michael Telatynski 4e1e304616 Merge pull request #6698 from SimonBrandner/fix/space-invite-dialog/18745 2021-08-31 16:35:36 +01: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
Šimon Brandner 9684d7263b Filter members on load
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-30 10:09:57 +02:00
Šimon Brandner 072fdf1cb8 Use disptacher so that https://github.com/matrix-org/matrix-react-sdk/pull/6691 has effect
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-28 15:06:48 +02:00
Steffen Kolmer 6a550f2f9c Added trailing comma to make eslint happy 2021-08-28 14:04:00 +02:00
Steffen Kolmer 3ef9584f68 Simplify things 2021-08-28 14:00:18 +02:00
Steffen Kolmer 9fdc5659b7 Fixed eslint error and copyright header 2021-08-28 13:56:08 +02:00
Steffen Kolmer e661c017e3 Moved custom field name to a const 2021-08-28 13:48:33 +02:00
Steffen Kolmer d76adde1ab Use scss instead of inline styles 2021-08-28 13:41:24 +02:00
Steffen Kolmer 70b4308bab Fix eslint error 2021-08-27 21:59:22 +02:00
Steffen Kolmer 6da11f375d Allow to use basic html formatting in invite reasons 2021-08-27 21:44:34 +02:00
Steffen Kolmer f65eff103e Switch from inline-spinner to spinner 2021-08-27 20:48:29 +02:00
Steffen Kolmer a4899ad225 Fixed padding 2021-08-27 20:11:34 +02:00
Steffen Kolmer 9b495eeec3 Optimized style 2021-08-27 20:10:01 +02:00
Steffen Kolmer 21cf3592cf Update props and state interfaces 2021-08-27 19:32:38 +02:00
Steffen Kolmer 6e30673164 Show spinner if user id is missing in event tile preview 2021-08-27 19:23:26 +02:00
Šimon Brandner c6400c8db3 Show call length during a call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:34:44 +02:00
Šimon Brandner 49defd7b5a Simplifie code and use formatSeconds()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:21:29 +02:00
Šimon Brandner c86dbe195e Remove unused import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 14:07:36 +02:00
Šimon Brandner 54cd385e6d Improve AUX panel behaviour
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 13:31:43 +02:00
Germain Souquet a1f6708a56 Hide voice recording button in narrow mode 2021-08-27 11:12:25 +01:00
Germain Souquet bf3c8e5664 Fix imports 2021-08-27 10:38:01 +01:00
Šimon Brandner 816f0f5e90 Avoid stacked dialogs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:56:53 +02:00
Šimon Brandner 464d2b47b0 Default to Don't leave any
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:18:19 +02:00
Travis Ralston 73dd30f919 Merge branch 'develop' into travis/cross-room 2021-08-26 10:48:10 -06:00
Travis Ralston 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 Ralston 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
Šimon Brandner 4f1ff134dc Render guest settings only in public spaces
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 17:39:54 +02:00
Šimon Brandner c353b6daad Render guest settings only in public rooms
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 17:39:48 +02:00
J. Ryan Stinnett d013ae79b7 Fix changelog link colour back to blue
https://github.com/matrix-org/matrix-react-sdk/pull/5698 changed all dialog
links to green, which is not expected. In general, we use blue links for
information and green links for actions.

This resolves the regression by removing the general change and adjusting the
new links added by the above PR to be green as desired there.

Fixes https://github.com/vector-im/element-web/issues/18726
2021-08-26 13:59:12 +01:00
Germain Souquet f0a4225bf7 Remove unused renderEventTile method 2021-08-26 08:45:00 +01:00
Germain Souquet bd1aa01b67 Update copyright and method accessors 2021-08-26 08:19:44 +01:00
Germain Souquet 4e0f52118d Update VoiceRecordComposerTile to only end recording 2021-08-26 08:07:51 +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 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 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 7951c8dabc Merge pull request #6677 from matrix-org/gsouquet/migrate-sticker-picker 2021-08-25 19:19:52 +01:00
Germain Souquet 2d14be9cef Merge branch 'develop' into gsouquet/compact-composer-18533 2021-08-25 18:07:36 +01:00
Germain Souquet 9018973f15 Position sticker picker correctly 2021-08-25 17:59:06 +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 31b3b2e2ed Fix Sticker and Emoji picker opening on narrow mode 2021-08-25 15:39:50 +01:00
Germain Souquet 333cb61186 Remove sdk.getComponent 2021-08-25 14:39:28 +01:00
Germain Souquet 6105e046fb Remove sdk.getComponent 2021-08-25 14:38:47 +01:00
Germain Souquet 98feec374e Migrate StickerPicker to TypeScript 2021-08-25 14:33:17 +01:00
Germain Souquet f712186e64 Migrate StickerPicker to TypeScript 2021-08-25 14:26:21 +01:00
Germain Souquet 3c33e3cc61 Make all buttons part of a button array
Preparation work for narrow layout of the message composer.
The voice record button needed to be extracted from VoiceRecordComposerTile
2021-08-25 11:35:23 +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 450140befd Fix linting issues 2021-08-25 09:34:16 +01:00