-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into production
- Loading branch information
Showing
23 changed files
with
1,463 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...ngTeamDetails/components/AddMembersDrawer/components/AddMembersTable/addMembersTable.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.add-members-table-wrapper { | ||
.org-member-table { | ||
border: none; | ||
|
||
.org-member-table-header { | ||
padding: 1rem; | ||
border-bottom: 0; | ||
} | ||
|
||
.ant-table-empty .ant-table-tbody > tr.ant-table-placeholder td { | ||
border-bottom: none; | ||
} | ||
} | ||
|
||
.invite-people-btn.ant-btn { | ||
gap: 6px; | ||
} | ||
|
||
.org-members-table-count { | ||
padding-top: 1rem; | ||
} | ||
|
||
.ant-spin-nested-loading > div > .ant-spin { | ||
background: var(--requestly-color-surface-0); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...sDrawer/components/AddMembersTable/components/AddMembersTableActions/orgTableActions.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.billing-team-members-add-btn.ant-btn { | ||
gap: 8px; | ||
color: var(--neutrals-gray-300); | ||
|
||
&:hover, | ||
&:focus, | ||
&:active { | ||
color: var(--white); | ||
border-color: var(--surface-3); | ||
} | ||
} | ||
|
||
.billing-team-members-added-label { | ||
color: var(--neutrals-gray-300); | ||
padding-right: 5px; | ||
|
||
& svg { | ||
position: relative; | ||
top: 3px; | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...wer/components/AddMembersTable/components/EmptyMembersTableView/EmptyMembersTableView.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import React from "react"; | ||
import { RQButton } from "lib/design-system/components"; | ||
import EmptyIcon from "./assets/empty.svg"; | ||
import { trackBillingTeamInviteMemberClicked } from "features/settings/analytics"; | ||
import "./emptyMembersTableView.scss"; | ||
|
||
interface EmptyMembersTableViewProps { | ||
searchValue: string; | ||
toggleInviteFormVisibility: () => void; | ||
} | ||
|
||
export const EmptyMembersTableView: React.FC<EmptyMembersTableViewProps> = ({ | ||
searchValue, | ||
toggleInviteFormVisibility, | ||
}) => { | ||
return ( | ||
<div className="empty-members-table-view"> | ||
<img src={EmptyIcon} alt="empty list" /> | ||
<div className="empty-members-table-title"> | ||
{searchValue.length | ||
? `No user found with email “${searchValue}” in your billing team` | ||
: "You are the first one from your organization"} | ||
</div> | ||
<div className="empty-members-table-description"> | ||
Please click the button below to invite and add members in your billing team. | ||
</div> | ||
<RQButton | ||
className="mt-24" | ||
type="primary" | ||
onClick={() => { | ||
toggleInviteFormVisibility(); | ||
trackBillingTeamInviteMemberClicked("member_not_found"); | ||
}} | ||
> | ||
Invite & add to billing team | ||
</RQButton> | ||
</div> | ||
); | ||
}; |
4 changes: 4 additions & 0 deletions
4
...er/components/AddMembersTable/components/EmptyMembersTableView/assets/empty.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
...er/components/AddMembersTable/components/EmptyMembersTableView/emptyMembersTableView.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.empty-members-table-view { | ||
padding-top: 32px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
.empty-members-table-title { | ||
color: var(--requestly-color-text-default); | ||
font-size: var(--requestly-font-size-lg); | ||
font-weight: 500; | ||
text-align: center; | ||
margin-top: 24px; | ||
} | ||
|
||
.empty-members-table-description { | ||
color: var(--requestly-color-text-subtle); | ||
font-size: var(--requestly-font-size-xs); | ||
margin-top: 8px; | ||
text-align: center; | ||
} | ||
} |
Oops, something went wrong.