Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
9f46a7e
chore: generic empty list updated
shivani170 May 9, 2025
7387fac
chore: import enabled
shivani170 May 13, 2025
2d10966
chore: export GenericInfoCardListingProps
shivani170 May 13, 2025
3537fa1
chore: version bump
shivani170 May 13, 2025
d93f01c
Merge branch 'develop' into feat/app-clone-flow
shivani170 May 13, 2025
d1e0f4e
chore: separate out loading state component
shivani170 May 13, 2025
135edce
chore: doc link component added
shivani170 May 14, 2025
82a037e
chore: added doc link in tippy customoze
shivani170 May 14, 2025
5c186f8
chore: Documentation constant added in doc link component
shivani170 May 15, 2025
ad5a2aa
chore: modification in the naming of the Doclink
shivani170 May 15, 2025
4c8f1eb
chore: modification in the naming of the Doclink
shivani170 May 15, 2025
f5855bc
chore: size props added in links
shivani170 May 15, 2025
2556b62
chore: Replaced all Doc link anchor with docLink Component
shivani170 May 15, 2025
726d320
chore: type added for documentation link
shivani170 May 15, 2025
7def66d
fix: Update DocLink component to handle isEnterprise prop
shivani170 May 15, 2025
b511695
Merge branch 'develop' into feat/app-clone-flow
shivani170 May 15, 2025
730ab48
chore: Added app icon with background
shivani170 May 16, 2025
6bbe654
feat: add Switch component with customizable shapes and variants
AbhishekA1509 May 16, 2025
0170291
chore: code feedback fixes
shivani170 May 16, 2025
50b9305
Merge branch 'develop' into feat/app-clone-flow
shivani170 May 16, 2025
765eb00
fix: icon background fill change from 500 to 400
shivani170 May 16, 2025
ee0a5c5
chore: generic info card fixes
shivani170 May 16, 2025
0228618
feat: enhance Switch component with size and loading state support
AbhishekA1509 May 18, 2025
cb4315d
feat: enhance Switch component with accessibility improvements and ne…
AbhishekA1509 May 18, 2025
daa9daa
feat: update Switch component styles and improve index exports
AbhishekA1509 May 19, 2025
652b7e1
feat: make ariaLabel required for SwitchProps to enhance accessibility
AbhishekA1509 May 19, 2025
29e6812
Merge branch 'develop' into feat/doc-utm-source
shivani170 May 19, 2025
1eddf38
chore: code refactoring
shivani170 May 19, 2025
2f4ef2f
chore: isExternalLink support for ci external plugins
shivani170 May 19, 2025
ad5e1c3
chore: text fix for documentation in page header
shivani170 May 19, 2025
7fca4fc
chore: isEnterprise tpe moved to page header
shivani170 May 19, 2025
f6900c4
chore: css fixes
shivani170 May 20, 2025
96a5bb2
chore: suggestion fixes
shivani170 May 20, 2025
478600e
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
AbhishekA1509 May 20, 2025
4297876
feat: enhance Switch component with loading state handling and improv…
AbhishekA1509 May 20, 2025
5ff39fc
chore: update version from 1.13.0-pre-6 to 1.13.0-beta-8 in package.j…
AbhishekA1509 May 21, 2025
f314914
feat: improve accessibility and styling in SegmentedControl and Theme…
AbhishekA1509 May 21, 2025
64cc114
feat: enhance SegmentedControl with framer-motion for improved animat…
AbhishekA1509 May 21, 2025
0ca413e
feat: update SegmentedControl to use unique name prop and improve key…
AbhishekA1509 May 21, 2025
42c72eb
feat: simplify Segment and SegmentedControl components by removing un…
AbhishekA1509 May 21, 2025
9541eb3
Merge branch 'develop' into feat/app-clone-flow
shivani170 May 21, 2025
530c0de
chore: version bump
shivani170 May 21, 2025
398bd39
Merge pull request #731 from devtron-labs/feat/app-clone-flow
shivani170 May 21, 2025
720ce39
chore: version bump 1.13.0-pre-9
shivani170 May 21, 2025
95faa76
refactor: rename SwitchProps to DTSwitchProps for consistency across …
AbhishekA1509 May 21, 2025
359d795
Merge pull request #742 from devtron-labs/chore/version-bump-1.13.0-p…
shivani170 May 21, 2025
d3af342
Merge branch 'develop' into feat/doc-utm-source
shivani170 May 21, 2025
efc2597
chore: moved doc link to shared
shivani170 May 21, 2025
b8f0677
chore: type strict
shivani170 May 21, 2025
bb3d3d3
Merge branch 'main' into feat/doc-utm-source
shivani170 May 21, 2025
67d8895
Merge pull request #733 from devtron-labs/feat/doc-utm-source
shivani170 May 22, 2025
016018e
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
AbhishekA1509 May 22, 2025
d0568c2
feat: add spray can icon to the icon library
RohitRaj011 May 22, 2025
59d07cd
feat: add taint documentation link to constants
RohitRaj011 May 22, 2025
b652bde
chore(version): bump to 1.14.0-pre-1
RohitRaj011 May 22, 2025
92681a4
feat: refactor search panel commands and update props for CodeEditor
AbhishekA1509 May 22, 2025
a69a3a8
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
AbhishekA1509 May 23, 2025
33d877e
Merge branch 'main' of https://github.com/devtron-labs/devtron-fe-com…
AbhishekA1509 May 23, 2025
1d790c2
fix: update version to 1.14.1-pre-1 in package.json and package-lock.…
AbhishekA1509 May 23, 2025
0fc09d7
Merge pull request #740 from devtron-labs/fix/segment-control
AbhishekA1509 May 23, 2025
dff22de
feat: DynamicDataTable - update handling of autoFocus on new row add,…
RohitRaj011 May 23, 2025
344b684
feat: DynamicDataTable - update error and delete row icon
RohitRaj011 May 23, 2025
341f896
feat: add email validation function and include email icon
AbhishekA1509 May 23, 2025
df25b04
chore: update version to 1.14.1-beta-1 in package.json and package-lo…
AbhishekA1509 May 23, 2025
b263a1d
feat: add hover color support for Switch component and refactor styles
AbhishekA1509 May 25, 2025
b8f14c0
fix: remove unnecessary keys from loading and icon spans in Switch co…
AbhishekA1509 May 26, 2025
306bd3c
refactor: remove unused SWITCH_VARIANTS and SWITCH_SHAPES constants f…
AbhishekA1509 May 26, 2025
59b3760
feat: add types for sidePanelConfig
RohitRaj011 May 22, 2025
8e77a44
feat: DocLink: enhance component to open non external link in SidePanel
RohitRaj011 May 22, 2025
a1cbe9b
feat: DocLink - add disableSidePanelOpen prop
RohitRaj011 May 22, 2025
4f03159
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
AbhishekA1509 May 26, 2025
07f5fb8
Merge pull request #736 from devtron-labs/feat/switch
AbhishekA1509 May 26, 2025
ff8094a
feat: DocLink - open devtron docs in side panel, open doc links in ne…
RohitRaj011 May 26, 2025
aecbad1
Merge branch 'develop' of github.com:devtron-labs/devtron-fe-common-l…
RohitRaj011 May 26, 2025
803de19
chore(version): bump to 1.14.1-pre-3
RohitRaj011 May 26, 2025
d6268d7
Merge pull request #746 from devtron-labs/feat/revamp-edit-taints-modal
RohitRaj011 May 26, 2025
dbb0b5c
feat: add email regex pattern to constants and refactor email validat…
AbhishekA1509 May 26, 2025
45aad22
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
AbhishekA1509 May 27, 2025
d6f34ba
Merge branch 'develop' of github.com:devtron-labs/devtron-fe-common-l…
RohitRaj011 May 27, 2025
19d5ed0
feat(CodeEditor): add onSearchBarAction prop for enhanced search func…
AbhishekA1509 May 27, 2025
71ff524
feat: add InstallationType enum to Shared/types
RohitRaj011 May 27, 2025
7f35a9c
feat: DocLink - consume isEnterprise from MainContext, remove isEnter…
RohitRaj011 May 27, 2025
ac5ddc2
feat(Helpers): add smoothScrollToTop function for enhanced scrolling …
AbhishekA1509 May 27, 2025
1ee0aa0
feat: update FramerComponents index to include useMotionValue and rem…
RohitRaj011 May 27, 2025
9353dbb
feat: update FramerComponents export to include animate and useMotion…
RohitRaj011 May 27, 2025
1681702
chore: bump version to 1.14.1-beta-2 in package.json and package-lock…
AbhishekA1509 May 27, 2025
590e086
feat: refactor DocLink imports & update related components
RohitRaj011 May 27, 2025
9d9ebea
feat: update DOCUMENTATION links
RohitRaj011 May 27, 2025
9e03d9b
feat: remove LogoutCard, add ProfileMenu, update ThemeSwitcher
RohitRaj011 May 28, 2025
d733252
feat: PageHeader - adjust gap size
RohitRaj011 May 28, 2025
c0b9705
feat: Remove DiffViewer component, use CodeEditor to render collapse …
RohitRaj011 May 27, 2025
8c3c9ec
feat: add delay to reInitHeight call in ResizableTagTextArea for impr…
RohitRaj011 May 27, 2025
b48843d
feat: CodeEditor - increase font size of collapsed lines
RohitRaj011 May 27, 2025
97ec276
feat: remove react-diff-viewer-continued dependency
RohitRaj011 May 27, 2025
33d7682
chore(version): bump to 1.14.1-pre-4
RohitRaj011 May 28, 2025
195a393
Merge pull request #756 from devtron-labs/feat/replace-diff-viewer
RohitRaj011 May 28, 2025
da8cb29
Merge branch 'develop' of github.com:devtron-labs/devtron-fe-common-l…
RohitRaj011 May 28, 2025
896f934
feat: add enterprise and fe-lib availability flags to MainContext
RohitRaj011 May 28, 2025
2ca529c
chore(version): bump to 1.14.1-pre-5
RohitRaj011 May 28, 2025
92b6081
Merge pull request #754 from devtron-labs/feat/open-doc-link
RohitRaj011 May 28, 2025
e9cb532
feat: ActionMenu - remove footer bg, HelpButton - add footer bg
RohitRaj011 May 28, 2025
2a12f97
Merge branch 'develop' of github.com:devtron-labs/devtron-fe-common-l…
RohitRaj011 May 28, 2025
7fa7ac1
feat(CodeEditor): add onSearchBarAction prop with description for sea…
AbhishekA1509 May 28, 2025
3cb0da4
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
AbhishekA1509 May 28, 2025
f2c57f6
refactor: rename search panel callback and update related usages
AbhishekA1509 May 28, 2025
b80e095
fix(FindReplace): ensure onSearchBarAction is always called without o…
AbhishekA1509 May 28, 2025
a8de0e0
feat: ActionMenu - add support for trailing item
RohitRaj011 May 28, 2025
52588c9
feat: HelpButton - open documentation item in side panel
RohitRaj011 May 28, 2025
e0e2b2a
fix: ProfileMenu - closePopover on ThemeSwitch click, on logout
RohitRaj011 May 28, 2025
e7044c4
feat(Icon): add ic-key-enter icon and update icon mapping
AbhishekA1509 May 28, 2025
f06acb7
fix: CodeEditor - adjust search container width and margin
RohitRaj011 May 28, 2025
348e377
fix: review comments
AbhishekA1509 May 29, 2025
37bcb88
fix: Constants - correct DOCUMENTATION_VERSION path
RohitRaj011 May 29, 2025
7629842
fix: Button - add inline-block class to button wrapper for better layout
RohitRaj011 May 29, 2025
769438b
chore: update version to 1.14.1-pre-6 in package.json and package-loc…
AbhishekA1509 May 29, 2025
a5a07ce
Merge pull request #755 from devtron-labs/fix/app-details-manifest-la…
AbhishekA1509 May 29, 2025
5671790
feat: Button, DocLink - add fontWeight prop and update related styles
RohitRaj011 May 29, 2025
5e871a0
fix: CiPipelineSourceConfig - update class names for better text trun…
RohitRaj011 May 29, 2025
ffa19bb
Merge branch 'develop' of https://github.com/devtron-labs/devtron-fe-…
AbhishekA1509 May 29, 2025
8ca7525
chore: update version to 1.14.1-pre-7 in package.json and package-loc…
AbhishekA1509 May 29, 2025
55da28c
Merge pull request #753 from devtron-labs/feat/gatekeeper-magic-link
AbhishekA1509 May 29, 2025
7a91d91
feat: ActionMenu - add support for trailing item - button
RohitRaj011 May 29, 2025
5b37674
fix: Button - simplify tooltipProps typing and improve type safety
RohitRaj011 May 29, 2025
7bc7b72
feat: DevtronLicenseCard - update contact support button to use ancho…
RohitRaj011 May 29, 2025
d6b01a8
feat: Popover, ActionMenu, ProfileMenu - modify popover implementatio…
RohitRaj011 May 29, 2025
dc308fd
feat: Constants - add LICENSE_DASHBOARD_HOME_PAGE constant for licens…
RohitRaj011 May 29, 2025
642ddb9
feat: add ic-arrows-clockwise icon and update icon map
AbhishekA1509 May 29, 2025
39778e2
fix: update default icon color for unchecked switch state
AbhishekA1509 May 30, 2025
410739d
refactor: remove dataTestId prop from Switch component and update dat…
AbhishekA1509 May 30, 2025
aae3375
feat: DocLink - add startIcon prop and update fullWidth default value…
RohitRaj011 May 30, 2025
af74ae3
Merge branch 'main' of https://github.com/devtron-labs/devtron-fe-com…
AbhishekA1509 May 30, 2025
b45262f
chore: update version to 1.14.2-pre-1 in package.json and package-loc…
AbhishekA1509 May 30, 2025
b3cae14
Merge pull request #758 from devtron-labs/feat/ic-arrows-clockwise
AbhishekA1509 May 30, 2025
50a2ca6
feat: SidePanelConfig - add reinitialize flag and update docLink type…
RohitRaj011 May 30, 2025
34db6ac
feat: Constants, ActionMenu, ProfileMenu - add LOGIN URL constant; up…
RohitRaj011 May 30, 2025
42eb207
Merge branch 'develop' of github.com:devtron-labs/devtron-fe-common-l…
RohitRaj011 May 30, 2025
13ddf40
chore(version): bump to 1.14.2-pre-2
RohitRaj011 May 30, 2025
3895156
Merge pull request #757 from devtron-labs/feat/profile-menu
RohitRaj011 May 30, 2025
6597c24
fix: CodeEditor - reinitialize diff view on external value change to …
RohitRaj011 Jun 2, 2025
8fc5048
Merge branch 'develop' of github.com:devtron-labs/devtron-fe-common-l…
RohitRaj011 Jun 2, 2025
4a9c31e
chore(version): bump to 1.14.2-pre-3
RohitRaj011 Jun 2, 2025
212da86
Merge pull request #762 from devtron-labs/fix/diff-viewer
RohitRaj011 Jun 2, 2025
bb9a33b
chore(version): bump to 1.15.0
RohitRaj011 Jun 4, 2025
f96cfc5
fix(CodeEditor): enable drawSelection for improved user experience
RohitRaj011 Jun 4, 2025
1eecf5c
Merge pull request #766 from devtron-labs/rc-merge/v0.37.0
RohitRaj011 Jun 4, 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
88 changes: 27 additions & 61 deletions package-lock.json

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

3 changes: 1 addition & 2 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": "1.14.2",
"version": "1.15.0",
"description": "Supporting common component library",
"type": "module",
"main": "dist/index.js",
Expand Down Expand Up @@ -122,7 +122,6 @@
"qrcode.react": "^4.2.0",
"react-canvas-confetti": "^2.0.7",
"react-dates": "^21.8.0",
"react-diff-viewer-continued": "^3.4.0",
"react-draggable": "^4.4.5",
"react-international-phone": "^4.5.0",
"react-virtualized-sticky-tree": "^3.0.0-beta18",
Expand Down
23 changes: 23 additions & 0 deletions src/Assets/IconV2/ic-app-template.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions src/Assets/IconV2/ic-devtron-app.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/Assets/IconV2/ic-devtron-job.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/IconV2/ic-email.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/IconV2/ic-key-enter.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/IconV2/ic-spray-can.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 added src/Assets/Img/empty-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 4 additions & 11 deletions src/Common/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,10 @@ export const Host = window?.__ORCHESTRATOR_ROOT__ ?? '/orchestrator'

export const DOCUMENTATION_HOME_PAGE = 'https://docs.devtron.ai'
export const DEVTRON_HOME_PAGE = 'https://devtron.ai/'
export const DOCUMENTATION_VERSION = '/v/v0.7'
export const DOCUMENTATION_VERSION = '/devtron/v0.7'
export const DISCORD_LINK = 'https://discord.devtron.ai/'
export const DEFAULT_JSON_SCHEMA_URI = 'https://json-schema.org/draft/2020-12/schema'
export const DOCUMENTATION = {
APP_METRICS: `${DOCUMENTATION_HOME_PAGE}${DOCUMENTATION_VERSION}/usage/applications/app-details/app-metrics`,
APP_TAGS: `${DOCUMENTATION_HOME_PAGE}${DOCUMENTATION_VERSION}/usage/applications/create-application#tags`,
APP_OVERVIEW_TAGS: `${DOCUMENTATION_HOME_PAGE}${DOCUMENTATION_VERSION}/usage/applications/overview#manage-tags`,
BLOB_STORAGE: `${DOCUMENTATION_HOME_PAGE}${DOCUMENTATION_VERSION}/getting-started/install/installation-configuration#configuration-of-blob-storage`,
GLOBAL_CONFIG_BUILD_INFRA: `${DOCUMENTATION_HOME_PAGE}${DOCUMENTATION_VERSION}/global-configurations/build-infra`,
ENTERPRISE_LICENSE: `${DOCUMENTATION_HOME_PAGE}/enterprise-license`,
KUBE_CONFIG: `${DOCUMENTATION_HOME_PAGE}${DOCUMENTATION_VERSION}/usage/resource-browser#running-kubectl-commands-locally`,
TENANT_INSTALLATION: `${DOCUMENTATION_HOME_PAGE}${DOCUMENTATION_VERSION}/usage/software-distribution-hub/tenants`,
}
export const LICENSE_DASHBOARD_HOME_PAGE = 'https://license.devtron.ai/dashboard'

export const PATTERNS = {
STRING: /^[a-zA-Z0-9_]+$/,
Expand All @@ -51,11 +42,13 @@ export const PATTERNS = {
CONFIG_MAP_AND_SECRET_KEY: /^[-._a-zA-Z0-9]+$/,
CONFIGMAP_AND_SECRET_NAME: /^[a-z0-9][a-z0-9-.]*[a-z0-9]$/,
ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: /^[A-Za-z0-9._/-]+$/, // allow alphanumeric,(.) ,(-),(_),(/)
EMAIL: /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
}

const GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP = '/global-config/templates/devtron-apps'

export const URLS = {
LOGIN: '/login',
LOGIN_SSO: '/login/sso',
PERMISSION_GROUPS: '/global-config/auth/groups',
APP: '/app',
Expand Down
Loading
Loading