Germain Souquet
fcda0604e0
Fix RoomMember import
2021-06-18 12:48:31 +01:00
Germain Souquet
d22617c422
More specific type definition and adhering to code style better
2021-06-18 12:44:15 +01:00
Germain Souquet
3f1ca970d6
Merge branch 'develop' into gsouquet/dialogs-ts-migration
2021-06-18 12:27:00 +01:00
Michael Telatynski
35e68b8aa5
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17665
2021-06-17 15:45:32 +01:00
Michael Telatynski
02e72d8b04
Fix more type definitions
2021-06-17 14:24:53 +01:00
Michael Telatynski
f929d2ee5f
Typescript fixes due to MatrixEvent being TSified
2021-06-17 14:06:03 +01:00
Robin Townsend
ce57b66c91
Fix forward dialog message preview display names
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-16 18:17:25 -04:00
Michael Telatynski
590ce56740
Use MultiInviter error messages in InviteDialog for room invites
2021-06-16 11:48:14 +01:00
Michael Telatynski
47ddd33d21
Remove explicit .js
imports
2021-06-16 10:24:51 +01:00
Michael Telatynski
b4fbc791bb
Add experimental options to the Spaces beta
2021-06-16 09:01:13 +01:00
Michael Telatynski
5098a304c9
delint
2021-06-15 12:33:46 +01:00
Michael Telatynski
83c30b2280
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17244
...
Conflicts:
src/components/views/spaces/SpaceCreateMenu.tsx
2021-06-15 12:24:26 +01:00
Germain
d3101b5ce4
Merge branch 'develop' into gsouquet/dialogs-ts-migration
2021-06-15 00:02:49 +01:00
Germain Souquet
2e6dab0bcd
change parameter to use preset enum
2021-06-15 00:01:05 +01:00
Germain Souquet
b2f20e052d
remove unused import
2021-06-14 23:51:38 +01:00
Germain Souquet
75151b7a6c
Migrate TermsDialog to TypeScript
2021-06-14 23:50:41 +01:00
Germain Souquet
de414cd0a6
Migrate UserSettingsDialog to TypeScript
2021-06-14 23:42:36 +01:00
Michael Telatynski
539465ecb4
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17365
...
Conflicts:
src/components/views/dialogs/InviteDialog.tsx
2021-06-14 22:22:30 +01:00
Germain Souquet
a030c1270a
Migrate ErrorDialog to TypeScript
2021-06-14 21:55:47 +01:00
Germain Souquet
cf822d4d4c
Migrate DeactivateAccountDialog to TypeScript
2021-06-14 21:53:44 +01:00
Germain Souquet
e39baf3e23
Migrate CryptoStoreTooNewDialog to TypeScript
2021-06-14 21:45:12 +01:00
Germain Souquet
de95f3bc01
Migrate CreateGroupDialog to TypeScript
2021-06-14 21:43:54 +01:00
Germain Souquet
5cbbb5110b
Migrate ConfirmWipeDeviceDialog to TypeScript
2021-06-14 21:38:10 +01:00
Germain Souquet
c2aaba1f79
Migrate ConfirmUserActionDialog to TypeScript
2021-06-14 21:36:56 +01:00
Germain Souquet
9443ef4ff9
Migrate ConfirmRedactDialog to TypeScript
2021-06-14 21:31:17 +01:00
Germain Souquet
6877504f2d
Migrate ConfirmAndWaitRedactDialog to TypeScript
2021-06-14 21:30:28 +01:00
Germain Souquet
1ff3aa0d74
Migrate ChangelogDialog to TypeScript
2021-06-14 21:26:15 +01:00
Germain Souquet
be92226448
Migrate BugReportDialog to TypeScript
2021-06-14 21:23:28 +01:00
Germain Souquet
f2250af565
Migrate AskInviteAnywayDialog to TypeScript
2021-06-14 21:03:12 +01:00
Germain Souquet
5f2ab50a90
migrate SetupEncryptionStore to TypeScript
2021-06-14 20:58:20 +01:00
Germain Souquet
68db2438ea
Migrate SetupEncryptionDialog to TypeScript
2021-06-14 20:41:26 +01:00
Travis Ralston
951fbf4a1a
fix import
2021-06-14 13:38:43 -06:00
Travis Ralston
2eafe132b8
Move various createRoom types to the js-sdk
2021-06-14 13:31:58 -06:00
Germain Souquet
0909112fa9
Migrate CreateCrossSigningDialog to TypeScript
2021-06-14 20:21:11 +01:00
Germain Souquet
6b746b5d1d
Migrate ConfirmDestroyCrossSigningDialog to TypeScript
2021-06-14 20:15:05 +01:00
Steffen Kolmer
bd71bcca5a
Allow modal widget buttons to be disabled when the modal opens
2021-06-11 17:38:16 +02:00
Germain Souquet
7f3173f170
Implement unencrypted warning slate in rooms
2021-06-10 11:14:43 +01:00
Germain Souquet
4f649f290c
Migrate RoomSettingsDialog to TypeScript
2021-06-10 10:46:54 +01:00
Michael Telatynski
f34a2e61bc
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17365
2021-06-08 16:54:49 +01:00
Michael Telatynski
93eb9feaa7
iterate PR based on feedback
2021-06-08 16:42:58 +01:00
Michael Telatynski
90bb7c1482
Switch Space Settings for a tabbed view with a bunch more settings exposed
2021-06-08 16:33:47 +01:00
Robin Townsend
b00ad63a35
Fix whitespace nitpick
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-07 19:16:00 -04:00
Robin Townsend
a8dab04d5e
Remove mystery dot from forward dialog preview
...
It was a bullet point, since EventTiles now get created as li by default
:P
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-07 19:10:45 -04:00
Robin Townsend
b97867271b
Merge branch 'develop' into improved-forwarding-ui
2021-06-07 19:09:36 -04:00
Michael Telatynski
bd8fd77d54
Merge pull request #6148 from robintown/fix-timestamps
2021-06-07 13:12:11 +01:00
Michael Telatynski
ae04b2ce4a
Fix Dialog/Modal types defn
2021-06-07 11:06:30 +01:00
Robin Townsend
ea2120bdfd
Fix timestamps
...
7f83590846
changed timestamps to be hidden
at the DOM level, not the CSS level. We can keep that approach, we just
need to ensure they still get shown at the right times.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 01:55:01 -04:00
Robin Townsend
e891d18fa2
Add my email to my copyright notices
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 21:41:28 -04:00
Robin Townsend
bbd5fab7b5
Fix type check
...
As TypeScript points out, you can only set an id on HTML elements, not
arbitrary components.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 11:15:06 -04:00
Robin Townsend
a06306d560
Merge branch 'develop' into improved-forwarding-ui
2021-06-05 11:04:17 -04:00
Travis Ralston
12e013508d
Merge pull request #6132 from matrix-org/travis/ts-mtxcli
...
Adapt for js-sdk MatrixClient conversion to TS
2021-06-04 00:07:22 -06:00
Michael Telatynski
0c97d90fb9
Iterate PR based on feedback
2021-06-03 16:44:28 +01:00
Michael Telatynski
f2643151c6
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17365
...
Conflicts:
src/components/views/dialogs/InviteDialog.tsx
2021-06-03 16:22:59 +01:00
Germain
9d126c51e4
Merge pull request #6113 from matrix-org/gsouquet/improve-layout-rendering
2021-06-02 11:41:59 +01:00
Germain Souquet
d7a5547d80
use Intl.Collator over String.prototype.localeCompare for better performance
2021-06-02 10:42:17 +01:00
Travis Ralston
5b2dacd99e
Adapt for js-sdk MatrixClient conversion to TS
...
For https://github.com/matrix-org/matrix-js-sdk/pull/1718
2021-06-01 21:36:28 -06:00
Robin Townsend
59660df0cb
Use a QueryMatcher for forward dialog filtering
...
This also allows us to filter by room aliases.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-01 20:17:20 -04:00
Robin Townsend
4ef69fcbf6
Use settings hooks in forward dialog
...
...to dynamically watch for layout changes.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-01 20:15:09 -04:00
Robin Townsend
b032422c6a
Fix whitespace lints
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-01 17:37:31 -04:00
Robin Townsend
56714525f2
Merge branch 'develop' into improved-forwarding-ui
2021-06-01 17:28:55 -04:00
Germain Souquet
308ac505a8
Migrate AutoHideScrollbar to TypeScript
...
Also changed the way the React.RefObject is collected
2021-06-01 14:13:46 +01:00
Michael Telatynski
6e74ab0cf5
Fix the ability to remove avatar from a space via settings
2021-06-01 11:11:04 +01:00
Michael Telatynski
91b7f25513
delint2
2021-05-28 13:51:54 +01:00
Michael Telatynski
d319768b2e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17365
...
Conflicts:
src/components/views/dialogs/InviteDialog.tsx
2021-05-28 13:06:48 +01:00
Nique Woodhouse
ea26393709
Styling amends to accommodate the invite dialog footer
2021-05-28 13:00:18 +01:00
Michael Telatynski
890ac14090
Merge pull request #6105 from matrix-org/t3chguy/invitedialog
...
Avoid showing warning modals from the invite dialog after it unmounts
2021-05-27 23:07:47 +01:00
Michael Telatynski
eef15394f2
extract buildRecents return type into an interface
2021-05-27 17:00:48 +01:00
Michael Telatynski
f75fb3b349
Add footer and privacy note to the start dm dialog
2021-05-27 15:51:25 +01:00
Michael Telatynski
60d161caf5
Apply some actual typescripting to this file
2021-05-26 16:47:46 +01:00
Michael Telatynski
3f10279e15
Invite Dialog don't show warning modals after unmount, it is jarring
2021-05-26 16:38:02 +01:00
J. Ryan Stinnett
e3a9e4690b
Merge pull request #6076 from matrix-org/jryans/convert-flow-to-ts-2
...
Convert some Flow typed files to TS (round 2)
2021-05-26 10:54:09 +01:00
Michael Telatynski
17bbbff479
Remove Promise allSettled polyfill as its widespread enough now and js-sdk uses it directly
2021-05-25 16:12:34 +01:00
Robin Townsend
5c7da97ff6
Give forward dialog send buttons an accessible label
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-24 08:55:08 -04:00
Robin Townsend
121ed5eba9
Pass Matrix client around as matrixClient
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-24 08:51:04 -04:00
Robin Townsend
400917623c
Make myself the copyright holder for forward dialog code
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-24 08:33:28 -04:00
Robin Townsend
88e0e9b9fb
Merge branch 'develop' into improved-forwarding-ui
2021-05-24 08:23:07 -04:00
Robin Townsend
cd460a2555
Adjust forward dialog copy
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-21 12:59:13 -04:00
Robin Townsend
7a04502151
Iterate on forward dialog design feedback
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-21 12:41:29 -04:00
J. Ryan Stinnett
66077e3a05
Add spaces to imports
2021-05-21 12:57:51 +01:00
J. Ryan Stinnett
f8e61a982b
One less Set
2021-05-21 12:41:59 +01:00
J. Ryan Stinnett
d59b2b3579
Fix unintended buttons class change
2021-05-21 12:38:32 +01:00
J. Ryan Stinnett
d0da4b2a25
Use separate name for verification request component
2021-05-21 12:37:34 +01:00
J. Ryan Stinnett
d9e490926b
Add types to DevtoolsDialog
2021-05-20 17:59:45 +01:00
J. Ryan Stinnett
6574ca98fa
Fix basic lint errors
2021-05-20 17:56:16 +01:00
J. Ryan Stinnett
21c1179f8d
Update extensions for more files with types
...
This migrates the another bucket of files using some amount of Flow typing to
mark them as TypeScript instead. The remaining type errors are fixed in
subsequent commits.
2021-05-20 17:56:16 +01:00
Michael Telatynski
8b67cdb80b
Pre-populate create room dialog name when going from room directory
2021-05-19 19:20:58 +01:00
Michael Telatynski
b3aade075d
Convert CreateRoomDialog to Typescript
2021-05-19 19:18:28 +01:00
Robin Townsend
6cb6c7f3d0
Combine forward dialog room and DM lists
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-19 13:33:48 -04:00
Robin Townsend
678b298bab
Merge branch 'develop' into improved-forwarding-ui
2021-05-19 12:39:48 -04:00
Michael Telatynski
edb2026780
Support any alias not just first
2021-05-18 13:31:53 +01:00
Michael Telatynski
655010844a
Switch to using QueryMatcher for add existing to space dialog
...
This helps it support filtering by alias
2021-05-18 13:27:34 +01:00
Travis Ralston
6ccb0d487a
Merge branch 'develop' into travis/msc2873
2021-05-17 16:27:20 -06:00
Robin Townsend
e798b36f1d
Decorate forward dialog room avatars
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-16 08:39:22 -04:00
Robin Townsend
64e828d069
Merge branch 'develop' into improved-forwarding-ui
2021-05-16 08:13:59 -04:00
Michael Telatynski
b06514273f
Merge pull request #6043 from SimonBrandner/fix/add-ids
...
Add ids to homeserver and passphrase fields
2021-05-15 15:22:27 +01:00
Šimon Brandner
bdf7837044
Add mx to homeserverInput
2021-05-15 16:13:26 +02:00
Šimon Brandner
ce4439e118
Add mx to passPhraseInput
2021-05-15 16:13:02 +02:00
Šimon Brandner
37348375a2
Add id for passpharase
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-15 15:07:35 +02:00
Šimon Brandner
fef081c736
Add id for homeserver field
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-15 15:07:15 +02:00
Travis Ralston
89933d779c
Merge branch 'develop' into travis/msc2873
2021-05-14 14:22:53 -06:00