[MM-62669] Updates to cloud specific imagery in system console (#29963)
* Updates to cloud specific imagery in system console * Revert something from images * Fix linter * Updates from PR feedback * Fix lint * Add svg * Lint fixes, update another SVG * change to pre-existing already-themed version of svg * change the folder of the file * add file * Adjust styling
Этот коммит содержится в:
@@ -35,7 +35,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.BillingHistory__cardBody {
|
.BillingHistory__cardBody {
|
||||||
padding: 20px;
|
padding: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BillingHistory__noHistory {
|
.BillingHistory__noHistory {
|
||||||
@@ -53,7 +53,6 @@
|
|||||||
|
|
||||||
.BillingHistory__noHistory-link {
|
.BillingHistory__noHistory-link {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-bottom: 40px;
|
|
||||||
color: var(--sys-button-bg);
|
color: var(--sys-button-bg);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ interface NoBillingHistorySectionProps {
|
|||||||
export const NoBillingHistorySection = (props: NoBillingHistorySectionProps) => (
|
export const NoBillingHistorySection = (props: NoBillingHistorySectionProps) => (
|
||||||
<div className='BillingHistory__noHistory'>
|
<div className='BillingHistory__noHistory'>
|
||||||
<EmptyBillingHistorySvg
|
<EmptyBillingHistorySvg
|
||||||
width={300}
|
width={152}
|
||||||
height={210}
|
height={116}
|
||||||
/>
|
/>
|
||||||
<div className='BillingHistory__noHistory-message'>
|
<div className='BillingHistory__noHistory-message'>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ const messages = defineMessages({
|
|||||||
export const noBillingHistory = (
|
export const noBillingHistory = (
|
||||||
<div className='BillingSummary__noBillingHistory'>
|
<div className='BillingSummary__noBillingHistory'>
|
||||||
<EmptyBillingHistorySvg
|
<EmptyBillingHistorySvg
|
||||||
height={167}
|
height={116}
|
||||||
width={234}
|
width={152}
|
||||||
/>
|
/>
|
||||||
<div className='BillingSummary__noBillingHistory-title'>
|
<div className='BillingSummary__noBillingHistory-title'>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
|||||||
@@ -92,7 +92,6 @@
|
|||||||
|
|
||||||
.CompanyInfoDisplay__noCompanyInfo-link {
|
.CompanyInfoDisplay__noCompanyInfo-link {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-bottom: 12px;
|
|
||||||
color: var(--sys-button-bg);
|
color: var(--sys-button-bg);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ const addInfoButton = (
|
|||||||
const noCompanyInfoSection = (
|
const noCompanyInfoSection = (
|
||||||
<div className='CompanyInfoDisplay__noCompanyInfo'>
|
<div className='CompanyInfoDisplay__noCompanyInfo'>
|
||||||
<CompanySvg
|
<CompanySvg
|
||||||
width={300}
|
width={170}
|
||||||
height={210}
|
height={149}
|
||||||
/>
|
/>
|
||||||
<div className='CompanyInfoDisplay__noCompanyInfo-message'>
|
<div className='CompanyInfoDisplay__noCompanyInfo-message'>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
@@ -64,7 +64,7 @@ const CompanyInfoDisplay: React.FC = () => {
|
|||||||
|
|
||||||
let body = noCompanyInfoSection;
|
let body = noCompanyInfoSection;
|
||||||
const address = companyInfo?.company_address?.line1 ? companyInfo.company_address : companyInfo?.billing_address;
|
const address = companyInfo?.company_address?.line1 ? companyInfo.company_address : companyInfo?.billing_address;
|
||||||
const isCompanyBillingFilled = address?.line1 !== undefined;
|
const isCompanyBillingFilled = address?.line1 !== undefined && address?.line1 !== '';
|
||||||
if (isCompanyBillingFilled) {
|
if (isCompanyBillingFilled) {
|
||||||
body = (
|
body = (
|
||||||
<div className='CompanyInfoDisplay__companyInfo'>
|
<div className='CompanyInfoDisplay__companyInfo'>
|
||||||
|
|||||||
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@@ -8,11 +8,11 @@ import {useIntl} from 'react-intl';
|
|||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
import useOpenSalesLink from 'components/common/hooks/useOpenSalesLink';
|
import useOpenSalesLink from 'components/common/hooks/useOpenSalesLink';
|
||||||
|
import ChatIllustration from 'components/common/svg_images_components/chat_illustration';
|
||||||
import ExternalLink from 'components/external_link';
|
import ExternalLink from 'components/external_link';
|
||||||
|
|
||||||
import {HostedCustomerLinks} from 'utils/constants';
|
import {HostedCustomerLinks} from 'utils/constants';
|
||||||
|
|
||||||
import BlankCardImage from './blank_card_image.svg';
|
|
||||||
import BuildingSvg from './building.svg';
|
import BuildingSvg from './building.svg';
|
||||||
import TadaSvg from './tada.svg';
|
import TadaSvg from './tada.svg';
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ export function BlankCard() {
|
|||||||
return (
|
return (
|
||||||
<div className='BlankCard'>
|
<div className='BlankCard'>
|
||||||
<div className='image'>
|
<div className='image'>
|
||||||
<BlankCardImage/>
|
{ChatIllustration}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='description'>
|
<div className='description'>
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ import {getSelectedThreadIdInCurrentTeam} from 'selectors/views/threads';
|
|||||||
import {useGlobalState} from 'stores/hooks';
|
import {useGlobalState} from 'stores/hooks';
|
||||||
import LocalStorageStore from 'stores/local_storage_store';
|
import LocalStorageStore from 'stores/local_storage_store';
|
||||||
|
|
||||||
|
import ChatIllustration from 'components/common/svg_images_components/chat_illustration';
|
||||||
import LoadingScreen from 'components/loading_screen';
|
import LoadingScreen from 'components/loading_screen';
|
||||||
import NoResultsIndicator from 'components/no_results_indicator';
|
import NoResultsIndicator from 'components/no_results_indicator';
|
||||||
|
|
||||||
@@ -39,7 +40,6 @@ import {LhsItemType, LhsPage} from 'types/store/lhs';
|
|||||||
import ThreadList, {ThreadFilter, FILTER_STORAGE_KEY} from './thread_list';
|
import ThreadList, {ThreadFilter, FILTER_STORAGE_KEY} from './thread_list';
|
||||||
import ThreadPane from './thread_pane';
|
import ThreadPane from './thread_pane';
|
||||||
|
|
||||||
import ChatIllustration from '../common/chat_illustration';
|
|
||||||
import {useThreadRouting} from '../hooks';
|
import {useThreadRouting} from '../hooks';
|
||||||
import ThreadViewer from '../thread_viewer';
|
import ThreadViewer from '../thread_viewer';
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user