Skip to content

Commit c205edd

Browse files
authored
Merge pull request #2484 from devtron-labs/fix/theming-v3
feat: theming v3
2 parents 77ba48c + c94f25e commit c205edd

File tree

67 files changed

+367
-399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+367
-399
lines changed

.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ SENTRY_PERFORMANCE_ENABLED=false
44
SENTRY_DSN=
55
SENTRY_RELEASE_VERSION=
66
SENTRY_TRACES_SAMPLE_RATE=0.2
7-
HOTJAR_ENABLED=false
87
GA_ENABLED=false
98
GA_TRACKING_ID=
109
GTM_ENABLED=false

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY . .
1616

1717
RUN echo `git rev-parse --short=9 HEAD` > health.html
1818

19-
RUN echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short HEAD)" >> .env
19+
RUN echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short HEAD)\n" >> .env
2020

2121
RUN yarn build
2222

config.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
| HIDE_DEFAULT_CLUSTER | "true" | Hide default cluster |
3232
| HIDE_EXCLUDE_INCLUDE_GIT_COMMITS | "true" | Hide exclude include git commits |
3333
| HIDE_GITOPS_OR_HELM_OPTION | "false" | Enable GitOps and Helm option |
34-
| HOTJAR_ENABLED | "false" | Hotjar integration status |
3534
| LOGIN_DT_LOGO | "" | Devtron logo for login page |
3635
| LOGIN_PAGE_IMAGE | "" | Login page image url |
3736
| LOGIN_PAGE_IMAGE_BG | "" | Login page image background color code |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.7.7",
7+
"@devtron-labs/devtron-fe-common-lib": "1.7.8",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/App.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ import {
4141
reloadLocation,
4242
} from './components/common'
4343
import { UPDATE_AVAILABLE_TOAST_PROGRESS_BG, URLS } from './config'
44-
import Hotjar from './components/Hotjar/Hotjar'
4544
import { validateToken } from './services/service'
4645

4746
const NavigationRoutes = lazy(() => import('./components/common/navigation/NavigationRoutes'))
@@ -351,9 +350,6 @@ export default function App() {
351350
<div id="visible-modal" />
352351
<div id="visible-modal-2" />
353352
<div id="animated-dialog-backdrop" />
354-
{import.meta.env.VITE_NODE_ENV === 'production' &&
355-
window._env_ &&
356-
window._env_.HOTJAR_ENABLED && <Hotjar />}
357353
</BreadcrumbStore>
358354
</ErrorBoundary>
359355
)}

src/Pages/Shared/ConfigMapSecret/helpers.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616

1717
import { Link } from 'react-router-dom'
1818

19-
import { CMSecretExternalType, InfoColourBar, CMSecretComponentType } from '@devtron-labs/devtron-fe-common-lib'
19+
import { CMSecretExternalType, InfoColourBar, CMSecretComponentType, Icon } from '@devtron-labs/devtron-fe-common-lib'
2020

2121
import { ReactComponent as InfoIcon } from '@Icons/info-filled.svg'
22-
import { ReactComponent as InfoIconN7 } from '@Icons/info-filled-n7.svg'
2322
import { URLS } from '@Config/routes'
2423
import { DOCUMENTATION } from '@Config/constants'
2524

@@ -92,7 +91,7 @@ export const renderChartVersionBelow3090NotSupportedText = () => (
9291

9392
export const renderYamlInfoText = () => (
9493
<p className="m-0 py-6 px-10 flex left dc__gap-6 fs-12 lh-20 cn-8 bg__secondary dc__border-top-n1 dc__bottom-radius-4">
95-
<InfoIconN7 className="icon-dim-16 dc__no-shrink" />
94+
<Icon name="ic-info-filled" color={null} size={16} />
9695
<span>
9796
GUI Recommended for multi-line data. Boolean and numeric values must be wrapped in double quotes Eg.
9897
&quot;true&quot;, &quot;123&quot;

src/assets/icons/ic-group-filter-applied.svg

Lines changed: 1 addition & 1 deletion
Loading

src/assets/icons/ic-success.svg

Lines changed: 1 addition & 1 deletion
Loading

src/assets/icons/ic-warning-y5.svg

Lines changed: 1 addition & 1 deletion
Loading

src/assets/icons/ic-warning-y6.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)