Skip to content

Commit

Permalink
chore: Release candidate v0.19.0 (#327)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: Rohit Raj <[email protected]>
Co-authored-by: shivani170 <[email protected]>
Co-authored-by: Amrit Borah <[email protected]>
Co-authored-by: Eshank Vaish <[email protected]>
Co-authored-by: Arun Jain <[email protected]>
Co-authored-by: Amrit Kashyap Borah <[email protected]>
Co-authored-by: Shivani Bhatt <[email protected]>
Co-authored-by: Arun Jain <[email protected]>
  • Loading branch information
10 people authored Oct 3, 2024
1 parent 50346e7 commit 5c1b37b
Show file tree
Hide file tree
Showing 134 changed files with 4,887 additions and 1,292 deletions.
13 changes: 12 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,24 @@ module.exports = {
'import/no-cycle': 'off',
'import/prefer-default-export': 'off',
'no-restricted-exports': 'off',
'import/named': 'off'
'import/named': 'off',
},
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
'no-undef': 'off',
'no-restricted-imports': [
'error',
{
paths: [
{
name: 'react-toastify',
message: 'Please use "ToastManager.showToast" instead.',
}
],
},
],
},
},
],
Expand Down
68 changes: 43 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devtron-labs/devtron-fe-common-lib",
"version": "0.3.0-patch-1",
"version": "0.3.18",
"description": "Supporting common component library",
"type": "module",
"main": "dist/index.js",
Expand Down Expand Up @@ -64,16 +64,15 @@
"prettier": "^3.1.1",
"react-ga4": "^1.4.1",
"react-mde": "^11.5.0",
"react-toastify": "^8.2.0",
"react-toastify": "9.1.3",
"typescript": "5.5.4",
"vite": "5.4.2",
"vite": "5.4.6",
"vite-plugin-dts": "4.0.3",
"vite-plugin-lib-inject-css": "2.1.1",
"vite-plugin-svgr": "^2.4.0",
"vite-tsconfig-paths": "5.0.1"
},
"peerDependencies": {
"react-select": "5.8.0",
"@rjsf/core": "^5.13.3",
"@rjsf/utils": "^5.13.3",
"@rjsf/validator-ajv8": "^5.13.3",
Expand All @@ -84,18 +83,21 @@
"react-dom": "^17.0.2",
"react-draggable": "^4.4.5",
"react-ga4": "^1.4.1",
"react-keybind": "^0.9.4",
"react-mde": "^11.5.0",
"react-router": "^5.3.0",
"react-router-dom": "^5.3.0",
"react-select": "5.8.0",
"rxjs": "^7.8.1",
"yaml": "^2.4.1"
},
"dependencies": {
"@types/react-dates": "^21.8.6",
"ansi_up": "^5.2.1",
"dayjs": "^1.11.13",
"fast-json-patch": "^3.1.1",
"react-dates": "^21.8.0",
"jsonpath-plus": "^9.0.0",
"react-dates": "^21.8.0",
"react-monaco-editor": "^0.54.0",
"sass": "^1.69.7",
"tslib": "2.7.0"
Expand All @@ -109,7 +111,7 @@
"monaco-editor": "0.44.0"
},
"vite-plugin-svgr": {
"vite": "5.4.2"
"vite": "5.4.6"
}
}
}
7 changes: 7 additions & 0 deletions src/Assets/Icon/ic-bug.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/Assets/Icon/ic-caret-left-small.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/Icon/ic-close.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/Icon/ic-collapse-all.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/Icon/ic-error.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/Icon/ic-expand-all.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/Icon/ic-expand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions src/Assets/Icon/ic-info-filled.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: 5 additions & 0 deletions src/Assets/Icon/ic-locked.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/Icon/ic-success.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5c1b37b

Please sign in to comment.