Commit Graph
100 Commits
Author SHA1 Message Date
Travis RalstonandGitHub 5c878ddfdd Merge pull request #5172 from matrix-org/travis/widgets/msc1960-1
Update openid_credentials Widget API action for MSC1960 updates
2020-09-08 07:20:35 -06:00
Travis Ralston db1eb89552 MSC numbers are hard to remember 2020-09-05 15:10:28 -06:00
Travis Ralston 355d8f5843 Update openid_credentials Widget API action for MSC1960 updates
We now need to send a `state` and `original_request_id` per MSC1960's recent adjustments
2020-09-05 15:06:31 -06:00
Travis RalstonandGitHub 03588f8450 Merge pull request #5161 from matrix-org/travis/communities/proto/userinfo
Communities v2 prototype: "In community" view
2020-09-02 10:50:07 -06:00
Travis Ralston 6d62d85ad2 Merge branch 'develop' into travis/communities/proto/userinfo 2020-09-02 10:33:52 -06:00
Travis RalstonandGitHub c849f56458 Merge pull request #5153 from matrix-org/travis/copy2
Communities v2 prototype: DM copy updates
2020-09-02 10:26:56 -06:00
Travis Ralston 9b12355b2a Appease the linter 2020-09-02 08:59:24 -06:00
Travis Ralston 92c184385c Merge branch 'develop' into travis/communities/proto/userinfo 2020-09-01 10:51:42 -06:00
Travis Ralston afec470ec3 Merge branch 'develop' into travis/copy2 2020-09-01 10:50:58 -06:00
Travis Ralston 78d5b87fbc Use a different border variable for compatibility with custom themes 2020-08-31 11:20:28 -06:00
Travis Ralston b4f62e9c88 use valid jsdoc 2020-08-31 11:07:29 -06:00
Travis Ralston 29089821f4 Merge branch 'develop' into travis/copy2 2020-08-31 11:03:01 -06:00
Travis Ralston 7f7414ed5a Appease the linter 2020-08-31 10:59:37 -06:00
Travis Ralston fdbaddbace Add a simple edit dialog for communities 2020-08-31 10:52:08 -06:00
Travis Ralston 133f981fa8 Run the tag selection behaviour through the prototype store too 2020-08-31 10:22:29 -06:00
Travis Ralston 724e3f6905 Run all selected prototype community logic through one store 2020-08-31 10:19:05 -06:00
Travis Ralston 93d67a6689 Wire up members button to member view
Ideally this would open up the group members panel, but that's exceedingly difficult. Instead, we switch to the general chat and rename the button to be a bit more helpful.
2020-08-31 10:12:12 -06:00
Travis Ralston 281e2ab27b Null guard new function to reduce error spam 2020-08-28 20:13:26 -06:00
Travis Ralston 275ff6b41e Wire up the invite button 2020-08-28 20:08:12 -06:00
Travis Ralston 35e4d89545 Add aria labels to menu options 2020-08-28 20:04:19 -06:00
Travis Ralston 02095389e7 Add structure for mixed prototype UserMenu 2020-08-28 17:03:17 -06:00
Travis Ralston 01b0acbe62 Make the UserMenu echo the current community name 2020-08-28 16:14:08 -06:00
Travis Ralston 0ffa548864 Change the menu button to a chevron
by design request
2020-08-28 15:37:23 -06:00
Travis Ralston 90d9d7128d Use FlairStore's cache for group naming
Turns out GroupStore doesn't really know much.
2020-08-28 14:56:59 -06:00
Travis Ralston e68c4efd0b Merge branch 'travis/copy2' into travis/communities/proto/userinfo 2020-08-28 13:54:03 -06:00
Travis Ralston fb54b62be9 Appease the rest of the linter 2020-08-28 13:42:19 -06:00
Travis Ralston 6f237161fd Appease the linter 2020-08-28 13:28:54 -06:00
Travis Ralston e58b514803 Add clarifying text to DM dialog about what is about to happen 2020-08-28 13:22:20 -06:00
Travis Ralston cc2fc911af Minor copy addition to DM dialog for communities prototype 2020-08-28 10:03:27 -06:00
Travis RalstonandGitHub 52e095fa61 Merge pull request #5151 from matrix-org/travis/copy-change
Update create room dialog copy & community prototype home icon
2020-08-28 09:47:53 -06:00
Travis Ralston f038103f97 Fix copy 2020-08-28 09:47:36 -06:00
Travis RalstonandGitHub 898136e44d Merge pull request #5152 from matrix-org/travis/communities/fix-clear
Fix clicking the background of the tag panel not clearing the filter
2020-08-27 15:06:58 -06:00
Travis Ralston 3c176f762e Remove disabled clear button from tag panel + dead code 2020-08-27 14:27:06 -06:00
Travis Ralston bbd343f414 Fix clicking the background of the tag panel not clearing the filter
Fixes https://github.com/vector-im/element-web/issues/12988
2020-08-27 14:17:55 -06:00
Travis Ralston be1de1d295 Update create room dialog copy 2020-08-27 13:49:40 -06:00
Travis Ralston 13e9f7b912 Update home icon 2020-08-27 13:18:52 -06:00
Travis RalstonandGitHub 8a5dc7edd7 Merge pull request #5147 from matrix-org/travis/communities/proto/create-room
Communities v2 prototype: Associate created rooms with the selected community
2020-08-27 08:05:04 -06:00
Travis Ralston 4f29770adb Force the GroupStore to update after creating a prototype community 2020-08-26 11:02:14 -06:00
Travis Ralston 027f263589 Remove prototype code from CreateGroupDialog
The prototype code paths prevent users from ending up here, so we don't need custom code.
2020-08-26 11:01:58 -06:00
Travis Ralston c28134eb11 Associate created rooms with the selected community 2020-08-26 10:53:06 -06:00
Travis Ralston fd71bca7c0 Change menu label if in a community 2020-08-26 10:33:05 -06:00
Travis RalstonandGitHub b294ec6427 Merge pull request #5145 from matrix-org/travis/communities/proto/switcher
Communities v2 prototype: Tag panel selection changes
2020-08-26 10:22:50 -06:00
Travis RalstonandGitHub 82949c038a Merge pull request #5144 from matrix-org/travis/communities/proto/create-flow
Communities v2 prototype: Create community flow
2020-08-26 09:07:17 -06:00
Travis Ralston 82b015bd5f Rename components to match prior convention 2020-08-26 08:52:39 -06:00
Travis Ralston 3e7d82b421 Change tip copy 2020-08-26 08:48:01 -06:00
Travis Ralston 0c67a42b0f Make padding only on the prototype tag panel 2020-08-26 08:42:26 -06:00
Travis RalstonandGitHub 98d098a3eb Merge pull request #5143 from matrix-org/travis/communities/proto/invites
Communities v2 prototype: Override invite aesthetics for community-as-room invites
2020-08-26 08:32:29 -06:00
Travis Ralston c68636bd32 i18n updates 2020-08-25 21:59:09 -06:00
Travis Ralston 55001f3193 Select the general chat for a community when viewing it 2020-08-25 21:52:48 -06:00
Travis Ralston 20c562c208 Change user avatar to a home icon 2020-08-25 21:46:26 -06:00
Travis Ralston c9e967f05c Don't override UserMenu with group changes 2020-08-25 21:21:16 -06:00
Travis Ralston 5ea11e90b2 Appease the style linter 2020-08-25 21:17:35 -06:00
Travis Ralston 56c7f86983 Add an invite users to community step to dialog flow 2020-08-25 21:08:31 -06:00
Travis Ralston 7c1a9993e3 Add new create group dialog 2020-08-25 21:08:24 -06:00
Travis Ralston 8feda74156 Wire up TagPanel's create button to the dialog 2020-08-25 21:08:19 -06:00
Travis Ralston 65fe562cbf Select new tag after creating the group 2020-08-25 21:08:12 -06:00
Travis Ralston 2d4ac548d0 Override invite metadata if the server wants a group profile 2020-08-25 21:03:11 -06:00
Travis RalstonandGitHub 84d782022f Merge pull request #5139 from matrix-org/travis/communities/room-behaviour
Communities v2 prototype: Explore rooms, global state, and default room
2020-08-24 07:43:01 -06:00
Travis RalstonandGitHub 56e08f440e Merge pull request #5133 from matrix-org/travis/communities/tag-panel
Add communities v2 prototyping feature flag + initial tag panel prototypes
2020-08-24 07:41:44 -06:00
Travis Ralston 8e23b1072f Add i18n
it's probably important
2020-08-21 18:27:49 -06:00
Travis Ralston f0bd4d3625 Show the group's room if one is returned 2020-08-21 18:19:34 -06:00
Travis Ralston 276ed90884 Add a personal group for an all-communities state
Design is approximate and needs review, though being completed out of band.
2020-08-21 18:19:29 -06:00
Travis Ralston 1b5abdab23 Override the room directory with the selected group's rooms 2020-08-21 18:19:25 -06:00
Travis Ralston dc95ca6776 Merge branch 'travis/communities/tag-panel' into travis/communities/room-behaviour 2020-08-21 18:19:20 -06:00
Travis RalstonandGitHub d1c7d749aa Merge pull request #5134 from matrix-org/travis/cleanup2
Remove some unused components
2020-08-21 07:45:32 -06:00
Travis Ralston fd06272062 Update i18n 2020-08-20 20:50:28 -06:00
Travis Ralston c815a370e7 Remove some unused components
We no longer have tinting support, so remove it. We still need the `Tinter` to exist though as it's used in quite a few places (though does nothing). Similarly, we have to keep the `roomColor` setting due to it being used in a few places - another PR can take away the tinter support properly.

The room tile context menu and top left menu are artifacts of the old room list.

The end to end tests weren't failing before as the code path is unused, however it seems worthwhile to keep it as we will eventually need it.
2020-08-20 20:47:02 -06:00
Travis Ralston ae04c5ce9d Appease the linter 2020-08-20 19:59:44 -06:00
Travis Ralston d7a43df793 Disable context menu for v2 communities 2020-08-20 19:54:09 -06:00
Travis Ralston 81a7be29aa Show the selected community in the top left menu 2020-08-20 19:45:54 -06:00
Travis Ralston beb5c2627c Disable CTRL+Click and SHIFT+Click actions on tag panel 2020-08-20 19:45:22 -06:00
Travis Ralston 0c80db8820 Add feature flag for prototypes 2020-08-20 19:44:59 -06:00
Travis RalstonandGitHub 5c71e33362 Merge pull request #5132 from matrix-org/travis/leave-room
Run all room leaving behaviour through a single function
2020-08-20 07:17:13 -06:00
Travis Ralston 42988d373b Remove debugging 2020-08-19 19:42:58 -06:00
Travis Ralston 8fffce8a30 Appease the linter 2020-08-19 19:42:36 -06:00
Travis Ralston 309c32700b Remove unused success state 2020-08-19 19:23:27 -06:00
Travis Ralston e0b8343088 Run all room leaving behaviour through a single function
Fixes https://github.com/vector-im/element-web/issues/14999
Fixes https://github.com/vector-im/element-web/issues/10380

We were failing to handle errors when `/part`ing a room, though the leave room button was fine. This runs both the button and command through the same function for handling, including the 'view next room' behaviour.
2020-08-19 19:21:40 -06:00
Travis RalstonandGitHub c9d98a1d19 Merge pull request #5124 from matrix-org/travis/settings-v3
Settings v3: Feature flag changes
2020-08-19 12:00:48 -06:00
Travis Ralston 0fef86cc74 Fix find & replace error 2020-08-19 11:52:02 -06:00
Travis Ralston 534f0cc89e Revert "Merge pull request #5125 from matrix-org/travis/spec-i18n"
This reverts commit d3dba0ba3a.
2020-08-18 13:09:33 -06:00
Travis Ralston 0a4d4e4df3 Revert "update js-sdk reference in lockfile"
This reverts commit cac4e6c920.
2020-08-18 12:53:43 -06:00
Travis Ralston cac4e6c920 update js-sdk reference in lockfile 2020-08-18 12:50:25 -06:00
Travis RalstonandGitHub d3dba0ba3a Merge pull request #5125 from matrix-org/travis/spec-i18n
Use matrix-doc for SAS emoji translations
2020-08-18 11:41:42 -06:00
Travis Ralston 323ebdfac8 Remove unused return type 2020-08-18 10:51:30 -06:00
Travis Ralston d9e7253561 Use matrix-doc for SAS emoji translations
This is done through the js-sdk's new SASEmojiV1 class.
2020-08-17 15:37:36 -06:00
Travis Ralston 4f851542ac Implement force state for features like in the proposal 2020-08-17 13:51:41 -06:00
Travis Ralston 3659115921 Followup on some SettingsStore removals 2020-08-17 13:37:16 -06:00
Travis Ralston 2c0e6c859a Update settings documentation for features 2020-08-17 13:32:33 -06:00
Travis Ralston 71643862c0 Implement new config style for features 2020-08-17 13:24:55 -06:00
Travis Ralston eda4e24926 Update LabsUserSettings for new feature behaviour 2020-08-17 13:19:15 -06:00
Travis Ralston 96087d61f6 Convert feature setting usages to regular settings 2020-08-17 13:12:18 -06:00
Travis Ralston d866b2d9ef Generate previews for rooms when the option changes
Fixes https://github.com/vector-im/element-web/issues/14853

This likely regressed in https://github.com/matrix-org/matrix-react-sdk/pull/5048 when the message preview information was made state, and the component wasn't updating the preview when the control flags changed.
2020-08-10 20:52:05 -06:00
Travis RalstonandJ. Ryan Stinnett 7b7105f3f7 Handle tag changes in sticky room updates
Fixes https://github.com/vector-im/element-web/issues/14848

When we're filtering the sticky room will be excluded from the filtered set, and thus won't even appear in the `getOrderedRoomsWithoutSticky()` result. Further, we will likely have to update the position ourselves to ensure the sticky room can be placed appropriately in the list.
2020-08-03 13:26:19 +01:00
Travis Ralston 7022d86a3c Handle tag changes in sticky room updates
Fixes https://github.com/vector-im/element-web/issues/14848

When we're filtering the sticky room will be excluded from the filtered set, and thus won't even appear in the `getOrderedRoomsWithoutSticky()` result. Further, we will likely have to update the position ourselves to ensure the sticky room can be placed appropriately in the list.
2020-07-31 16:26:03 -06:00
Travis Ralston fed20d46c5 Replace i18n generation script with something matching our project
We've been relying on flow being close enough to TypeScript for so long that it is starting to run into issues. Here we switch to babel's parser given we already use babel in the project.

Babel's parser is also *slightly* faster, allowing us to generate strings 0.1s faster.
2020-07-31 13:33:33 -06:00
Travis RalstonandGitHub e8d1024c45 Merge pull request #5076 from matrix-org/travis/cleanup/1
Clean up documentation of Whenable + fix other code concerns
2020-07-31 11:27:19 -06:00
Travis RalstonandGitHub 3443761007 Merge pull request #5062 from matrix-org/travis/settings/ts
Convert SettingsStore to TypeScript
2020-07-31 11:07:07 -06:00
Travis Ralston c888b1f401 It's a Context Transaction (ctxn) now 2020-07-31 10:00:53 -06:00
Travis Ralston 7645fe6b23 Update context transaction states 2020-07-31 10:00:02 -06:00
Travis Ralston 16ebcf70c9 Clean up documentation of Whenable 2020-07-31 09:41:19 -06:00