diff --git a/openmetadata-ui/src/main/resources/ui/.licenseheaderignore b/openmetadata-ui/src/main/resources/ui/.licenseheaderignore index 72e97cd7e664..6e713bb0f1a8 100644 --- a/openmetadata-ui/src/main/resources/ui/.licenseheaderignore +++ b/openmetadata-ui/src/main/resources/ui/.licenseheaderignore @@ -23,6 +23,7 @@ /docker # Assets +*.gif *.svg *.png *.ico diff --git a/openmetadata-ui/src/main/resources/ui/.prettierignore b/openmetadata-ui/src/main/resources/ui/.prettierignore index 3c09abb68e8f..157d88f3c22b 100644 --- a/openmetadata-ui/src/main/resources/ui/.prettierignore +++ b/openmetadata-ui/src/main/resources/ui/.prettierignore @@ -50,6 +50,7 @@ src/generated/ # Assets +*.gif *.svg *.png *.ico diff --git a/openmetadata-ui/src/main/resources/ui/cypress/support/commands.js b/openmetadata-ui/src/main/resources/ui/cypress/support/commands.js index ade0440f2d20..9bff713af4ed 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/support/commands.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/support/commands.js @@ -81,7 +81,9 @@ Cypress.Commands.add('goToHomePage', (doNotNavigate) => { interceptURL('GET', '/api/v1/feed*', 'feed'); interceptURL('GET', '/api/v1/users/*?fields=*', 'userProfile'); !doNotNavigate && cy.visit('/'); - cy.get('[data-testid="whats-new-alert-card"]').should('be.visible'); + cy.get('[data-testid="whats-new-alert-card"]', { + timeout: 500, // need to add timeout as alert pop-oup card has an 1s of animation to appear on screen + }).should('be.visible'); cy.get('[data-testid="close-whats-new-alert"]').click(); cy.get('[data-testid="whats-new-alert-card"]').should('not.exist'); // verifyResponseStatusCode('@feed', 200); diff --git a/openmetadata-ui/src/main/resources/ui/src/@types/gif.d.ts b/openmetadata-ui/src/main/resources/ui/src/@types/gif.d.ts new file mode 100644 index 000000000000..2fa511e2a38f --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/@types/gif.d.ts @@ -0,0 +1,15 @@ +/* + * Copyright 2022 Collate. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Module declaration to allow importing PNG files +declare module '*.gif'; diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/gif/whats-new-loader.gif b/openmetadata-ui/src/main/resources/ui/src/assets/gif/whats-new-loader.gif new file mode 100644 index 000000000000..a0c3438982ae Binary files /dev/null and b/openmetadata-ui/src/main/resources/ui/src/assets/gif/whats-new-loader.gif differ diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-arrow-right-full.svg b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-arrow-right-full.svg new file mode 100644 index 000000000000..46440eab5ecb --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-arrow-right-full.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-play-button.svg b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-play-button.svg new file mode 100644 index 000000000000..970f56fa555d --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-play-button.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-share.svg b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-share.svg index 8c327d1f36b9..68d2967c547f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-share.svg +++ b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-share.svg @@ -1,6 +1,6 @@ - + - + diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-star-primary.svg b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-star-primary.svg deleted file mode 100644 index 792865f0f9ed..000000000000 --- a/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-star-primary.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-star.svg b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-star.svg index 5b70cb93d8eb..402145b6eb93 100644 --- a/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-star.svg +++ b/openmetadata-ui/src/main/resources/ui/src/assets/svg/ic-star.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedTab/ActivityFeedTab.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedTab/ActivityFeedTab.component.tsx index 9e0c1f425c1c..e98a47b5d686 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedTab/ActivityFeedTab.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedTab/ActivityFeedTab.component.tsx @@ -373,7 +373,7 @@ export const ActivityFeedTab = ({ }}> {' '} {closedTasks}{' '} - {t('label.close')} + {t('label.closed')} )} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Modals/WhatsNewModal/WhatsNewAlert/WhatsNewAlert.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Modals/WhatsNewModal/WhatsNewAlert/WhatsNewAlert.component.tsx index 2431a4cf4cb9..004c9542c2a9 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Modals/WhatsNewModal/WhatsNewAlert/WhatsNewAlert.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Modals/WhatsNewModal/WhatsNewAlert/WhatsNewAlert.component.tsx @@ -10,16 +10,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { Affix, Button, Card, Space, Typography } from 'antd'; +import { Affix, Button, Card, Col, Row, Space, Typography } from 'antd'; import { CookieStorage } from 'cookie-storage'; -import React, { useEffect, useMemo, useState } from 'react'; +import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { useLocation } from 'react-router-dom'; +import { Link, useLocation } from 'react-router-dom'; +import UpdateLoaderGif from '../../../../assets/gif/whats-new-loader.gif'; import { ReactComponent as CloseIcon } from '../../../../assets/svg/close.svg'; -import { ReactComponent as RocketIcon } from '../../../../assets/svg/rocket.svg'; -import { ROUTES } from '../../../../constants/constants'; +import { ReactComponent as RightArrowIcon } from '../../../../assets/svg/ic-arrow-right-full.svg'; +import { ReactComponent as PlayIcon } from '../../../../assets/svg/ic-play-button.svg'; +import { ReactComponent as StarIcon } from '../../../../assets/svg/ic-star.svg'; +import { BLACK_COLOR, ROUTES } from '../../../../constants/constants'; import { useAuth } from '../../../../hooks/authHooks'; -import { Transi18next } from '../../../../utils/CommonUtils'; import { COOKIE_VERSION, LATEST_VERSION_ID, WHATS_NEW } from '../whatsNewData'; import WhatsNewModal from '../WhatsNewModal'; import '../WhatsNewModal.styles.less'; @@ -45,6 +47,31 @@ const WhatsNewAlert = () => { [location.pathname] ); + const onAlertCardClick = useCallback( + () => + setShowWhatsNew({ + alert: false, + modal: true, + }), + [] + ); + + const onModalCancel = useCallback( + () => + setShowWhatsNew({ + alert: false, + modal: false, + }), + [] + ); + + const handleCancel = useCallback(() => { + cookieStorage.setItem(COOKIE_VERSION, 'true', { + expires: getReleaseVersionExpiry(), + }); + onModalCancel(); + }, [cookieStorage, onModalCancel, getReleaseVersionExpiry]); + useEffect(() => { setShowWhatsNew({ alert: cookieStorage.getItem(COOKIE_VERSION) !== 'true', @@ -52,66 +79,64 @@ const WhatsNewAlert = () => { }); }, [isFirstTimeUser]); - const onAlertCardClick = () => { - setShowWhatsNew({ - alert: false, - modal: true, - }); - }; - const onModalCancel = () => { - setShowWhatsNew({ - alert: false, - modal: false, - }); - }; - const handleCancel = (e: React.MouseEvent) => { - e.preventDefault(); - e.stopPropagation(); - cookieStorage.setItem(COOKIE_VERSION, 'true', { - expires: getReleaseVersionExpiry(), - }); - onModalCancel(); - }; - return ( <> {showWhatsNew.alert && isHomePage && ( - + - - - - } - values={{ - version: latestVersion.version, - }} - /> - - + + {t('label.open-metadata-updated')} + } + icon={} type="text" onClick={handleCancel} /> - {latestVersion?.shortSummary ? ( - - {latestVersion?.shortSummary} - - ) : ( - '' - )} + + + +
+ +
+ + + {t('label.whats-new-version', { + version: latestVersion.version, + })} + + + + + + + + +
+ +
+ + {t('label.star-open-metadata')} + + + +
+ + + +
+ +
)} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Modals/WhatsNewModal/WhatsNewModal.styles.less b/openmetadata-ui/src/main/resources/ui/src/components/Modals/WhatsNewModal/WhatsNewModal.styles.less index fce901bdec80..70055819ba12 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Modals/WhatsNewModal/WhatsNewModal.styles.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/Modals/WhatsNewModal/WhatsNewModal.styles.less @@ -37,27 +37,96 @@ background: @white; } +@keyframes scrollIn { + to { + bottom: 24px; + } +} + .whats-new-alert-container { position: fixed; - bottom: 24px; + bottom: -100%; right: 30px; z-index: 1; + background: @white; + animation: scrollIn 2s normal forwards ease-in-out; + animation-delay: 1s; .ant-card { + position: relative; width: 338px; - } - .ant-card-body { - background-color: @primary-color; - border-radius: @border-radius-base; + box-shadow: 0 0 20px rgba(117, 117, 117, 0.3); + padding: 12px; + border-radius: 14px; + border: 1px solid @primary-color; + background: linear-gradient( + 0.9turn, + rgba(9, 80, 197, 0.2), + rgba(255, 255, 255) 40% + ); + overflow: hidden; } .whats-new-alert-header { - color: @white; + color: @primary-color; font-weight: 600; font-size: 16px; } - .whats-new-alert-description { - color: @white; + + .whats-new-alert-content { + .whats-new-alert-sub-header { + color: @black; + font-weight: 500; + font-size: 12px; + } + + .whats-new-alert-content-icon-container { + padding: 0 4px; + border-radius: 4px; + + .whats-new-alert-content-icon { + color: @primary-color; + vertical-align: middle; + width: 15px; + height: 15px; + } + } + + .whats-new-alert-content-icon-arrow { + display: none; + width: 16px; + height: 16px; + color: @text-grey-muted; + } + + &:hover { + .whats-new-alert-sub-header { + text-decoration: underline; + color: @primary-color; + } + + .whats-new-alert-content-icon-container { + background-color: rgba(9, 80, 197, 0.1); + transition: 0.3s ease-in-out; + } + + .whats-new-alert-content-icon-arrow { + display: block; + } + } + } + + .update-icon-container { + position: absolute; + bottom: 0; + right: 0; + transform: translate(35%, 45%) scaleX(-1); + opacity: 0.1; + + .update-icon { + transform: rotate(180deg); + width: 160px; + } } } diff --git a/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts b/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts index ae38ee6799e7..bb30027bcd3a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts +++ b/openmetadata-ui/src/main/resources/ui/src/constants/constants.ts @@ -40,6 +40,7 @@ export const GRAYED_OUT_COLOR = '#CCCCCC'; export const GREEN_COLOR = '#28A745'; export const GREEN_COLOR_OPACITY_30 = '#28A74530'; export const BORDER_COLOR = '#0000001a'; +export const BLACK_COLOR = '#000000'; export const DEFAULT_CHART_OPACITY = 1; export const HOVER_CHART_OPACITY = 0.3; diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json index 9c498256cd81..0cdc863b719a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json @@ -144,6 +144,7 @@ "client-x509-certificate-url": "URL des X509-Zertifikats des Clients", "close": "Schließen", "close-with-comment": "Mit Kommentar schließen", + "closed": "Closed", "closed-lowercase": "geschlossen", "closed-task-plural": "Geschlossene Aufgaben", "closed-this-task-lowercase": "diese Aufgabe schließen", @@ -689,6 +690,7 @@ "open-lowercase": "öffnen", "open-metadata": "OpenMetadata", "open-metadata-logo": "OpenMetadata-Logo", + "open-metadata-updated": "OpenMetadata Updated!", "open-metadata-url": "OpenMetadata-URL", "operation-plural": "Operationen", "option": "Option", @@ -940,6 +942,7 @@ "sql-uppercase-query": "SQL-Abfrage", "sso-uppercase": "SSO", "stage-file-location": "Speicherort der Bühnendatei", + "star-open-metadata": "Star OpenMetadata", "star-us-on-github": "Sterne uns auf Github", "start-date-time-zone": "Startdatum ({{timeZone}})", "start-elasticsearch-docker": "Elasticsearch Docker starten", @@ -1133,6 +1136,7 @@ "week": "Woche", "weekly-usage": "Wöchentliche Verwendung", "whats-new": "Neuigkeiten", + "whats-new-version": "What's New ({{version}})", "widget": "Widget", "widget-lowercase": "widget", "workflow-plural": "Workflows", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json index 8583aa7aedc2..ccbb26bbbe21 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json @@ -144,6 +144,7 @@ "client-x509-certificate-url": "Client x509 Certificate URL", "close": "Close", "close-with-comment": "Close with Comment", + "closed": "Closed", "closed-lowercase": "closed", "closed-task-plural": "Closed Tasks", "closed-this-task-lowercase": "closed this task", @@ -689,6 +690,7 @@ "open-lowercase": "open", "open-metadata": "OpenMetadata", "open-metadata-logo": "OpenMetadata Logo", + "open-metadata-updated": "OpenMetadata Updated!", "open-metadata-url": "OpenMetadata URL", "operation-plural": "Operations", "option": "Option", @@ -940,6 +942,7 @@ "sql-uppercase-query": "SQL Query", "sso-uppercase": "SSO", "stage-file-location": "Stage File Location", + "star-open-metadata": "Star OpenMetadata", "star-us-on-github": "Star us on Github", "start-date-time-zone": "Start Date: ({{timeZone}})", "start-elasticsearch-docker": "Start Elasticsearch Docker", @@ -1133,6 +1136,7 @@ "week": "Week", "weekly-usage": "Weekly Usage", "whats-new": "What's New", + "whats-new-version": "What's New ({{version}})", "widget": "Widget", "widget-lowercase": "widget", "workflow-plural": "Workflows", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json index 81a726999955..8c1a72672213 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json @@ -144,6 +144,7 @@ "client-x509-certificate-url": "URL de certificado x509 de cliente", "close": "Cerrar", "close-with-comment": "Cerrar con comentario", + "closed": "Closed", "closed-lowercase": "cerrado", "closed-task-plural": "Tareas cerradas", "closed-this-task-lowercase": "cerró esta tarea", @@ -689,6 +690,7 @@ "open-lowercase": "abrir", "open-metadata": "OpenMetadata", "open-metadata-logo": "Logo de OpenMetadata", + "open-metadata-updated": "OpenMetadata Updated!", "open-metadata-url": "OpenMetadata URL", "operation-plural": "Operaciones", "option": "Opción", @@ -940,6 +942,7 @@ "sql-uppercase-query": "Consulta SQL", "sso-uppercase": "SSO", "stage-file-location": "Ubicación del Archivo de Etapa", + "star-open-metadata": "Star OpenMetadata", "star-us-on-github": "Danos una Estrella en Github", "start-date-time-zone": "Fecha de Inicio: ({{timeZone}})", "start-elasticsearch-docker": "Iniciar Elasticsearch Docker", @@ -1133,6 +1136,7 @@ "week": "Semana", "weekly-usage": "Uso semanal", "whats-new": "Novedades", + "whats-new-version": "What's New ({{version}})", "widget": "Widget", "widget-lowercase": "widget", "workflow-plural": "Workflows", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json index b1e37acd864c..15304cc0e932 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json @@ -144,6 +144,7 @@ "client-x509-certificate-url": "URL du Certificat X509 du Client", "close": "Fermer", "close-with-comment": "Fermer avec un Commentaire", + "closed": "Closed", "closed-lowercase": "fermé", "closed-task-plural": "Tâches Clôturées", "closed-this-task-lowercase": "fermer cette tâche", @@ -689,6 +690,7 @@ "open-lowercase": "ouvrir", "open-metadata": "OpenMetadata", "open-metadata-logo": "Logo OpenMetadata", + "open-metadata-updated": "OpenMetadata Updated!", "open-metadata-url": "URL OpenMetadata", "operation-plural": "Opérations", "option": "Option", @@ -940,6 +942,7 @@ "sql-uppercase-query": "Requête SQL", "sso-uppercase": "SSO", "stage-file-location": "Emplacement du Fichier de Staging", + "star-open-metadata": "Star OpenMetadata", "star-us-on-github": "Étoilez-nous sur Github", "start-date-time-zone": "Date de Début ({{timeZone}})", "start-elasticsearch-docker": "Démarrer Docker Elasticsearch", @@ -1133,6 +1136,7 @@ "week": "Semaine", "weekly-usage": "Utilisation Hebdomadaire", "whats-new": "Nouveautés", + "whats-new-version": "What's New ({{version}})", "widget": "Widget", "widget-lowercase": "widget", "workflow-plural": "Workflows", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json index 09a24e853266..31e8c9f1f14c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json @@ -144,6 +144,7 @@ "client-x509-certificate-url": "Client x509 Certificate URL", "close": "閉じる", "close-with-comment": "コメントして閉じる", + "closed": "Closed", "closed-lowercase": "closed", "closed-task-plural": "終了したタスク", "closed-this-task-lowercase": "このタスクを終了する", @@ -689,6 +690,7 @@ "open-lowercase": "開く", "open-metadata": "OpenMetadata", "open-metadata-logo": "OpenMetadataのロゴ", + "open-metadata-updated": "OpenMetadata Updated!", "open-metadata-url": "OpenMetadata URL", "operation-plural": "操作", "option": "オプション", @@ -940,6 +942,7 @@ "sql-uppercase-query": "SQL Query", "sso-uppercase": "SSO", "stage-file-location": "Stage File Location", + "star-open-metadata": "Star OpenMetadata", "star-us-on-github": "Githubプロジェクトにスターを付ける", "start-date-time-zone": "開始日: ({{timeZone}})", "start-elasticsearch-docker": "Elasticsearch Docker をスタート", @@ -1133,6 +1136,7 @@ "week": "週", "weekly-usage": "Weekly Usage", "whats-new": "最新情報", + "whats-new-version": "What's New ({{version}})", "widget": "Widget", "widget-lowercase": "widget", "workflow-plural": "Workflows", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json index 09b62446167d..df0b0d704abd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json @@ -144,6 +144,7 @@ "client-x509-certificate-url": "URL do certificado x509 do cliente", "close": "Fechar", "close-with-comment": "Fechar com comentário", + "closed": "Closed", "closed-lowercase": "fechado", "closed-task-plural": "Tarefas fechadas", "closed-this-task-lowercase": "esta tarefa foi fechada", @@ -689,6 +690,7 @@ "open-lowercase": "abrir", "open-metadata": "OpenMetadata", "open-metadata-logo": "Logo do OpenMetadata", + "open-metadata-updated": "OpenMetadata Updated!", "open-metadata-url": "OpenMetadata URL", "operation-plural": "Operações", "option": "Opção", @@ -940,6 +942,7 @@ "sql-uppercase-query": "Consulta SQL", "sso-uppercase": "SSO", "stage-file-location": "Localização de Arquivo de Estágio", + "star-open-metadata": "Star OpenMetadata", "star-us-on-github": "Nos avalie no Github", "start-date-time-zone": "Data de Início: ({{timeZone}})", "start-elasticsearch-docker": "Iniciar Elasticsearch Docker", @@ -1133,6 +1136,7 @@ "week": "Semana", "weekly-usage": "Uso semanal", "whats-new": "O que há de novo", + "whats-new-version": "What's New ({{version}})", "widget": "Widget", "widget-lowercase": "widget", "workflow-plural": "Workflows", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json index d5f9d88140a3..6ddf4dede7fa 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json @@ -144,6 +144,7 @@ "client-x509-certificate-url": "URL-адрес сертификата клиента x509", "close": "Закрыто", "close-with-comment": "Закрыть с комментарием", + "closed": "Closed", "closed-lowercase": "закрыто", "closed-task-plural": "Закрытые задачи", "closed-this-task-lowercase": "закрыть задачу", @@ -689,6 +690,7 @@ "open-lowercase": "открыть", "open-metadata": "OpenMetadata", "open-metadata-logo": "OpenMetadata Logo", + "open-metadata-updated": "OpenMetadata Updated!", "open-metadata-url": "OpenMetadata URL", "operation-plural": "Операции", "option": "Вариант", @@ -940,6 +942,7 @@ "sql-uppercase-query": "SQL Запрос", "sso-uppercase": "SSO", "stage-file-location": "Расположение файла", + "star-open-metadata": "Star OpenMetadata", "star-us-on-github": "Пометить на Github", "start-date-time-zone": "Дата начала: ({{timeZone}})", "start-elasticsearch-docker": "Запустить Elasticsearch Docker", @@ -1133,6 +1136,7 @@ "week": "Неделя", "weekly-usage": "Еженедельное использование", "whats-new": "Новости", + "whats-new-version": "What's New ({{version}})", "widget": "Widget", "widget-lowercase": "widget", "workflow-plural": "Workflows", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json index f685659098c2..cc2f8e8f7486 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json @@ -144,6 +144,7 @@ "client-x509-certificate-url": "客户端 x509 证书 URL", "close": "关闭", "close-with-comment": "加注释关闭", + "closed": "Closed", "closed-lowercase": "关闭", "closed-task-plural": "已关闭任务", "closed-this-task-lowercase": "关闭此任务", @@ -689,6 +690,7 @@ "open-lowercase": "打开", "open-metadata": "OpenMetadata", "open-metadata-logo": "OpenMetadata Logo", + "open-metadata-updated": "OpenMetadata Updated!", "open-metadata-url": "OpenMetadata URL", "operation-plural": "操作", "option": "选项", @@ -940,6 +942,7 @@ "sql-uppercase-query": "SQL查询", "sso-uppercase": "SSO", "stage-file-location": "临时文件位置", + "star-open-metadata": "Star OpenMetadata", "star-us-on-github": "在 Github 上给我们点赞", "start-date-time-zone": "开始日期:({{timeZone}})", "start-elasticsearch-docker": "启动 Elasticsearch 容器", @@ -1133,6 +1136,7 @@ "week": "周", "weekly-usage": "周使用率", "whats-new": "最新消息", + "whats-new-version": "What's New ({{version}})", "widget": "Widget", "widget-lowercase": "widget", "workflow-plural": "Workflows", diff --git a/openmetadata-ui/src/main/resources/ui/src/styles/app.less b/openmetadata-ui/src/main/resources/ui/src/styles/app.less index 2157e11de38a..27cf8b8206ea 100644 --- a/openmetadata-ui/src/main/resources/ui/src/styles/app.less +++ b/openmetadata-ui/src/main/resources/ui/src/styles/app.less @@ -84,13 +84,9 @@ p { padding: 4px 16px 16px; } -.show-more, -a[href]:not(.button-comp):not(.no-underline):not(.link-text-info), -.link-text { - color: @link-color; - +a, +a.ant-typography { &:hover { - color: @link-color; text-decoration: underline; } @@ -340,7 +336,9 @@ a[href].link-text-grey, } .no-underline { - text-decoration: none; + &:hover { + text-decoration: none; + } } .z-5 { diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/SvgUtils.tsx b/openmetadata-ui/src/main/resources/ui/src/utils/SvgUtils.tsx index fa9dbe0e02a7..f78651f7e5bb 100644 --- a/openmetadata-ui/src/main/resources/ui/src/utils/SvgUtils.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/utils/SvgUtils.tsx @@ -115,7 +115,6 @@ import IconSettingGray from '../assets/svg/ic-settings-gray.svg'; import IconSettingPrimery from '../assets/svg/ic-settings-primery.svg'; import IconSettings from '../assets/svg/ic-settings.svg'; import IconSQLBuilder from '../assets/svg/ic-sql-builder.svg'; -import IconStarPrimary from '../assets/svg/ic-star-primary.svg'; import IconStar from '../assets/svg/ic-star.svg'; import IconContainer from '../assets/svg/ic-storage.svg'; import IconStore from '../assets/svg/ic-store.svg'; @@ -1017,10 +1016,7 @@ const SVGIcons: FunctionComponent = ({ icon, ...props }: Props) => { IconComponent = IconStar; break; - case Icons.STAR_PRIMARY: - IconComponent = IconStarPrimary; - break; case Icons.MENTIONS: IconComponent = IconMentions;