Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Service Accounts bugs fixed #68

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
ecd067a
[NEW] Service Account Admin Settings and Configuration files added
bhardwajaditya May 29, 2019
b20c8c7
[NEW] Service Account Admin Settings and Configuration files added
bhardwajaditya May 29, 2019
1c86e17
[NEW] Service Account Admin Settings and Configuration files added
bhardwajaditya May 30, 2019
a4eb682
[NEW] Service Account Admin Settings and Configuration files added
bhardwajaditya May 30, 2019
d2d8c63
Merge pull request #3 from bhardwajaditya/service-account-settings
bhardwajaditya May 31, 2019
388b460
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya May 31, 2019
a7359a4
Service Account Creation dialog added
bhardwajaditya May 31, 2019
de8ec3c
[NEW] Service Account Creation method
bhardwajaditya Jun 2, 2019
285ec83
Service Account owner username update method added
bhardwajaditya Jun 3, 2019
4e2477c
Fixed CLI errors
bhardwajaditya Jun 3, 2019
e5e51dd
Fixed CLI errors
bhardwajaditya Jun 3, 2019
a68a1d3
Service Account creation heading fixed
bhardwajaditya Jun 4, 2019
7aa00ec
Service Account broadcast room callback added
bhardwajaditya Jun 4, 2019
888ea27
Service Account creation method refactored
bhardwajaditya Jun 4, 2019
39387a5
Merge branch 'service-account-creation' of https://github.com/bhardwa…
bhardwajaditya Jun 4, 2019
1c855a8
Service Account Callback completed
bhardwajaditya Jun 4, 2019
7d41db4
Typos fixed
bhardwajaditya Jun 4, 2019
f7e1781
Merge branch 'service-account-creation' of https://github.com/bhardwa…
bhardwajaditya Jun 4, 2019
e4da2a7
CLI errors fixed
bhardwajaditya Jun 4, 2019
8b5a9b5
Merge pull request #4 from bhardwajaditya/service-account-settings
bizzbyster Jun 5, 2019
96f48ab
[NEW] Service Account one-tap login complete
bhardwajaditya Jun 8, 2019
04d1a12
Callbacks modified
bhardwajaditya Jun 8, 2019
3e11eba
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jun 8, 2019
483cc95
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jun 8, 2019
963fdd5
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jun 11, 2019
2bbcae7
Service Accounts directory tab added
bhardwajaditya Jun 12, 2019
b5871ed
Refactored creation method and added tests
bhardwajaditya Jun 15, 2019
574268f
CLI errors fixed
bhardwajaditya Jun 15, 2019
93d7b4b
CLI errors fixed
bhardwajaditya Jun 15, 2019
22a5b9c
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jun 15, 2019
7b10eb5
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jun 15, 2019
6111b49
Bugs fixed
bhardwajaditya Jun 17, 2019
99a43d3
Synchronized with other branches
bhardwajaditya Jun 17, 2019
db08336
Merge branch 'service-account-callbacks' of https://github.com/bhardw…
bhardwajaditya Jun 17, 2019
ea7398a
[NEW] Service Accounts Login method
bhardwajaditya Jun 17, 2019
8a02753
Typo fixed
bhardwajaditya Jun 17, 2019
b8ab554
CLI errors fixed
bhardwajaditya Jun 17, 2019
c245094
CLI errors fixed
bhardwajaditya Jun 17, 2019
7c27c8b
Merge branch 'service-account-login' of https://github.com/bhardwajad…
bhardwajaditya Jun 18, 2019
d904e45
[New] Service Account directory feature
bhardwajaditya Jun 18, 2019
8ba618a
CLI errors fixed
bhardwajaditya Jun 18, 2019
0fe5546
UsernameExists meteor method fixed
bhardwajaditya Jun 18, 2019
c768083
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jun 18, 2019
fb48d5f
Merge pull request #5 from bhardwajaditya/service-account-creation
bhardwajaditya Jun 18, 2019
1a33894
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jun 18, 2019
356ca5d
Sync commit
bhardwajaditya Jun 18, 2019
6211ab6
Sync commit
bhardwajaditya Jun 18, 2019
fac8adf
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jun 18, 2019
f21ad96
Sync commit
bhardwajaditya Jun 18, 2019
57c28fc
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jun 19, 2019
db76fa9
[NEW] Service Account subscription method added
bhardwajaditya Jun 19, 2019
645b6be
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jun 19, 2019
6f06d65
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jun 19, 2019
6809fdd
[NEW] Service Account Broadcast Feature Added
bhardwajaditya Jun 19, 2019
62d6237
[NEW] Service Account Broadcast Feature Added
bhardwajaditya Jun 19, 2019
f3e8ef8
[NEW] Service account subscription sidenav type
bhardwajaditya Jun 19, 2019
46b87f2
Broadcast Room name change handled
bhardwajaditya Jun 26, 2019
0562355
Lint errors fixed
bhardwajaditya Jun 26, 2019
6aa19d3
Merge pull request #6 from bhardwajaditya/service-account-callbacks
bhardwajaditya Jun 27, 2019
c43c3d7
Merged service-accounts branch
bhardwajaditya Jun 27, 2019
c603a51
getLoginToken method refactored
bhardwajaditya Jun 27, 2019
bf05a2d
Console statements removed
bhardwajaditya Jun 27, 2019
73eedd8
Sidebar header permission modified
bhardwajaditya Jun 27, 2019
e6e2229
Merged with upstream develop
bhardwajaditya Jun 27, 2019
e752336
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jun 27, 2019
ab05883
Merge branch service-accounts
bhardwajaditya Jun 27, 2019
68bed0a
Merge branch service-accounts
bhardwajaditya Jun 27, 2019
1dc5d2a
Added service account directory search translation key
bhardwajaditya Jun 27, 2019
fdac5d2
Merge pull request #7 from bhardwajaditya/service-account-login
kb0304 Jun 27, 2019
1b42205
Subscribers count added
bhardwajaditya Jun 27, 2019
bd2811d
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jun 27, 2019
117d725
Merge pull request #8 from bhardwajaditya/service-account-discovery
kb0304 Jun 27, 2019
6ee5e78
Merged service accounts branch
bhardwajaditya Jun 28, 2019
e893a18
[NEW] Service Account sidenav type
bhardwajaditya Jun 28, 2019
ce1f470
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jun 28, 2019
8e87c83
Unread counter added in popver
bhardwajaditya Jun 29, 2019
5a28d41
Get linked service account method added
bhardwajaditya Jul 1, 2019
61bfee3
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jul 1, 2019
b3fc0e4
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jul 1, 2019
e2b41d1
Merged with service-accounts branch
bhardwajaditya Jul 3, 2019
eb1da40
Partial rate limiter added
bhardwajaditya Jul 6, 2019
b6f67a7
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jul 6, 2019
5898d4a
Merge branch 'service-account-sidenav' of https://github.com/bhardwaj…
bhardwajaditya Jul 6, 2019
ae78b30
Merged with service accounts base branch
bhardwajaditya Jul 6, 2019
a0ca489
Added unread counter
bhardwajaditya Jul 8, 2019
38c2630
Fixed CLI errors
bhardwajaditya Jul 10, 2019
6d1144a
Broadcast feature added
bhardwajaditya Jul 10, 2019
edea473
[FIX] Custom status displayed on room leader panel (#14958)
Hudell Jul 11, 2019
7762aaa
[FIX] LDAP login with customField sync (#14808)
magicbelette Jul 11, 2019
d0763c6
[FIX] Prevent error on trying insert message with duplicated id (#14945)
MarcosSpessatto Jul 11, 2019
0e023ee
[FIX] OTR key icon missing on messages (#14953)
ggazzo Jul 11, 2019
ea1c99f
[FIX] Method `getUsersOfRoom` not returning offline users if limit is…
MarcosSpessatto Jul 11, 2019
8397e2d
[IMPROVE] Remove too specific helpers isFirefox() and isChrome() (#14…
tassoevan Jul 11, 2019
ef62371
[FIX] Jump to message missing in Starred Messages (#14949)
ggazzo Jul 11, 2019
564d5d5
[IMPROVE] Update tabs markup (#14964)
tassoevan Jul 11, 2019
183bd02
[FIX] Loading indicator positioning (#14968)
tassoevan Jul 11, 2019
df6f4a4
[FIX] load more messages (#14967)
ggazzo Jul 11, 2019
4efc8b0
[FIX] eternal loading file list (#14952)
ggazzo Jul 11, 2019
d5b1de5
[FIX] 50 custom emoji limit (#14951)
ggazzo Jul 11, 2019
7f88780
Bump jquery from 3.3.1 to 3.4.0 in /packages/rocketchat-livech… (#14922)
dependabot[bot] Jul 11, 2019
f63c9e6
[FIX] Allow storing the navigation history of unregistered Livechat v…
renatobecker Jul 11, 2019
98e5c92
Update GPG key
engelgabriel Jul 11, 2019
e52ddea
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into develop
engelgabriel Jul 11, 2019
de83336
[FIX] Wrong label order on room settings (#14960)
Hudell Jul 11, 2019
7adfeca
[FIX] Chrome doesn't load additional search results when botto… (#14965)
ggazzo Jul 12, 2019
fef5a69
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jul 12, 2019
b395b50
[IMPROVEMENT] patch to improve emoji render (#14722)
ggazzo Jul 12, 2019
bf30d36
Regression: patch to improve emoji render (#14980)
ggazzo Jul 12, 2019
df31cc0
[FIX] Users staying online after logout (#14966)
MarcosSpessatto Jul 12, 2019
7304098
Remove unused dependency (lokijs) (#14973)
tassoevan Jul 12, 2019
443f42f
Bump juice version to 5.2.0 (#14974)
tassoevan Jul 12, 2019
fa13e3c
Bump node-rsa version to 1.0.5 (#14976)
tassoevan Jul 12, 2019
463d7ce
Bump photoswipe version to 4.1.3 (#14977)
tassoevan Jul 12, 2019
052f4ba
Remove unused Meteor dependency (yasinuslu:blaze-meta) (#14971)
tassoevan Jul 12, 2019
95388fe
Bump marked from 0.5.2 to 0.6.1 (#14969)
dependabot[bot] Jul 12, 2019
9ed9f4a
[IMPROVE] Federation routes #14972
d-gubert Jul 12, 2019
9d08dbd
[IMPROVE] Extract federation config to its own file (#14992)
d-gubert Jul 12, 2019
3b98695
Service account configurable approval process
bhardwajaditya Jul 13, 2019
9c2d4ae
Improve Docker compose readability (#14457)
NateScarlet Jul 15, 2019
2e69929
[FIX] Not being able to mention users with "all" and "here" usernames…
hamidrezabstn Jul 15, 2019
cab7c89
[FIX] Custom User Status throttled by rate limiter (#15001)
Hudell Jul 16, 2019
aaae20c
[FIX] CustomOauth Identity Step errors displayed in HTML format (#15000)
Hudell Jul 16, 2019
fab9cb0
Service account message alert added
bhardwajaditya Jul 17, 2019
6b7082c
Lint errors fixed
bhardwajaditya Jul 17, 2019
43374e2
Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat i…
bhardwajaditya Jul 17, 2019
2ae96a1
Merge branch 'social_features_prototype' of https://github.com/WideCh…
bhardwajaditya Jul 17, 2019
869df4c
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jul 17, 2019
93883fc
Merge branch 'service-account-broadcast' of https://github.com/bhardw…
bhardwajaditya Jul 17, 2019
a56fde3
Merge branch 'service-account-approval' of https://github.com/bhardwa…
bhardwajaditya Jul 17, 2019
fb1fbe1
Merged base branch
bhardwajaditya Jul 17, 2019
56616e7
fixed browseChannels method
bhardwajaditya Jul 17, 2019
856680b
fixed browseChannels method
bhardwajaditya Jul 17, 2019
6cfb449
fixed browseChannels method
bhardwajaditya Jul 17, 2019
07469cb
fixed browseChannels method
bhardwajaditya Jul 17, 2019
5e121d7
Service Account Notification fixed
bhardwajaditya Jul 17, 2019
ad3ab31
Merge branch 'service-account-notification' of https://github.com/bha…
bhardwajaditya Jul 17, 2019
6c27702
Service Account Notifications fixed
bhardwajaditya Jul 17, 2019
1a5c38c
[IMPROVE] Add flag to identify remote federation users (#15004)
alansikora Jul 19, 2019
422669f
[FIX] Always displaying jumbomojis when using "marked" markdown (#14861)
Jul 19, 2019
7db9982
relocate some of wizard info to register (#14884)
geekgonecrazy Jul 19, 2019
37527c0
[NEW] Webdav File Picker (#14879)
ubarsaiyan Jul 19, 2019
250e398
[FIX] Invite users auto complete cropping results (#15020)
ggazzo Jul 19, 2019
6a34189
[FIX] Edit permissions screen (#14950)
ggazzo Jul 19, 2019
ae796ac
New: Apps and integrations statistics (#14878)
MarcosSpessatto Jul 19, 2019
c4127e6
[FIX] Livechat dashboard average and reaction time labels (#14845)
anandpathak Jul 19, 2019
0c244c5
[FIX] Edit message with arrow up key if not last message (#15021)
ggazzo Jul 19, 2019
30d671b
[IMPROVE] Connectivity Services License Sync (#15022)
geekgonecrazy Jul 19, 2019
69dd102
Always convert the sha256 password to lowercase on checking (#14941)
MarcosSpessatto Jul 20, 2019
c5083b6
[FIX] SVG uploads crashing process (#15006)
snoopotic Jul 20, 2019
7e30c98
Fix statistics error for apps on first load (#15026)
d-gubert Jul 21, 2019
4446fb0
[NEW] Setting to configure custom authn context on SAML requests (#14…
Hudell Jul 21, 2019
ac7ac5b
[NEW] Accept multiple redirect URIs on OAuth Apps (#14935)
Hudell Jul 21, 2019
49feadc
[NEW] Settings to further customize GitLab OAuth (#15014)
Hudell Jul 21, 2019
4c82251
Add missing French translation (#15013)
lmopi Jul 21, 2019
b758df7
[FIX] users.setStatus REST endpoint not allowing reset status message…
cardoso Jul 21, 2019
841a2ce
[NEW] Options to filter discussion and livechat on Admin > Rooms (#15…
ggazzo Jul 21, 2019
12da545
[FIX] Typo in german translation (#14833)
Le-onardo Jul 21, 2019
78052fc
Wrong text when reporting a message (#14515)
zdumitru Jul 21, 2019
051e993
[FIX] Message attachments not allowing float numbers (#14412)
MarcosSpessatto Jul 21, 2019
3f5bdec
Fix russian grammatical errors in i18n (#14622)
ya7on Jul 21, 2019
d022df2
[NEW] Deprecate MongoDB version 3.2 (#15025)
rodrigok Jul 21, 2019
3fb0cca
[NEW] Subscription enabled marketplace (#14948)
d-gubert Jul 21, 2019
5ef8125
[NEW] Show helpful error when oplog is missing (#14954)
justinr1234 Jul 21, 2019
ac22939
Merge branch 'service-accounts' of https://github.com/bhardwajaditya/…
bhardwajaditya Jul 21, 2019
1d57519
Merge pull request #9 from bhardwajaditya/service-account-sidenav
bhardwajaditya Jul 21, 2019
ec6580d
Merge pull request #11 from bhardwajaditya/service-account-broadcast
bhardwajaditya Jul 21, 2019
a94ec5d
Merge pull request #12 from bhardwajaditya/service-account-approval
bhardwajaditya Jul 21, 2019
1b4b75f
Merged with upstream develop
bhardwajaditya Jul 21, 2019
e7aae46
Service Account bugs fixed
bhardwajaditya Jul 21, 2019
c0ea99e
Service Account bugs fixed
bhardwajaditya Jul 21, 2019
a9313ad
Login bug fixed
bhardwajaditya Jul 23, 2019
1579a5a
Merge pull request #13 from bhardwajaditya/bugs
bhardwajaditya Jul 23, 2019
0277bbe
Merge branch 'social_features_prototype' of https://github.com/WideCh…
bhardwajaditya Jul 24, 2019
1952642
Bugs fixed
bhardwajaditya Jul 24, 2019
6367e84
Lint errors fixed
bhardwajaditya Jul 24, 2019
f6853bc
Logout callbacks added
bhardwajaditya Jul 24, 2019
406823b
Service account logout fixed
bhardwajaditya Jul 25, 2019
e39bb70
Lint errors fixed
bhardwajaditya Jul 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ rocketchat:i18n@0.0.1
rocketchat:livechat@0.0.1
rocketchat:mongo-config@0.0.1
rocketchat:monitoring@2.30.2_3
rocketchat:oauth2-server@2.0.0
rocketchat:oauth2-server@2.1.0
rocketchat:push@3.3.1
rocketchat:streamer@1.0.2
rocketchat:version@1.0.0
Expand Down
31 changes: 31 additions & 0 deletions app/api/server/v1/roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Match, check } from 'meteor/check';

import { Roles } from '../../../models';
import { API } from '../api';
import { getUsersInRole, hasPermission } from '../../../authorization/server';

API.v1.addRoute('roles.list', { authRequired: true }, {
get() {
Expand Down Expand Up @@ -55,3 +56,33 @@ API.v1.addRoute('roles.addUserToRole', { authRequired: true }, {
});
},
});

API.v1.addRoute('roles.getUsersInRole', { authRequired: true }, {
get() {
const { roomId, role } = this.queryParams;
const { offset, count = 50 } = this.getPaginationItems();

const fields = {
name: 1,
username: 1,
emails: 1,
};

if (!role) {
throw new Meteor.Error('error-param-not-provided', 'Query param "role" is required');
}
if (!hasPermission(this.userId, 'access-permissions')) {
throw new Meteor.Error('error-not-allowed', 'Not allowed');
}
if (roomId && !hasPermission(this.userId, 'view-other-user-channels')) {
throw new Meteor.Error('error-not-allowed', 'Not allowed');
}
const users = getUsersInRole(role, roomId, {
limit: count,
sort: { username: 1 },
skip: offset,
fields,
}).fetch();
return API.v1.success({ users });
},
});
2 changes: 1 addition & 1 deletion app/api/server/v1/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ API.v1.addRoute('users.setStatus', { authRequired: true }, {
}

Meteor.runAsUser(user._id, () => {
if (this.bodyParams.message) {
if (this.bodyParams.message || this.bodyParams.message.length === 0) {
setStatusText(user._id, this.bodyParams.message);
}
if (this.bodyParams.status) {
Expand Down
51 changes: 51 additions & 0 deletions app/apps/assets/stylesheets/apps.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.rc-apps-section,
.rc-apps-marketplace {
display: flex;

Expand Down Expand Up @@ -300,6 +301,12 @@

height: 100vh;

margin-top: 20px;

& .rc-form-filters {
margin: 8px 0;
}

& .js-sort {
cursor: pointer;

Expand All @@ -321,6 +328,50 @@
font-size: 1rem;
}
}

& tbody .rc-table-tr:not(.table-no-click):not(.table-no-pointer):hover {
background-color: #f7f8fa;
}

& .rc-table-info {
margin: 0;
justify-content: center;

& .rc-table-title,
& .rc-table-subtitle {
font-size: 0.875rem;
line-height: 1.25rem;
}

& .rc-apps-categories {
display: flex;

height: 1.25rem;
margin: 0 -0.25rem;
align-items: center;
flex-wrap: wrap;

& .rc-apps-category {
overflow: hidden;
flex: 0 0 auto;

box-sizing: border-box;
margin: 0.125rem 0.25rem;
padding: 0.0625rem 0.25rem;

text-transform: none;
text-overflow: ellipsis;

color: #9da1a8;
border-radius: 9999px;
background-color: #eef0f3;

font-size: 0.625rem;
font-weight: 500;
line-height: 0.875rem;
}
}
}
}

@media (width <= 700px) {
Expand Down
147 changes: 147 additions & 0 deletions app/apps/client/admin/appManage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
#rocket-chat .content .rc-apps-details {
&__content {
justify-content: flex-start;
}

&__app-name {
flex: 0 0 1.75rem;

margin: 0;

letter-spacing: 0;
text-transform: none;

color: rgb(84, 88, 94);

font-family: inherit;
font-size: 1.375rem;
font-weight: normal;
line-height: 1.75rem;
}

&__app-info {
display: flex;
flex: 0 0 1.25rem;
flex-wrap: nowrap;

> span::after {
display: inline-block;

width: 1px;
height: 12px;
margin: 0 8px;

content: '';

background: rgb(203, 206, 209);
}

> span:last-child::after {
display: none;

content: none;
}
}

&__app-author {
letter-spacing: -0.2px;

color: rgb(158, 162, 168);

font-family: inherit;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}

&__app-version {
letter-spacing: -0.2px;

color: rgb(158, 162, 168);

font-family: inherit;
font-size: 14px;
font-weight: normal;
line-height: 20px;
}

&__app-status {
display: flex;
flex: 1;

margin-top: 8px;
align-items: center;
}

&__app-install-status {
display: flex;

height: 40px;

letter-spacing: 0;

color: rgb(158, 162, 168);

font-family: inherit;
font-size: 14px;
font-weight: 500;
align-items: center;
flex-wrap: nowrap;

& > .rc-icon {
color: var(--rc-color-button-primary);
}
}

&__app-price {
letter-spacing: -0.2px;

color: rgb(157, 161, 168);

font-family: inherit;
font-size: 14px;
font-weight: normal;
line-height: 20px;

&::before {
display: inline-block;

width: 1px;
height: 12px;
margin: 0 16px;

content: '';

background: rgb(203, 206, 209);
}
}

&__app-button-wrapper {
flex: 1;
}

& .rc-button.loading {
padding: 0 1.5rem;

opacity: 0.6;

&::before {
display: none;
}

& > .rc-icon {
animation: spin 1s linear infinite;
}
}

&__app-menu-trigger {
padding: 0;

&::before {
display: inline-block;
flex: 1;

content: '';
}
}
}
Loading