element-web-Github/src
Robin 0e0be08781
Remove "Add Space" button from RoomListHeader when user cannot create spaces (#9129)
* Remove Add Space button in RoomListHeader when user cannot createSpaces

* Reuse the same booleans as SpaceContextMenu

* Code review fixes

* Fix test for standard case

* Refactor tests and add more

* Test the PlusMenu, where the bug originally was

* Add tests for plus menu

* Refactor tests

* add type in functions and use DMRoomMap#setShared

* use of wrapInMatrixClientContext

* Trigger CI

* Ignore enzyme deprecation in RoomListHeader-test.tsx

Co-authored-by: Estelle Comment <estelle.comment@gmail.com>
Co-authored-by: mcalinghee <mcalinghee.dev@gmail.com>
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2022-08-03 15:19:24 +00:00
..
@types Upgrade dependencies (#8749) 2022-07-13 17:11:19 +01:00
accessibility Remove mock from KeyboardShortcuts.ts (#9034) 2022-07-11 09:56:20 +02:00
actions Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
async-components/views/dialogs Improve link buttons and inline link buttons styling (#8238) 2022-06-29 22:37:34 +00:00
audio Step 8.4.3: Improve PlaybackQueue listener efficiency 2022-03-28 14:02:31 -06:00
autocomplete Use "frequently used emojis" for autocompletion in composer (#8998) 2022-07-21 15:27:11 +02:00
components Remove "Add Space" button from RoomListHeader when user cannot create spaces (#9129) 2022-08-03 15:19:24 +00:00
contexts Disable redacting reactions if we don't have sufficient permissions (#8767) 2022-06-10 18:41:05 +00:00
customisations Respect filename field on m.file events (#8951) 2022-06-30 16:22:52 +01:00
dispatcher Add Reply in thread button to the right-click message context-menu (#9004) 2022-07-23 12:13:49 +00:00
editor Fix replying using chat effect commands (#9101) 2022-07-27 11:03:25 +01:00
effects Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
emojipicker Auto fix 2021-10-22 17:23:37 -05:00
events Fix pinned messages not re-linkifying on edit (#9042) 2022-07-12 07:27:45 +01:00
hooks The Welcome Home Screen: Dedicated Download Apps Dialog (#9120) 2022-08-02 16:08:02 +02:00
i18n/strings Translations update from Weblate (#9127) 2022-08-02 16:16:53 +01:00
indexing Document what all of our "Pegs" are (just singletons) (#8510) 2022-05-09 21:34:27 -05:00
integrations Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
mjolnir Send stable m.policy.rule.* events instead of mjolnir-prefixed unstable ones (#8300) 2022-04-13 09:10:55 +01:00
models Add LocalRoom (#9023) 2022-07-11 07:33:37 +02:00
modules Support a module API surface for custom functionality (#8246) 2022-07-05 12:26:44 -06:00
notifications Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
performance Add basic performance testing via Cypress (#8586) 2022-05-17 15:38:45 +01:00
rageshake Consolidate random string generation to make Sonar happier (#8675) 2022-05-24 09:05:11 +01:00
resizer Apply corrections identified by SonarQube (#8457) 2022-05-03 22:04:37 +01:00
settings New User Onboarding Task List (#9083) 2022-07-29 11:43:29 +00:00
stores Merge branch 'develop' of https://github.com/yaya-usman/matrix-react-sdk into favouriteMessages_Panel 2022-07-21 18:16:48 +03:00
toasts Improve link buttons and inline link buttons styling (#8238) 2022-06-29 22:37:34 +00:00
usercontent Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
utils Exclude functional members from DM detection (#9124) 2022-08-01 19:28:33 +02:00
widgets Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
workers
AddThreepid.ts Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
AsyncWrapper.tsx Step 3.2: Stop using getComponent in code 2022-03-28 14:02:31 -06:00
Avatar.ts Wire local room logic (#9078) 2022-07-20 09:26:25 +02:00
BasePlatform.ts Add support for disabling spell checking (#8604) 2022-07-28 08:10:04 +00:00
BlurhashEncoder.ts
boundThreepids.ts Apply corrections identified by SonarQube (#8457) 2022-05-03 22:04:37 +01:00
call-types.ts Step 8.5: Move call event type 2022-03-28 14:02:31 -06:00
CallHandler.tsx Exclude functional members from DM detection (#9124) 2022-08-01 19:28:33 +02:00
ContentMessages.ts Use doMaybeLocalRoomAction (#9038) 2022-07-13 07:56:36 +02:00
createRoom.ts Prepare utils for local rooms (#9084) 2022-07-25 10:17:40 +02:00
DateUtils.ts Live location share - set time limit (#8082) 2022-03-21 12:42:58 +01:00
DecryptionFailureTracker.ts Fix all megolm error reported as unknown (#8916) 2022-06-30 08:55:05 +01:00
DeviceListener.ts Move Enterprise Erin tests from Puppeteer to Cypress (#8569) 2022-05-26 10:12:49 +00:00
Editing.ts Fix issue with redacting via edit composer flow causing stuck editStates (#8184) 2022-03-29 13:33:11 +01:00
email.ts
emoji.ts Upgrade emojibase and twemoji (#7286) 2022-03-23 17:08:34 +00:00
group_helpers.tsx Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
HtmlUtils.tsx Fix pinned messages not re-linkifying on edit (#9042) 2022-07-12 07:27:45 +01:00
IConfigOptions.ts Extract ValidatedServerConfig (#9054) 2022-07-14 15:03:34 +02:00
identifiers.ts
IdentityAuthClient.tsx Make sonar happier (#9114) 2022-07-29 11:01:15 +00:00
ImageUtils.ts Run a minor code quality checker over the repo (#8524) 2022-05-09 22:52:05 +00:00
index.ts Step 6: Refactor event rendering to stop using getComponent 2022-03-28 14:02:31 -06:00
KeyBindingsDefaults.ts Apply corrections identified by SonarQube (#8457) 2022-05-03 22:04:37 +01:00
KeyBindingsManager.ts Apply corrections identified by SonarQube (#8457) 2022-05-03 22:04:37 +01:00
Keyboard.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
languageHandler.tsx Support a module API surface for custom functionality (#8246) 2022-07-05 12:26:44 -06:00
Lifecycle.ts Port remaining Puppeteer tests over to Cypress (#9104) 2022-07-29 14:03:25 +00:00
linkify-matrix.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
Livestream.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
Login.ts Fix crash on null idp for SSO buttons (#8650) 2022-05-20 10:08:57 +01:00
Markdown.ts Apply corrections identified by SonarQube (#8457) 2022-05-03 22:04:37 +01:00
MatrixClientPeg.ts New User Onboarding Task List (#9083) 2022-07-29 11:43:29 +00:00
MediaDeviceHandler.ts Add ability to change audio and video devices during a call (#7173) 2022-05-04 16:41:56 +02:00
Modal.tsx Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
NodeAnimator.tsx Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
Notifier.ts New User Onboarding Task List (#9083) 2022-07-29 11:43:29 +00:00
PageTypes.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
PasswordReset.ts Allow user to control if they are signed out of all devices when changing password (#8259) 2022-04-22 18:15:38 +01:00
phonenumber.ts
PlatformPeg.ts Fix PlatformSettingsHandler always returning true due to returning a Promise (#8954) 2022-06-30 14:48:21 +00:00
PosthogAnalytics.ts Update matrix-analytics-events to @matrix-org/analytics-events (#8778) 2022-06-07 20:08:36 +01:00
PosthogTrackers.ts Implement Use Case Selection screen (#8984) 2022-07-13 15:43:44 +02:00
Presence.ts Auto fix 2021-10-22 17:23:37 -05:00
Registration.tsx Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
Resend.ts Cancel pending events in virtual room when call placed (#7583) 2022-01-20 09:32:15 +00:00
Roles.ts
RoomAliasCache.ts
RoomInvite.tsx Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
RoomNotifs.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
Rooms.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
ScalarAuthClient.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
ScalarMessaging.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
SdkConfig.ts Fix incorrect typing on SdkConfig defaults (#8147) 2022-03-25 09:13:26 -06:00
Searching.ts Auto fix 2021-10-22 17:23:37 -05:00
SecurityManager.ts Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
SendHistoryManager.ts Auto fix 2021-10-22 17:23:37 -05:00
sendTimePerformanceMetrics.ts Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
sentry.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
shouldHideEvent.ts Fix regression of edits showing up in the timeline with hidden events shown (#8260) 2022-04-08 12:10:10 +01:00
SlashCommands.tsx Make sonar happier (#9114) 2022-07-29 11:01:15 +00:00
Terms.ts Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
TextForEvent.tsx use isLocationEvent util everywhere (#8551) 2022-05-10 17:39:28 +02:00
theme.ts Replace deprecated String#substr with String#slice (#8314) 2022-04-14 07:52:42 +00:00
Unread.ts dont trigger unread counts for beacon location events (#9071) 2022-07-18 14:23:24 +00:00
UserActivity.ts
UserAddress.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
verification.ts Prepare utils for local rooms (#9084) 2022-07-25 10:17:40 +02:00
Views.ts Implement Use Case Selection screen (#8984) 2022-07-13 15:43:44 +02:00
VoipUserMapper.ts Prepare utils for local rooms (#9084) 2022-07-25 10:17:40 +02:00
WhoIsTyping.ts