mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-19 07:17:38 +00:00
fix(ui): domain styling color in the title if provided (#13697)
* supported domain styling color in title if provided * fix on data product page * fix: allow dot in mentions allowed char --------- Co-authored-by: karanh37 <karanh37@gmail.com>
This commit is contained in:
parent
a72fcec57f
commit
c81c98286d
@ -469,9 +469,10 @@ const DataProductsDetailsPage = ({
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
serviceName=""
|
serviceName=""
|
||||||
|
titleColor={dataProduct.style?.color}
|
||||||
/>
|
/>
|
||||||
</Col>
|
</Col>
|
||||||
<Col className="p-x-md" flex="280px">
|
<Col className="p-x-md" flex="320px">
|
||||||
<div style={{ textAlign: 'right' }}>
|
<div style={{ textAlign: 'right' }}>
|
||||||
{!isVersionsView && dataProductPermission.Create && (
|
{!isVersionsView && dataProductPermission.Create && (
|
||||||
<Button
|
<Button
|
||||||
|
@ -546,9 +546,10 @@ const DomainDetailsPage = ({
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
serviceName=""
|
serviceName=""
|
||||||
|
titleColor={domain.style?.color}
|
||||||
/>
|
/>
|
||||||
</Col>
|
</Col>
|
||||||
<Col className="p-x-md" flex="280px">
|
<Col className="p-x-md" flex="320px">
|
||||||
<div style={{ textAlign: 'right' }}>
|
<div style={{ textAlign: 'right' }}>
|
||||||
{!isVersionsView && domainPermission.Create && (
|
{!isVersionsView && domainPermission.Create && (
|
||||||
<Dropdown
|
<Dropdown
|
||||||
|
@ -36,7 +36,7 @@ export const confirmStateInitialValue = {
|
|||||||
isThread: false,
|
isThread: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const MENTION_ALLOWED_CHARS = /^[A-Za-z0-9_]*$/;
|
export const MENTION_ALLOWED_CHARS = /^[A-Za-z0-9_.]*$/;
|
||||||
export const MENTION_DENOTATION_CHARS = ['@', '#'];
|
export const MENTION_DENOTATION_CHARS = ['@', '#'];
|
||||||
|
|
||||||
export const TOOLBAR_ITEMS = [
|
export const TOOLBAR_ITEMS = [
|
||||||
|
@ -90,6 +90,7 @@ const BasicSignUp = () => {
|
|||||||
name="firstName"
|
name="firstName"
|
||||||
rules={[{ whitespace: true, required: true }]}>
|
rules={[{ whitespace: true, required: true }]}>
|
||||||
<Input
|
<Input
|
||||||
|
autoFocus
|
||||||
placeholder={t('label.enter-entity-name', {
|
placeholder={t('label.enter-entity-name', {
|
||||||
entity: t('label.first-lowercase'),
|
entity: t('label.first-lowercase'),
|
||||||
})}
|
})}
|
||||||
|
@ -125,6 +125,7 @@ const SignUp = () => {
|
|||||||
},
|
},
|
||||||
]}>
|
]}>
|
||||||
<Input
|
<Input
|
||||||
|
autoFocus
|
||||||
data-testid="full-name-input"
|
data-testid="full-name-input"
|
||||||
placeholder={t('label.your-entity', {
|
placeholder={t('label.your-entity', {
|
||||||
entity: t('label.full-name'),
|
entity: t('label.full-name'),
|
||||||
|
@ -628,15 +628,19 @@ const TagsPage = () => {
|
|||||||
className=" text-primary"
|
className=" text-primary"
|
||||||
data-testid="add-classification"
|
data-testid="add-classification"
|
||||||
disabled={!createClassificationPermission}
|
disabled={!createClassificationPermission}
|
||||||
icon={<PlusIcon className="anticon" />}
|
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setIsAddingClassification((prevState) => !prevState);
|
setIsAddingClassification((prevState) => !prevState);
|
||||||
}}>
|
}}>
|
||||||
<span>
|
<div className="d-flex items-center justify-center">
|
||||||
{t('label.add-entity', {
|
<PlusIcon className="anticon" />
|
||||||
entity: t('label.classification'),
|
<Typography.Text
|
||||||
})}
|
className="p-l-xss"
|
||||||
</span>
|
ellipsis={{ tooltip: true }}>
|
||||||
|
{t('label.add-entity', {
|
||||||
|
entity: t('label.classification'),
|
||||||
|
})}
|
||||||
|
</Typography.Text>
|
||||||
|
</div>
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Space>
|
</Space>
|
||||||
|
@ -225,6 +225,7 @@ const SigninPage = () => {
|
|||||||
requiredMark={false}
|
requiredMark={false}
|
||||||
rules={[{ required: true }]}>
|
rules={[{ required: true }]}>
|
||||||
<Input
|
<Input
|
||||||
|
autoFocus
|
||||||
placeholder={
|
placeholder={
|
||||||
isAuthProviderLDAP
|
isAuthProviderLDAP
|
||||||
? t('label.email')
|
? t('label.email')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user