Skip to content

Commit

Permalink
MM-42267: Update browse channel UI (mattermost#23532)
Browse files Browse the repository at this point in the history
* update more_channels for ui and show all channels

* update searchable channel list

* fix style

* fix tests

* fix style for delete icon

* fix failing tests

* fix style

* remove dot

* remove header button

* put back header button

* Fix duplicate keys in CombinedSystemMessage component (mattermost#23507)

* MM-52873 : Switch to npm's 'reselect' for Playbooks (mattermost#23396)

* Enable golangci-lint (attempt 2) (mattermost#23517)


This time we are just using the Makefile command
to see if that makes a difference
```release-note
NONE
```

* MM-52888 Always load users mentioned in message attachments (mattermost#23460)

Co-authored-by: Mattermost Build <build@mattermost.com>

* Prepare: run E2E smoketests with GitHub actions (mattermost#23301)

- Port E2E testing scripts from cypress-ui-automation
- Move server to docker-compose, move E2E images to ecrpublic
* Integrate General channel renaming, fixes
- Add local automation-dashboard
- Add readme
- Add E2E smoketests
- Bump postgres to 12

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>

* MM-47064/MM-34345/MM-47072 Remove inheritance from Suggestion components and migrate to TS (mattermost#23455)

* MM-47064 Remove inheritance from Suggestion components

* Address feedback

* Fix users without DM channels not appearing in the channel switcher

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* MM-52544 Fix missing reply bar mention highlight (mattermost#23534)

* MM-52513: fixes deleting a reply (mattermost#23177)

* MM-52513: fixes deleting a reply

Currently when we receive a WS event for a reply being deleted we might
accidentally push it to a wrong team's store. This might happen if the
thread is already loaded in store and we are viewing another team.
In that case we were fetching the thread from the API using the team id
of the current team. The API returns the thread, even though the team id
is not the one which the thread belongs to.

This commit is fixing the above issue by getting the team id in which
the thread belongs to, or current team id in the case of DM/GM messages,
and using that to fetch the thread from the API.

PS: the fetching is needed since we don't send a thread_update WS event
upon deleting a reply, and we need to get the new participants list.

* Fixes team id on another occasion

* Refactors a bit

* Reverts returning empty string as team id

* Refactor a bit to pass the post as argument

---------

Co-authored-by: Kyriakos Ziakoulis <koox00@Kyriakoss-MacBook-Pro.local>
Co-authored-by: Kyriakos Ziakoulis <koox00@192.168.2.3>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>

* Avoid calling the user count query in future if we get a count > 0 (mattermost#23545)

* Avoid calling the user count query in future if we get a count > 0

* re-adding mock session to avoid adding the old mitigation in future

* adjustments based on feedback

* MM-52365 - fix JS error banner (mattermost#23501)

* MM-52365 - fix js error banner

* add null type to bindings as an optional type

* Make used of typed atomic.Pointer (mattermost#23550)

* Make save_post_spec less affected by other E2E tests (mattermost#23541)

* Revert "Prepare: run E2E smoketests with GitHub actions (mattermost#23301)" (mattermost#23553)

This reverts commit 68be3a6.

* adding debug log when executing query (mattermost#23559)

* server/docker-compose.yml: updates to run HA in local after monorepo (mattermost#23552)

* [MM-52919] Remove all uses of window.desktop.version from webapp (mattermost#23558)

Co-authored-by: Mattermost Build <build@mattermost.com>

* [MM-21096] webapp: Migrate "components/suggestion/search_channel_with_permissions_provider.jsx" to Typescript (mattermost#23323)

* migrate to ts

* linting

* fix test

* refactor

* Remove accidental comments from merge

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>

* fix server ci after renaming the project (mattermost#23576)

* Temporarily let AdvancedLoggingConfig take precedence over AdvancedLoggingJSON (mattermost#23578)

* Temporarily let AdvancedLoggingConfig take precedence over AdvancedLoggingJSON

* Repo name ci fixes (mattermost#23569)

* mattermost-server -> mattermost

* mattermost-server -> mattermost

* Empty-Commit

* Empty-Commit

* Empty-Commit

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Akis Maziotis <akis.maziotis@mattermost.com>

* MM-51585 : Fix duplicated date separator in center channel when Pinned posts RHS is open (mattermost#23068)

* Fix references from 'packages/*' to 'platform/*' in READMEs (mattermost#23498)

* [MM-52541] Mark files as deleted along with thread (mattermost#23226)

* mark thread files as deleted

* add missing check

* improve query

* Stopped rendering post preview if post is deleted

* Fixed lint error

* Fixed test

* updated types

* Removed deleted post from other post's embed data

* Added tests

* Apply suggestions from code review

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* lint fix

---------

Co-authored-by: Konstantinos Pittas <konstantinos.pittas@mattermost.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>

* MM-52476 Fix guest users access to playbooks. (mattermost#23279)

* Fix guest users access to playbooks.

* Fix guest access.

* Add guests list restriction.

* Update PULL_REQUEST_TEMPLATE.md to include Jira ticket for contributors (mattermost#23589)

* [MM-52836] : Migrate "components/admin_console/admin_definition_constants.jsx" to TypeScript (mattermost#23566)

* MM-52297 Fix reactions disappearing with search open and add testing utilities (mattermost#23510)

* MM-52297 Fix reactions disappearing when search is open

* Add unit tests and extra utilities

* Fix typing issue

* MM-53002: Fix ESR CI (mattermost#23599)

* Do not use the mattermost path

The /mattermost path is used by the image and it seems to conflict with
the container running the binary

* Use a regular machine in the esr-upgrade-diff job

* Add missing space

* [MM-52955] Fix panic for not found posts (mattermost#23561)

* [MM-52973] Avoid thundering herd problem in IsFirstUserAccount (mattermost#23549)

* [MM-45802] Clear CRT notification on deleted reply (mattermost#23568)

* reduce the counter on post deletion

* add test

* change translations

* fix collecting mentions for DMs

* add translation texts

* extract logic for getting mentions

* send WS event

* add e2e tests

* tidy mod

* WIP

* Deleting notification async

* Fixed a unit test

* Added more tests

* Updated i18n

* CI

* mattermost-server -> mattermost

* mattermost-server -> mattermost

---------

Co-authored-by: Konstantinos Pittas <konstantinos.pittas@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>

* Includes mmctl into the mono-repo (mattermost#23091)

* Includes mmctl into the mono-repo

* Update to use the new public module paths

* Adds docs check to the mmctl CI

* Fix public utils import path

* Tidy up modules

* Fix linter

* Update CI tasks to use the new file structure

* Update CI references

* [MM-30432]: Allow users to specify different desktop notification sounds per channel (mattermost#21671)

* [MM-44165]: When Help link is left blank Help Resources option should not be visible in the help menu (mattermost#23609)

* Clean up at .github due to repo rename (mattermost#23580)

* update .github after repo rename

* update

* Update PULL_REQUEST_TEMPLATE.md

---------

Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>

* MM-52819 : "medical_symbol", "male_sign" and "female_sign" emojis are broken (mattermost#23538)

* [MM-52979]: Remove code around abandoned MUI modal migration (mattermost#23556)

* Re-export all React Testing Library functions (mattermost#23522)

* Fix panic if JSON null value is passed as channel update (mattermost#23629)

* MM-52818 - create config setting to enable/disable playbooks product (mattermost#23508)

* create config setting to enable/disable playbooks product

* fix to config name

* fix typo

* revert changes to package-lock.json

* update name of test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* [MM-52926] Deprecating work templates (mattermost#23466)

Co-authored-by: Mattermost Build <build@mattermost.com>

* [MM-52839]: Migrate "components/admin_console/remove_file_setting.jsx" to Typescript (mattermost#23565)

* [MM-52833]: Migrate "components/admin_console/multiselect_settings.jsx" to Typescript (mattermost#23542)

* [MM-52835]: Migrate "components/admin_console/settings_group.jsx" and tests to Typescript (mattermost#23563)

* fix typo in index name for idx_teammembers_create_at (mattermost#23632)

* [MM-49989] Pass a context.Context to Client4 methods (mattermost#22922)

* Migrate all method in model/client4.go to accept a context.Context

* Fix th.*Client

* Fix remaining issues

* Empty commit to triger CI

* Fix test

* Add cancellation test

* Test that returned error is context.Canceled

* Fix bad merge

* Update mmctl code

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* Service environment (mattermost#23443)

* fix fileutils.TestFindFile on MacOS

* introduce model.ExternalServiceEnvironment

* pick license public key from external service env

* pick Stripe public key from external service env

* pick Rudder key from external service env

* configure Sentry DSN from external service env

* always log external_service_environment, Unsetenv

* clear faked BuildEnv, improve logging

* strip out unset GOTAGS

* fix Sentry tests

* simplify to just ServiceEnvironment

* relocate ServiceEnvironment in client config

* initialize CWS URLs based on service environment

* unset rudder key for boards dev

* harden service environment to avoid accidental production

* fix TestSentry again

* fix DEFAULT -> ENTERPRISE

* s/dev/test when naming playbooks rudder key

* simplify boards rudder key switch

* use uniform rudderKey variable names

* retain compatibility with existing pipeline

* reduce to just production/test

* unit test with valid test license

* simplify Playbooks telemetry initialization

* restore dev service environment

* emit ServiceEnvironment when running e2e tests

* [MM 22957] webapp a11y: fix sso btns focus issue (mattermost#23326)

* make suggested changes

* added form tag and removed event handler

* fix snapshot

---------

Co-authored-by: Mattermost Build <build@mattermost.com>

* Upgrade docker CI image to 23.0.1 (mattermost#23664)

Automatic Merge

* MM-52995: Fix opening DM/GM thread from thread footer (mattermost#23579)

* MM-52487: fix more playbooks tests (mattermost#23475)

* fix playbooks/channels/rhs/template_spec.js

* fix playbooks/channels/update_request_post_spec.js

* fix playbooks/runs/rdp_rhs_runinfo_spec.js

* fix playbooks/runs/rdp_rhs_statusupdates_spec.js

* remove enableexperimentalfeatures flag in e2e tests

* rdp_main_header_spec: simplify channel loaded assertion

* playbooks rhs participants: fix infinite fetch loop

* improved onboarding skipping

* simplify participants fetching

* Support json.RawMessage in configuration env overrides (mattermost#23610)

* support json.RawMessage in env overrides

* update more_channels for ui and show all channels

* remove header button

* put back header button

* [MM-52979]: Remove code around abandoned MUI modal migration (mattermost#23556)

* fix import

* update snapshot

* Update e2e-tests/cypress/tests/integration/channels/enterprise/accessibility/accessibility_modals_dialogs_spec.js

* fix e2e tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Co-authored-by: mvitale1989 <mvitale1989@hotmail.com>
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Co-authored-by: Kyriakos Z <3829551+koox00@users.noreply.github.com>
Co-authored-by: Kyriakos Ziakoulis <koox00@Kyriakoss-MacBook-Pro.local>
Co-authored-by: Kyriakos Ziakoulis <koox00@192.168.2.3>
Co-authored-by: Ben Cooke <benkcooke@gmail.com>
Co-authored-by: Pablo Andrés Vélez Vidal <pablovv2012@gmail.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Sai Deepesh <saideepesh000@gmail.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Akis Maziotis <akis.maziotis@mattermost.com>
Co-authored-by: Hideaki Matsunami <mahaker@users.noreply.github.com>
Co-authored-by: Konstantinos Pittas <konstantinos.pittas+github@gmail.com>
Co-authored-by: Konstantinos Pittas <konstantinos.pittas@mattermost.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Tejas Karelia <tejas.karelia17@gmail.com>
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: KyeongSoo Kim <gaganso71@korea.ac.kr>
Co-authored-by: Matheus <20505926+MattSilvaa@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Julien Tant <785518+JulienTant@users.noreply.github.com>
Co-authored-by: Karan Mishra <karan.m2704@gmail.com>
Co-authored-by: Judy Hanson <106325339+Esterjudith@users.noreply.github.com>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
  • Loading branch information
37 people authored and Iliès BELDJILALI committed Jun 26, 2023
1 parent 4f14265 commit f7103a8
Show file tree
Hide file tree
Showing 22 changed files with 1,143 additions and 573 deletions.
Expand Up @@ -146,7 +146,7 @@ describe('Leave an archived channel', () => {
cy.get('#showMoreChannels').click();

// # More channels modal opens
cy.get('.more-modal').should('be.visible').within(() => {
cy.get('#moreChannelsModal').should('be.visible').within(() => {
// # Public channel list opens by default
cy.findByText(channelType.public).should('be.visible').click();

Expand Down Expand Up @@ -199,7 +199,7 @@ describe('Leave an archived channel', () => {
cy.get('#showMoreChannels').click();

// # More channels modal opens
cy.get('.more-modal').should('be.visible').within(() => {
cy.get('#moreChannelsModal').should('be.visible').within(() => {
// # Public channels are shown by default
cy.findByText(channelType.public).should('be.visible').click();

Expand Down Expand Up @@ -253,7 +253,7 @@ describe('Leave an archived channel', () => {
cy.get('#showMoreChannels').click();

// # More channels modal opens
cy.get('.more-modal').should('be.visible').within(() => {
cy.get('#moreChannelsModal').should('be.visible').within(() => {
// # Show public channels is visible by default
cy.findByText(channelType.public).should('be.visible').click();

Expand Down
Expand Up @@ -85,8 +85,8 @@ describe('Channels', () => {
});
});

// # Verify that the modal is closed and it's redirected to the selected channel
cy.get('#moreChannelsModal').should('not.exist');
// # Verify that the modal is not closed
cy.get('#moreChannelsModal').should('exist');
cy.url().should('include', `/${testTeam.name}/channels/${testChannel.name}`);

// # Login as channel admin and go directly to the channel
Expand Down
Expand Up @@ -11,8 +11,7 @@
// Group: @channels @channel

function verifyNoChannelToJoinMessage(isVisible) {
cy.findByText('No more channels to join').should(isVisible ? 'be.visible' : 'not.exist');
cy.findByText('Click \'Create New Channel\' to make a new one').should(isVisible ? 'be.visible' : 'not.exist');
cy.findByText('No public channels').should(isVisible ? 'be.visible' : 'not.exist');
}

describe('more public channels', () => {
Expand Down Expand Up @@ -53,7 +52,10 @@ describe('more public channels', () => {
cy.uiBrowseOrCreateChannel('Browse channels').click();

// * Assert that the moreChannelsModel is visible
cy.findByRole('dialog', {name: 'More Channels'}).should('be.visible').within(() => {
cy.findByRole('dialog', {name: 'Browse Channels'}).should('be.visible').within(() => {
// # Click hide joined checkbox
cy.findByText('Hide Joined').should('be.visible').click();

// * Assert that the moreChannelsList is visible and the number of channels is 31
cy.get('#moreChannelsList').should('be.visible').children().should('have.length', 31);

Expand Down Expand Up @@ -86,10 +88,7 @@ describe('more public channels', () => {
cy.uiBrowseOrCreateChannel('Browse channels').click();

// * Assert the moreChannelsModel is visible
cy.findByRole('dialog', {name: 'More Channels'}).should('be.visible').within(() => {
// * Assert the moreChannelsList does have one child
cy.get('#moreChannelsList').should('be.visible').children().should('have.length', 1);

cy.findByRole('dialog', {name: 'Browse Channels'}).should('be.visible').within(() => {
// * Assert that the "No more channels to join" message is visible
verifyNoChannelToJoinMessage(true);
});
Expand Down
Expand Up @@ -68,13 +68,13 @@ describe('Channel sidebar', () => {
cy.get('.AddChannelDropdown .MenuItem:contains(Browse channels) button').should('be.visible').click();

// * Verify that the more channels modal is visible
cy.get('.more-modal').should('be.visible');
cy.get('#moreChannelsModal').should('be.visible');

// Click the Off-Topic channel
cy.get('.more-modal button:contains(Off-Topic)').should('be.visible').click();
cy.findByText('Off-Topic').should('be.visible').click();

// Verify that new channel is in the sidebar and is active
cy.get('.more-modal').should('not.exist');
cy.get('#moreChannelsModal').should('exist');
cy.url().should('include', `/${teamName}/channels/off-topic`);
cy.get('#channelHeaderTitle').should('contain', 'Off-Topic');
cy.get('.SidebarChannel.active:contains(Off-Topic)').should('be.visible');
Expand Down
Expand Up @@ -104,30 +104,26 @@ describe('Verify Accessibility Support in Modals & Dialogs', () => {
cy.uiBrowseOrCreateChannel('Browse channels').click();

// * Verify the accessibility support in More Channels Dialog
cy.findByRole('dialog', {name: 'More Channels'}).within(() => {
cy.findByRole('heading', {name: 'More Channels'});
cy.findByRole('dialog', {name: 'Browse Channels'}).within(() => {
cy.findByRole('heading', {name: 'Browse Channels'});

// * Verify the accessibility support in search input
cy.findByPlaceholderText('Search channels');

cy.waitUntil(() => cy.get('#moreChannelsList').then((el) => {
cy.get('#moreChannelsList').should('be.visible').then((el) => {
return el[0].children.length === 2;
}));
});

// # Hide already joined channels
cy.findByText('Hide Joined').click();

// # Focus on the Create Channel button and TAB twice
cy.get('#createNewChannel').focus().tab().tab();
// # Focus on the Create Channel button and TAB three time
cy.get('#createNewChannelButton').focus().tab().tab().tab();

// * Verify channel name is highlighted and reader reads the channel name and channel description
cy.get('#moreChannelsList').children().eq(0).within(() => {
cy.get('#moreChannelsList').within(() => {
const selectedChannel = getChannelAriaLabel(channel);
cy.findByLabelText(selectedChannel).should('be.focused');

// * Press Tab and verify if focus changes to Join button
cy.focused().tab();
cy.findByText('Join').parent().should('be.focused');

// * Verify previous button should no longer be focused
cy.findByLabelText(selectedChannel).should('not.be.focused');
cy.findByLabelText(selectedChannel).should('be.visible').should('be.focused');
});

// * Press Tab again and verify if focus changes to next row
Expand Down
Expand Up @@ -234,7 +234,7 @@ context('ldap', () => {

// * Search private channel name and make sure it isn't there in public channel directory
cy.get('#searchChannelsTextbox').type(testChannel.display_name);
cy.get('#moreChannelsList').should('include.text', 'No more channels to join');
cy.get('#moreChannelsList').should('include.text', 'No results for');
});

it('MM-T2629 - Private to public - More....', () => {
Expand Down Expand Up @@ -473,7 +473,7 @@ context('ldap', () => {

// * Search private channel name and make sure it isn't there in public channel directory
cy.get('#searchChannelsTextbox').type(publicChannel.display_name);
cy.get('#moreChannelsList').should('include.text', 'No more channels to join');
cy.get('#moreChannelsList').should('include.text', 'No results for');
});
});

Expand Down
2 changes: 1 addition & 1 deletion webapp/channels/src/actions/channel_actions.test.ts
Expand Up @@ -167,7 +167,7 @@ describe('Actions.Channel', () => {
}],
}];

await testStore.dispatch(searchMoreChannels('', false));
await testStore.dispatch(searchMoreChannels('', false, true));
expect(testStore.getActions()).toEqual(expectedActions);
});

Expand Down
6 changes: 2 additions & 4 deletions webapp/channels/src/actions/channel_actions.ts
Expand Up @@ -109,7 +109,7 @@ export function loadChannelsForCurrentUser(): ActionFunc {
};
}

export function searchMoreChannels(term: string, showArchivedChannels: boolean): ActionFunc<Channel[], ServerError> {
export function searchMoreChannels(term: string, showArchivedChannels: boolean, hideJoinedChannels: boolean): ActionFunc<Channel[], ServerError> {
return async (dispatch, getState) => {
const state = getState();
const teamId = getCurrentTeamId(state);
Expand All @@ -121,9 +121,7 @@ export function searchMoreChannels(term: string, showArchivedChannels: boolean):
const {data, error} = await dispatch(ChannelActions.searchChannels(teamId, term, showArchivedChannels));
if (data) {
const myMembers = getMyChannelMemberships(state);

// When searching public channels, only get channels user is not a member of
const channels = showArchivedChannels ? data : (data as Channel[]).filter((c) => !myMembers[c.id]);
const channels = hideJoinedChannels ? (data as Channel[]).filter((channel) => !myMembers[channel.id]) : data;
return {data: channels};
}

Expand Down
Expand Up @@ -7,34 +7,70 @@ exports[`components/SearchableChannelList should match init snapshot 1`] = `
<div
className="filter-row filter-row--full"
>
<div
className="col-sm-12"
<span
aria-hidden="true"
id="searchIcon"
>
<QuickInput
className="form-control filter-textbox"
id="searchChannelsTextbox"
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"render": [Function],
}
<MagnifyIcon
size={18}
/>
</span>
<QuickInput
aria-label="Search Channels"
className="form-control filter-textbox"
clearable={true}
id="searchChannelsTextbox"
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"render": [Function],
}
onInput={[Function]}
placeholder={
Object {
"defaultMessage": "Search channels",
"id": "filtered_channels_list.search",
}
}
onClear={[Function]}
onInput={[Function]}
placeholder={
Object {
"defaultMessage": "Search channels",
"id": "filtered_channels_list.search",
}
/>
}
value=""
/>
</div>
<div
className="more-modal__dropdown"
>
<span
id="channelCountLabel"
>
0 Results
</span>
<div
id="modalPreferenceContainer"
>
<div
id="hideJoinedPreferenceCheckbox"
onClick={[Function]}
>
<button
aria-label="Hide joined channels checkbox, not checked"
className="get-app__checkbox"
/>
<MemoizedFormattedMessage
defaultMessage="Hide Joined"
id="more_channels.hide_joined"
/>
</div>
</div>
</div>
<div
className="more-modal__list"
role="application"
tabIndex={-1}
>
<div
id="moreChannelsList"
tabIndex={-1}
>
<LoadingScreen />
</div>
Expand Down
@@ -0,0 +1,39 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import React, {SVGProps} from 'react';

const SvgComponent = (props: SVGProps<SVGSVGElement>) => (
<svg
width={140}
height={141}
fill='none'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<path
opacity={0.4}
d='M37.593 38.008c4.754-4.815 10.754-7.295 17.989-7.428 7.101.133 13.065 2.601 17.892 7.428 4.815 4.827 7.295 10.791 7.428 17.892-.133 7.235-2.601 13.223-7.428 17.99-4.827 4.754-10.791 7.27-17.892 7.512-7.235-.254-13.223-2.758-17.99-7.513-4.754-4.766-7.258-10.766-7.512-18 .254-7.102 2.758-13.066 7.513-17.881Z'
fill='#fff'
/>
<path
d='M78.887 51.382c-2.151-6.992-6.225-12.225-12.226-15.69-6.001-3.465-12.57-4.376-19.701-2.743-3.9.995-7.297 2.717-10.22 5.162 3.269-3.567 7.415-6.037 12.428-7.416 7.13-1.633 13.732-.703 19.787 2.793s10.161 8.748 12.313 15.74c1.323 5.037 1.257 9.862-.21 14.47-1.454 4.614-4.066 8.49-7.84 11.611 2.833-3.087 4.783-6.713 5.844-10.894 1.05-4.187.991-8.522-.175-13.033Z'
fill='#000'
fillOpacity={0.4}
/>
<path
d='M86.76 53.929c-.508-7.506-3.553-14.097-9.125-19.774-6.346-6.05-13.67-9.08-21.974-9.08-8.303 0-15.616 3.03-21.961 9.08-6.08 6.315-9.126 13.591-9.126 21.855 0 8.262 3.046 15.551 9.126 21.854 5.826 5.556 12.485 8.551 19.967 8.984 7.481.445 14.383-1.611 20.728-6.146l4.75 4.727 6.08-6.05-4.75-4.727c4.69-6.302 6.78-13.218 6.285-20.723Zm-13.126 19.87c-4.823 4.726-10.781 7.228-17.876 7.468-7.228-.252-13.21-2.742-17.973-7.469-4.75-4.727-7.252-10.692-7.506-17.885.254-7.06 2.756-12.99 7.506-17.789 4.75-4.787 10.745-7.252 17.973-7.385 7.095.133 13.053 2.586 17.876 7.385 4.81 4.8 7.288 10.73 7.421 17.79-.133 7.192-2.599 13.157-7.421 17.884Z'
fill='#BABEC9'
/>
<path
d='M106.202 114.187c-1.567.449-2.728.291-3.482-.472L78.06 86.651c-.753-.762-1.064-1.743-.945-2.954.12-1.211.874-2.567 2.262-4.093 1.507-1.393 2.847-2.192 4.044-2.385 1.196-.194 2.165.157 2.92 1.053l26.921 24.957c.753.763.873 1.901.37 3.427-.502 1.525-1.447 3.051-2.823 4.577-1.496 1.526-3.039 2.506-4.607 2.954Z'
fill='#FFBC1F'
/>
<path
d='m108.007 98.343-10.08 10.164-12.154-13.34 8.914-9.106 13.32 12.282Z'
fill='#7A5600'
/>
</svg>
);

export default SvgComponent;

0 comments on commit f7103a8

Please sign in to comment.