Skip to content

Commit 5c1b37b

Browse files
vikramdevtronarunjaindevRohitRaj011shivani170Elessar1802
authored
chore: Release candidate v0.19.0 (#327)
* feat: add security modal from fe-lib * refactor: AppStatus - change icon for failed, error state * chore: version bump * chore: menu with modification from select picker * fix: recalculate text truncation logic on re-renders * package lock version bump * chore: version bump * feat: DeploymentConfigDiff - DeploymentConfigDiffNavigation - add support for tabs - DeploymentConfigDiff.utils - add manifest data utils - DeploymentConfigDiffMain - add support for error screen * chore: version bump * feat: add support for install app version id for helm security * chore: version bump * feat: add support for icon button * feat: add negative grey variant * chore: add docs for icon button * feat: show aria label on hover of icon button * chore: bump common lib * feat: add support for image name in execution details api * fix: hover and active for border less neutral and negative grey * chore: version bump * chore: version bump * fix: pseudo state for border less neutral button * refactor: DeploymentConfigDiffNavigation - tab config - navlink to button conversion * chore: version bump * chore: version bump * feat: add support for bitnami chart hidden field * chore: bump version for microcap * feat: add toast manager service * refactor: upgrade react toastify to v9 * chores: icon added in container registry dropdown * fix: styling and type * fix: remove the update available variant * feat: update typing and add default for title * chore: bump version * version bump * fix: specificity for min width in text button * feat: update the min width for button to 64px * fix: min width for button and code clean up * feat: add support for persistant progress bar * chore: bump version * fix: padding specificity for text button * feat: add support for other hidden types * fix: replace close button with icon button * chore: add documentation * chore: add comments * fix: styling for progress bar override * feat: add support for v2 api in vulnerabilities.tsx * fix: height for progress bar * chore: bump version * version bump * chore: update loading * remove optional check * chore: version bump * refactor: replace react toastify with ToastManager.showToast * fix: use onMouseEnter instead to calculate isTextTruncated * chore: version bump * feat: add isToastActive, dismissToast and fix close btn styling * feat: useForm hook * chore: version bump * fix: TagDetails - isPropagateDisabled prop not being used -> added logic to disable propagate change if it is true * fix: use deepEquals from rjsf utils * version bump * chore: version bump * version bump * versioln bump * feat: DeleteComponent - add delete loading and showError in case of error * chore: version bump * fix: truncate toast title on 2 line, update close icon hover state * fix: update the gap for button large * fix: review comments * fix: version comparator by sort order * feat: version bump to 0.3.4 * feat: version bump * fix: DeploymentConfigDiffNavigation - replace custom tab with StyledRadioGroup * feat: add common tooltip content constant & sorting by version in chart selector * feat: TabGroup - add xl size variant, add description support; StatusFilterButton - UI update; Drawer - onClose prop support * chore: version bump * fix: review comments * fix: use in operator only after Object.hasOwn check * feat: merge calls for vulnerability card * refactor: CustomInput - handleOnBlur -> onBlur rename * refactor: Delete Component - deprecate 'setDeleting' * feat: useForm - onFocus, formState, validationMode & documentation with logic refactor * chore: version bump * chore: version bump * feat: add support to disable keybindings in LogResizeButton * chore: version bump * feat: add support for shortcut key combo * feat: StatusFilterButton - add pop-up menu for filters when valid filter count > 4 * chore: version bump * feat: move sidebar and scan-result api to fe-lib * feat: add fallback in execution details api * feat: add null check for execution details api result * feat: TabGroup - tabType 'block' * chore: version bump * chore: version bump * fix: tooltip on hover of fullscreen button * feat: add support to expand all log accordians * fix: remove derived state * chore: wrap array.every operation in useMemo * feat: add support for shortcut key combo tooltip as prop * fix: action defines icon * feat: add support for platform based shortcut combos * chore: version bump * fix: useForm - code logic fix * fix: useForm - dirtyFields and touchedFields logic fix * fix: use react-keybind for logs resize button & expand all logs accordion * fix: StatusFilterButtonComponent - css move from base.scss, TabGroup - remove iconType prop, handling via mixins * feat: add support for extensible shortcut for LogResizeButton * chore: remove unneeded css * chore: update dependency for vite * chore: version bump * feat: remove filter button from fe-common * refactor: TabGroup - refactored Tab Content into helper functions * refactor: TabGroup - getTabIcon function refactor * chore: version bump * chore: move styling of LogResizeButton to common * fix: remove ref logic inside shortcut handlers * chore: version bump * chore: rename prop in LogResizeButton * fix: use dc__no-border instead of dc__transparent on log resize button * fix: redirect on previous url on closing create devtro n app modal * chore: version bump * fix: review comments * fix: js doc comments & logic in tooltip * feat: remove env id prop from image accordion * chore: version bump * chore: drop optional typing from tooltip props * feat: add column for policy in security modal * fix: close icon override * fix: TabGroup: onClick preventDefault when tab is in active state * fix: RJSF - parseSchemaHiddenType logic fix * fix: TabGroup: onClick preventDefault when tab is in active state * fix: update icons in security modal * fix: TabGroup: onClick null check --------- Co-authored-by: arunjaindev <arun.jain@devtron.ai> Co-authored-by: Rohit Raj <rohit.raj@devtron.ai> Co-authored-by: shivani170 <shivani@devtron.ai> Co-authored-by: Amrit Borah <elessar1802@gmail.com> Co-authored-by: Eshank Vaish <eshank@devtron.ai> Co-authored-by: Arun Jain <arun-devtron@Aruns-MacBook-Pro.local> Co-authored-by: Amrit Kashyap Borah <66767648+Elessar1802@users.noreply.github.com> Co-authored-by: Shivani Bhatt <61836271+shivani170@users.noreply.github.com> Co-authored-by: Arun Jain <157310160+arunjaindev@users.noreply.github.com>
1 parent 50346e7 commit 5c1b37b

File tree

134 files changed

+4887
-1292
lines changed

Some content is hidden

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

134 files changed

+4887
-1292
lines changed

.eslintrc.cjs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,24 @@ module.exports = {
108108
'import/no-cycle': 'off',
109109
'import/prefer-default-export': 'off',
110110
'no-restricted-exports': 'off',
111-
'import/named': 'off'
111+
'import/named': 'off',
112112
},
113113
overrides: [
114114
{
115115
files: ['*.ts', '*.tsx'],
116116
rules: {
117117
'no-undef': 'off',
118+
'no-restricted-imports': [
119+
'error',
120+
{
121+
paths: [
122+
{
123+
name: 'react-toastify',
124+
message: 'Please use "ToastManager.showToast" instead.',
125+
}
126+
],
127+
},
128+
],
118129
},
119130
},
120131
],

package-lock.json

Lines changed: 43 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "0.3.0-patch-1",
3+
"version": "0.3.18",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",
@@ -64,16 +64,15 @@
6464
"prettier": "^3.1.1",
6565
"react-ga4": "^1.4.1",
6666
"react-mde": "^11.5.0",
67-
"react-toastify": "^8.2.0",
67+
"react-toastify": "9.1.3",
6868
"typescript": "5.5.4",
69-
"vite": "5.4.2",
69+
"vite": "5.4.6",
7070
"vite-plugin-dts": "4.0.3",
7171
"vite-plugin-lib-inject-css": "2.1.1",
7272
"vite-plugin-svgr": "^2.4.0",
7373
"vite-tsconfig-paths": "5.0.1"
7474
},
7575
"peerDependencies": {
76-
"react-select": "5.8.0",
7776
"@rjsf/core": "^5.13.3",
7877
"@rjsf/utils": "^5.13.3",
7978
"@rjsf/validator-ajv8": "^5.13.3",
@@ -84,18 +83,21 @@
8483
"react-dom": "^17.0.2",
8584
"react-draggable": "^4.4.5",
8685
"react-ga4": "^1.4.1",
86+
"react-keybind": "^0.9.4",
8787
"react-mde": "^11.5.0",
8888
"react-router": "^5.3.0",
8989
"react-router-dom": "^5.3.0",
90+
"react-select": "5.8.0",
9091
"rxjs": "^7.8.1",
9192
"yaml": "^2.4.1"
9293
},
9394
"dependencies": {
9495
"@types/react-dates": "^21.8.6",
9596
"ansi_up": "^5.2.1",
97+
"dayjs": "^1.11.13",
9698
"fast-json-patch": "^3.1.1",
97-
"react-dates": "^21.8.0",
9899
"jsonpath-plus": "^9.0.0",
100+
"react-dates": "^21.8.0",
99101
"react-monaco-editor": "^0.54.0",
100102
"sass": "^1.69.7",
101103
"tslib": "2.7.0"
@@ -109,7 +111,7 @@
109111
"monaco-editor": "0.44.0"
110112
},
111113
"vite-plugin-svgr": {
112-
"vite": "5.4.2"
114+
"vite": "5.4.6"
113115
}
114116
}
115117
}

src/Assets/Icon/ic-bug.svg

Lines changed: 7 additions & 0 deletions
Loading
Lines changed: 19 additions & 0 deletions
Loading

src/Assets/Icon/ic-close.svg

Lines changed: 2 additions & 2 deletions
Loading

src/Assets/Icon/ic-collapse-all.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Assets/Icon/ic-error.svg

Lines changed: 4 additions & 0 deletions
Loading

src/Assets/Icon/ic-expand-all.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Assets/Icon/ic-expand.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)