Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
3d1937e
fix: color for do not deploy
eshankvaish Jan 14, 2025
324b55b
feat: add token for shimmer loader
eshankvaish Jan 14, 2025
c2cad4e
feat: add support for theming in app metrics
eshankvaish Jan 14, 2025
2682198
feat: add svg__no-override to svg images
eshankvaish Jan 14, 2025
0712fd8
feat: add stroke hex to var map
eshankvaish Jan 14, 2025
67dbd92
feat: add color map for fill
eshankvaish Jan 14, 2025
abec348
fix: specificity issue
eshankvaish Jan 14, 2025
0c32a81
fix: update n100 hex code
eshankvaish Jan 14, 2025
1f191d0
Merge branch 'develop' of github.com:devtron-labs/dashboard into feat…
eshankvaish Jan 14, 2025
ca83cd7
fix: loading card alignment issue
eshankvaish Jan 14, 2025
6863a16
fix: color variable name changes
eshankvaish Jan 14, 2025
549c928
fix: slack logo
eshankvaish Jan 15, 2025
ac95082
fix: svg specifity issue
eshankvaish Jan 15, 2025
f5678e5
fix: chart ground bg color
eshankvaish Jan 15, 2025
e574505
fix: clean up fill map
eshankvaish Jan 15, 2025
049651e
fix: clean up fill map
eshankvaish Jan 15, 2025
042326a
feat: comment out the fill variables
eshankvaish Jan 15, 2025
7f75919
refactor: remove unused classes
eshankvaish Jan 15, 2025
20d10a4
fix: icon color
eshankvaish Jan 15, 2025
e010e11
fix: linked ci pipeline select
eshankvaish Jan 15, 2025
9502ba8
feat: style the date picker
eshankvaish Jan 15, 2025
a0e20f8
fix: hover color
eshankvaish Jan 15, 2025
026ce0e
fix: remove ts ignore
eshankvaish Jan 15, 2025
f141f6b
fix: plugin icon
eshankvaish Jan 15, 2025
7579bb9
fix: deploy status icon
eshankvaish Jan 15, 2025
b3673bc
fix: node detail issues
eshankvaish Jan 15, 2025
2e28f75
fix: datadog icon
eshankvaish Jan 15, 2025
6e81ad8
feat: add color mapping
eshankvaish Jan 15, 2025
9ac4ab9
fix: hex for webhook
eshankvaish Jan 15, 2025
5346dd3
fix: update the icon for new relic
eshankvaish Jan 15, 2025
f74f900
fix: icon theming
eshankvaish Jan 15, 2025
8ee3c8c
feat: add v50
eshankvaish Jan 15, 2025
4778e68
feat: add icon mapping
eshankvaish Jan 15, 2025
2e8af4f
fix: github icon in dark mode
eshankvaish Jan 15, 2025
19a7c54
fix: focus state for cta secondary
eshankvaish Jan 15, 2025
c156a09
feat: replace button in global dc
eshankvaish Jan 15, 2025
ade7dfc
feat: add dark mode images
eshankvaish Jan 15, 2025
fa5c869
refactor: remove unused class
eshankvaish Jan 15, 2025
b1d437b
feat: use variable for transparent
eshankvaish Jan 15, 2025
9462d84
fix: unnecessary comment
eshankvaish Jan 15, 2025
ade00b1
feat: add data-style-override on specific styles
eshankvaish Jan 15, 2025
f7ac5c2
fix: decrease the specificity for global icon styling
eshankvaish Jan 15, 2025
cfc5960
doc: add comment
eshankvaish Jan 15, 2025
6df1abb
feat: update the sidenav logo bg
eshankvaish Jan 15, 2025
a7c7beb
feat: update the token for dark mode bg
eshankvaish Jan 15, 2025
042dcc7
fix: update the color in index.css
eshankvaish Jan 15, 2025
46570ec
doc: add comment
eshankvaish Jan 15, 2025
61c63bc
Merge branch 'develop' of github.com:devtron-labs/dashboard into feat…
eshankvaish Jan 16, 2025
c468b28
refactor: remove unused icons
eshankvaish Jan 16, 2025
45cf724
feat: update the color palette
eshankvaish Jan 16, 2025
cf71544
fix: webhook tippy card
eshankvaish Jan 16, 2025
ee27419
feat: update the y series of colors
eshankvaish Jan 16, 2025
42b8e77
fix: shimmer loading class
eshankvaish Jan 16, 2025
23c003a
fix: text spacing issue
eshankvaish Jan 16, 2025
a1f02c0
fix: opacity issue
eshankvaish Jan 17, 2025
7c2d706
chore: bump version for common lib
eshankvaish Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

/* TODO: Comment when theming goes live on production */
/* @media (prefers-color-scheme: dark) {
--bg-tertiary: #0d0f1c;
--bg-devtron-loader: #172433;
--fill-devtron-loader: #74B5FF;
--bg-tertiary: #15161F;
--bg-devtron-loader: #28364c;
--fill-devtron-loader: #6195d2;
} */
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"homepage": "/dashboard",
"dependencies": {
"@devtron-labs/devtron-fe-common-lib": "1.5.1",
"@devtron-labs/devtron-fe-common-lib": "1.5.2",
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
"@rjsf/core": "^5.13.3",
"@rjsf/utils": "^5.13.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

import { ACCESS_TYPE_MAP, EntityTypes, SelectPickerOptionType } from '@devtron-labs/devtron-fe-common-lib'
import { StylesConfig } from 'react-select'
import { SELECT_ALL_VALUE } from '../../../../../../config'
import { ActionTypes, authorizationSelectStyles } from '../../../constants'
import { getDefaultStatusAndTimeout } from '../../../libUtils'
Expand Down Expand Up @@ -72,10 +73,10 @@ export enum DirectPermissionFieldName {
status = 'status',
}

export const roleSelectStyles = {
export const roleSelectStyles: StylesConfig = {
...authorizationSelectStyles,
valueContainer: (base) => ({
...authorizationSelectStyles.valueContainer(base),
valueContainer: (base, state) => ({
...authorizationSelectStyles.valueContainer(base, state),
display: 'flex',
flexWrap: 'nowrap',
textOverflow: 'ellipsis',
Expand Down
4 changes: 2 additions & 2 deletions src/Pages/GlobalConfigurations/Authorization/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export const authorizationSelectStyles = {
..._selectStyles.control(base, state),
height: '36px',
}),
valueContainer: (base) => ({
..._selectStyles.valueContainer(base),
valueContainer: (base, state) => ({
..._selectStyles.valueContainer(base, state),
maxHeight: '100%',
}),
option: (base, state) => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import { ReactComponent as Upload } from '@Icons/ic-upload.svg'
import { Button } from '@devtron-labs/devtron-fe-common-lib'
import { UploadButtonProps } from '../types'

const UploadButton = ({ handleOpenUploadChartModal }: UploadButtonProps) => (
<button
type="button"
<Button
text="Upload Chart"
startIcon={<Upload />}
onClick={handleOpenUploadChartModal}
data-testid="upload-custom-chart-button"
className="cta h-32 flex"
>
<Upload className="icon-dim-14 dc__no-svg-fill mr-8" />
Upload Chart
</button>
dataTestId="upload-custom-chart-button"
/>
)

export default UploadButton
4 changes: 2 additions & 2 deletions src/Pages/Shared/LinkedCIDetailsModal/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export const environmentFilterDropdownStyles = {
height: 32,
minHeight: 32,
}),
menu: (base) => ({
...commonStyles.menu(base),
menu: (base, state) => ({
...commonStyles.menu(base, state),
zIndex: 5,
}),
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import { getRandomColor } from '@devtron-labs/devtron-fe-common-lib'
import { ReactComponent as ICDevtron } from '../../../assets/icons/ic-devtron-blue-outline.svg'
import './organizationFrame.scss'

const OrganizationFrame = () => (
<div className="w-36 h-42 dc__no-shrink flexbox dc__position-rel dc__content-center">
Expand All @@ -30,7 +31,7 @@ const OrganizationFrame = () => (
</span>
</div>

<ICDevtron className="icon-dim-20 dc__no-shrink dc__position-abs dc__bottom-0" />
<ICDevtron className="icon-dim-20 dc__no-shrink dc__position-abs dc__bottom-0 organization-frame__logo" />
</div>
)

Expand Down
7 changes: 7 additions & 0 deletions src/Pages/Shared/OrganizationFrame/organizationFrame.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.organization-frame {
&__logo {
> path:first-child {
fill: var(--bg-sidebar);
}
}
}
2 changes: 1 addition & 1 deletion src/assets/gif/ic-no-eligible-commit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 0 additions & 28 deletions src/assets/ic-info-filled-border.svg

This file was deleted.

5 changes: 5 additions & 0 deletions src/assets/icons/dark/ic-bulk-check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/icons/dark/ic-checkbox-hover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/assets/icons/dark/ic-checkbox-intermediate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/icons/dark/ic-checkbox-selected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/dark/ic-checkbox-unselected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/assets/icons/dark/ic-github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/assets/icons/git/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/assets/icons/ic-bulk-check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/icons/ic-checkbox-hover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions src/assets/icons/ic-checkbox-intermediate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/assets/icons/ic-checkbox-selected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/assets/icons/ic-checkbox-unselected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/icons/ic-datadog.png
Binary file not shown.
4 changes: 4 additions & 0 deletions src/assets/icons/ic-datadog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/icons/ic-newrelic.png
Binary file not shown.
5 changes: 5 additions & 0 deletions src/assets/icons/ic-newrelic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions src/assets/icons/ic-plugin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/assets/icons/ic-secure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading