Skip to content

feat: command bar #2881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 159 commits into from
Aug 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
ee5ad7d
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Jul 8, 2025
122aa40
fix: move states inside BranchRegexModal
AbhishekA1509 Jul 10, 2025
cd88dfb
wip: base structure of BuildImageModal
AbhishekA1509 Jul 10, 2025
240f8ea
feat: add footer, trigger api, change branch modal
AbhishekA1509 Jul 11, 2025
f5452b0
feat: add base git info material and webhook info modal
AbhishekA1509 Jul 14, 2025
72c4c43
refactor: remove unused CI material and webhook components
AbhishekA1509 Jul 15, 2025
c210318
Refactor Trigger View Context and Types
AbhishekA1509 Jul 15, 2025
2a788f2
feat: enhance BuildImageModal and GitInfoMaterial with improved props…
AbhishekA1509 Jul 16, 2025
32bb1bc
feat: update BuildImageModal and GitInfoMaterial for improved materia…
AbhishekA1509 Jul 16, 2025
2704e6c
Fix GitInfoMaterial state management for selected material
AbhishekA1509 Jul 16, 2025
cc48b1e
fix: correct condition for displaying eligible commits in EmptyStateC…
AbhishekA1509 Jul 21, 2025
7b0cf72
feat: add prompt for unsaved changes and enhance button disable logic…
AbhishekA1509 Jul 21, 2025
4d7a069
refactor: update import statements for BuildImageModal and organize c…
AbhishekA1509 Jul 21, 2025
7af7b5f
feat: Enhance Build Image Modal with Bulk CI Support
AbhishekA1509 Jul 22, 2025
94614bf
feat: Replace BulkCITrigger with BulkBuildImageModal in EnvTriggerView
AbhishekA1509 Jul 22, 2025
4806159
fix: correct condition for CI material handling and enhance safety ch…
AbhishekA1509 Jul 22, 2025
1f68821
feat: refactor BranchRegexModal to use form submission for saving reg…
AbhishekA1509 Jul 23, 2025
8e1e76a
feat: implement bulk CI material handling and enhance UI components f…
AbhishekA1509 Jul 23, 2025
dfffa8f
fix: self review
AbhishekA1509 Jul 23, 2025
a13f089
feat: add reloadWorkflowStatus prop to BulkBuildImageModal and update…
AbhishekA1509 Jul 23, 2025
b3699cd
feat: enhance BulkBuildImageModal and GitInfoMaterial for improved er…
AbhishekA1509 Jul 24, 2025
4aff42b
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Jul 24, 2025
338c144
feat: add appId prop to GitInfoMaterialProps and update BuildImageMod…
AbhishekA1509 Jul 24, 2025
2f58a86
feat: enhance BuildImageModal and related components with improved er…
AbhishekA1509 Jul 24, 2025
e651d6e
feat: add isOptionSelected prop to EnvironmentList for improved selec…
AbhishekA1509 Jul 24, 2025
462905d
feat: refactor BranchRegexModal to use utility function for initial r…
AbhishekA1509 Jul 25, 2025
c6773ca
fix: update on clicks and common functions
arunjaindev Jul 25, 2025
ab92624
feat: Resource Browser - Nodes Manifest - add unsaved changes prompt,…
RohitRaj011 Jul 25, 2025
e4c171b
feat: extract on click rollback cd and approval common logic
arunjaindev Jul 25, 2025
32d520b
fix: use approval on click
arunjaindev Jul 25, 2025
577f5bf
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Jul 28, 2025
f1b0411
fix: update @devtron-labs/devtron-fe-common-lib version from 1.18.1-p…
AbhishekA1509 Jul 28, 2025
d166788
Merge branch 'fix/trigger-view' of https://github.com/devtron-labs/da…
arunjaindev Jul 28, 2025
1cc4945
fix: disable button when material is loading in GitInfoMaterial compo…
AbhishekA1509 Jul 28, 2025
7b61b2d
feat: ResourceListTable - update UI for cpu and memory usage
RohitRaj011 Jul 28, 2025
15d0336
feat: add base structure for DeployImageModal
AbhishekA1509 Jul 28, 2025
4c17d53
feat: ResourceListTable - add tooltip for cpu and memory usage
RohitRaj011 Jul 28, 2025
cc72799
feat: ResourceListTable - column initial size resize
RohitRaj011 Jul 28, 2025
244dcc0
fix: K8sResourceList: ColumnSelector - option not getting selected af…
RohitRaj011 Jul 28, 2025
150de2e
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Jul 29, 2025
62b1421
Merge branch 'fix/trigger-view' of https://github.com/devtron-labs/da…
arunjaindev Jul 29, 2025
673135a
feat: K8sResourceListTableUsageCell - add null state
RohitRaj011 Jul 29, 2025
35baf8d
feat: add secrets script
Elessar1802 Jul 29, 2025
7540fa5
Merge branch 'fix/cd-trigger' of https://github.com/devtron-labs/dash…
AbhishekA1509 Jul 30, 2025
67903c9
feat: Enhance DeployImageModal with new image selection and empty sta…
AbhishekA1509 Jul 30, 2025
b025cee
feat: ConfigSyncStatusButton - pass appName prop
RohitRaj011 Jul 30, 2025
e4c362f
chore: remove cdMaterial
AbhishekA1509 Jul 30, 2025
6aef199
feat: Refactor DeployImageModal and related components for improved n…
AbhishekA1509 Jul 30, 2025
9191492
chore: add dev yarn command
Elessar1802 Jul 30, 2025
5c07229
refactor: add EXIT code const
Elessar1802 Jul 30, 2025
88b7197
feat: Refactor DeployImageModal and related components to streamline …
AbhishekA1509 Jul 30, 2025
db45cd1
feat: Update DeployImageModal layout for improved filter visibility a…
AbhishekA1509 Jul 30, 2025
01b22ec
Merge branch 'develop' into feat/secrets-mgr
Elessar1802 Jul 31, 2025
706b0b9
Merge branch 'develop' into feat/node-list-usage-ui
RohitRaj011 Jul 31, 2025
bc5a316
Merge pull request #2859 from devtron-labs/refactor/config-drift-modal
RohitRaj011 Jul 31, 2025
c32cb69
refactor: K8sResourceList - update CPU & Memory Usage sorting based o…
RohitRaj011 Jul 31, 2025
a590083
feat: DeployedCommitCard - add support for multiple repos, refactor t…
RohitRaj011 Jul 31, 2025
abd8136
feat: AppDetails - refactor component to have horizontal-scroll for a…
RohitRaj011 Jul 31, 2025
0f4a96a
refactor: ConfigMapSecret and EnvironmentOverride components - stream…
RohitRaj011 Aug 1, 2025
c77b3f6
Merge branch 'develop' into feat/rb-manifest-prompt-review-state
RohitRaj011 Aug 4, 2025
2f764e0
Merge pull request #2851 from devtron-labs/feat/rb-manifest-prompt-re…
RohitRaj011 Aug 4, 2025
988de7f
Merge branch 'develop' of github.com:devtron-labs/dashboard into feat…
RohitRaj011 Aug 4, 2025
4dfcd98
chore: common-lib version bump
RohitRaj011 Aug 4, 2025
b7a148f
Merge pull request #2852 from devtron-labs/feat/node-list-usage-ui
RohitRaj011 Aug 4, 2025
187548f
chore: remove scripts folder
Elessar1802 Aug 4, 2025
b1e113a
chore: add scripts/ to gitignore
Elessar1802 Aug 4, 2025
0a75eaf
Merge branch 'develop' into feat/secrets-mgr
Elessar1802 Aug 4, 2025
63b1bfe
Merge pull request #2857 from devtron-labs/feat/secrets-mgr
Elessar1802 Aug 4, 2025
9699555
fix: adjust image container for better layout in ChartDetailsAbout
RohitRaj011 Aug 4, 2025
7e55bb9
Merge pull request #2862 from devtron-labs/fix/chart-details-about
RohitRaj011 Aug 4, 2025
ce9e834
feat: Enhance Deploy Image Modal with Bulk Deployment Features
AbhishekA1509 Aug 4, 2025
67f6b66
feat: Implement bulk deployment modal enhancements and improve error …
AbhishekA1509 Aug 5, 2025
c8efa53
feat: Refactor EnvTriggerView and AppDetailsCDModal to remove unneces…
AbhishekA1509 Aug 5, 2025
5507438
feat: Enhance DeployImageModal and related components with improved e…
AbhishekA1509 Aug 5, 2025
4701465
fix: include selectedIdentifiers in bulk selection handling
RohitRaj011 Aug 5, 2025
978e37d
feat: Refactor BulkDeployModal and DeployImageModal to improve loadOl…
AbhishekA1509 Aug 5, 2025
27ca8bd
feat: Refactor DeployImageModal and EnvTriggerView to improve deploym…
AbhishekA1509 Aug 6, 2025
8fc1c44
feat: Refactor BulkDeployModal and DeployImageContent to improve imag…
AbhishekA1509 Aug 6, 2025
5645325
feat: Add BulkTriggerSidebar component and integrate it into DeployIm…
AbhishekA1509 Aug 6, 2025
e523974
feat: implement ChartsList component and integrate with chart provide…
RohitRaj011 Aug 6, 2025
9b3d43a
feat: Implement BulkDeployEmptyState component and integrate it into …
AbhishekA1509 Aug 6, 2025
7d9b6a7
feat: Refactor DeployImageModal and ImageSelectionCTA to improve stat…
AbhishekA1509 Aug 6, 2025
bd58783
fix(ui): remove unneeded py-10
Elessar1802 Aug 6, 2025
21f589c
fix: update button sizes and improve layout in chart components
RohitRaj011 Aug 6, 2025
6f5b7b3
feat: Enhance BulkDeployModal and related components for improved dep…
AbhishekA1509 Aug 6, 2025
c0461af
refactor: remove unused ChartListPopUp component
RohitRaj011 Aug 6, 2025
b515400
fix: Correct useEffect cleanup function formatting in BulkDeployModal
AbhishekA1509 Aug 6, 2025
1b54375
feat: Add empty state rendering for material list in DeployImageConte…
AbhishekA1509 Aug 6, 2025
9c94714
feat: Update BulkTriggerSidebar logic for tag selection and adjust De…
AbhishekA1509 Aug 6, 2025
219ac6e
feat: refactor trigger view component
arunjaindev Aug 6, 2025
eba48c0
feat: Enhance BulkDeployModal and MaterialListEmptyState for improved…
AbhishekA1509 Aug 6, 2025
c1dce2d
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Aug 7, 2025
6926117
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
AbhishekA1509 Aug 7, 2025
15780c4
fix: update @devtron-labs/devtron-fe-common-lib to version 1.19.0-pre…
AbhishekA1509 Aug 7, 2025
96bd8b9
Merge pull request #2830 from devtron-labs/fix/trigger-view
AbhishekA1509 Aug 7, 2025
becb93a
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Aug 7, 2025
c70b248
Merge branch 'fix/cd-trigger' of https://github.com/devtron-labs/dash…
AbhishekA1509 Aug 7, 2025
a5c7dab
Merge branch 'develop' into feat/resource-watcher-ui
shivani170 Aug 7, 2025
8f3db0e
fix: improve readability of filteredChartList computation in ChartsLi…
RohitRaj011 Aug 7, 2025
34547b7
Merge branch 'develop' of github.com:devtron-labs/dashboard into feat…
RohitRaj011 Aug 7, 2025
8e7d7aa
feat: add util for on click search params
arunjaindev Aug 7, 2025
e10a7c3
Merge branch 'fix/bulk-cd' of https://github.com/devtron-labs/dashboa…
arunjaindev Aug 7, 2025
d058cd7
chore: version bump
shivani170 Aug 7, 2025
3046d0b
fix: review comments
AbhishekA1509 Aug 7, 2025
95e37ea
Merge branch 'fix/bulk-cd' of https://github.com/devtron-labs/dashboa…
arunjaindev Aug 7, 2025
7c65438
fix: handle empty appEnvList in getAppGroupDeploymentWindowMap
AbhishekA1509 Aug 7, 2025
ff0d2fe
chore: use constant in polling interval
arunjaindev Aug 7, 2025
d3a05ad
Merge pull request #2853 from devtron-labs/fix/bulk-cd
AbhishekA1509 Aug 7, 2025
52aa805
Merge pull request #2871 from devtron-labs/fix/build-deploy-trigger
AbhishekA1509 Aug 7, 2025
22b7f7d
feat: add IBM Plex font
Elessar1802 Aug 7, 2025
2e91e64
chore: css fixes for truncate
shivani170 Aug 8, 2025
9721438
fix: node not updating on status update
arunjaindev Aug 8, 2025
f9ea804
Merge pull request #2872 from devtron-labs/feat/shortcut-toast
Elessar1802 Aug 8, 2025
c2cc743
refactor: clean up unused code and improve null checks in TriggerView…
AbhishekA1509 Aug 8, 2025
fbcdd27
fix: VariableDataTablePopupMenu - scroll not working fix
RohitRaj011 Aug 8, 2025
af2d426
chore: common-lib version bump
RohitRaj011 Aug 8, 2025
af7d6de
Merge branch 'develop' into feat/misc-improvements
RohitRaj011 Aug 8, 2025
daf2db3
Merge branch 'fix/cd-trigger' of https://github.com/devtron-labs/dash…
arunjaindev Aug 8, 2025
558001a
Merge pull request #2870 from devtron-labs/feat/misc-improvements
RohitRaj011 Aug 8, 2025
0ffe5d3
feat: common out render cd material from trigger view and env trigger…
arunjaindev Aug 8, 2025
25529ef
chore: sort imports
arunjaindev Aug 8, 2025
3e8be4b
chore: use pipeline id from url
arunjaindev Aug 8, 2025
3aeff57
fix: issues modal not opening on click
arunjaindev Aug 8, 2025
57cd39c
refactor: update error handling and improve type definitions in deplo…
AbhishekA1509 Aug 10, 2025
9b4be29
refactor: enhance approval policy checks and update tag warning logic…
AbhishekA1509 Aug 10, 2025
6aaebe7
Merge pull request #2874 from devtron-labs/fix/issues-modal
arunjaindev Aug 11, 2025
237a40c
Merge branch 'test/cd-trigger' of https://github.com/devtron-labs/das…
arunjaindev Aug 11, 2025
440cedb
chore: version bump
arunjaindev Aug 11, 2025
44ea65c
Merge pull request #2873 from devtron-labs/feat/common-cd-material
arunjaindev Aug 11, 2025
0c4826e
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
arunjaindev Aug 11, 2025
b01ab2c
Merge branch 'fix/cd-trigger' of https://github.com/devtron-labs/dash…
arunjaindev Aug 11, 2025
4c68555
Merge branch 'main' of https://github.com/devtron-labs/dashboard into…
arunjaindev Aug 11, 2025
df3ec04
Merge branch 'fix/cd-trigger' of https://github.com/devtron-labs/dash…
arunjaindev Aug 11, 2025
531ff5b
refactor: remove CommandErrorBoundary and related command components
AbhishekA1509 Aug 11, 2025
1d8cb2a
Merge branch develop into feat/resource-watcher-ui
shivani170 Aug 11, 2025
3314406
Merge pull request #2877 from devtron-labs/feat/resource-watcher-ui
shivani170 Aug 11, 2025
33817e2
feat: add CommandBar component with keyboard shortcuts and navigation
AbhishekA1509 Aug 11, 2025
2595185
chore: update common-lib version
Elessar1802 Aug 11, 2025
90bc497
feat: implement CommandGroup component and update navigation item types
AbhishekA1509 Aug 11, 2025
60cd0ce
Merge pull request #2878 from devtron-labs/fix/resource-watcher-ui
Elessar1802 Aug 11, 2025
6deca88
feat: enhance CommandBar with CommandGroup integration and type defin…
AbhishekA1509 Aug 11, 2025
e97b69a
feat: add recent actions integration to CommandBar and enhance Comman…
AbhishekA1509 Aug 11, 2025
e2e8e95
Add isTriggerView prop to CDMaterial component and update usage in En…
AbhishekA1509 Aug 12, 2025
59e4222
Add appName prop to Details component for enhanced app information
AbhishekA1509 Aug 12, 2025
d299ee2
Revert "chore: css fixes for truncate"
Elessar1802 Aug 12, 2025
a2d722f
Merge branch 'develop' of github.com:devtron-labs/dashboard into fix/…
Elessar1802 Aug 12, 2025
69d74b4
feat: enhance CommandBar with search functionality and keyboard short…
AbhishekA1509 Aug 12, 2025
91a4772
feat: refactor CommandBar to separate backdrop and enhance navigation…
AbhishekA1509 Aug 13, 2025
c4b6870
feat: enhance CommandBarBackdrop with recent actions update and error…
AbhishekA1509 Aug 13, 2025
c57abd4
feat: add keyboard shortcut for selecting items in CommandBarBackdrop
AbhishekA1509 Aug 13, 2025
ecd7650
feat: enhance CommandBarBackdrop with keyboard shortcuts and recent a…
AbhishekA1509 Aug 13, 2025
a272adc
feat: update keyboard shortcut registration to focus search bar and i…
AbhishekA1509 Aug 13, 2025
767f565
feat: refactor CommandBar and CommandBarBackdrop for improved keyboar…
AbhishekA1509 Aug 13, 2025
c38416a
Merge pull request #2880 from devtron-labs/fix/resource-watcher-ui
Elessar1802 Aug 14, 2025
17fc838
Merge pull request #2876 from devtron-labs/test/cd-trigger
AbhishekA1509 Aug 18, 2025
50b9d1c
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Aug 18, 2025
9b03cad
Merge pull request #2850 from devtron-labs/fix/cd-trigger
AbhishekA1509 Aug 18, 2025
df504b3
Merge branch 'develop' of https://github.com/devtron-labs/dashboard i…
AbhishekA1509 Aug 18, 2025
20325ee
update: bump @devtron-labs/devtron-fe-common-lib to version 1.19.0-pre-6
AbhishekA1509 Aug 18, 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
4 changes: 1 addition & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.test.tsx
.eslintrc.js
vite.config.mts
scripts/

# The following files have eslint errors/warnings
src/Pages/GlobalConfigurations/Authorization/APITokens/__tests__/ApiTokens.test.tsx
Expand Down Expand Up @@ -101,10 +102,7 @@ src/components/app/details/testViewer/TestRunDetails.tsx
src/components/app/details/testViewer/TestRunList.tsx
src/components/app/details/triggerView/EmptyStateCIMaterial.tsx
src/components/app/details/triggerView/MaterialSource.tsx
src/components/app/details/triggerView/TriggerView.tsx
src/components/app/details/triggerView/__tests__/triggerview.test.tsx
src/components/app/details/triggerView/cdMaterial.tsx
src/components/app/details/triggerView/ciMaterial.tsx
src/components/app/details/triggerView/ciWebhook.service.ts
src/components/app/details/triggerView/config.ts
src/components/app/details/triggerView/workflow.service.ts
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ yalc.lock
!.yarn/sdks
!.yarn/versions
.pnp.*

.env.secrets
scripts/
1 change: 1 addition & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:[email protected]&display=swap');

/*
* Although this is duplicated but this would help us with consistent loader in case
Expand Down
4 changes: 2 additions & 2 deletions 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.19.0",
"@devtron-labs/devtron-fe-common-lib": "1.19.0-pre-6",
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
"@rjsf/core": "^5.13.3",
"@rjsf/utils": "^5.13.3",
Expand All @@ -19,7 +19,6 @@
"dayjs": "^1.11.8",
"dompurify": "^3.2.4",
"fast-json-patch": "^3.1.1",
"flexsearch": "^0.6.32",
"jsonpath-plus": "^10.3.0",
"moment": "^2.29.4",
"query-string": "^7.1.1",
Expand Down Expand Up @@ -49,6 +48,7 @@
"lint": "tsc --noEmit && eslint 'src/**/*.{js,jsx,ts,tsx}' --max-warnings 0",
"lint-fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
"start": "vite --open",
"dev": "node scripts/secrets-mgr.js",
"build": "NODE_OPTIONS=--max_old_space_size=8192 vite build",
"serve": "vite preview",
"build-light": "NODE_OPTIONS=--max_old_space_size=8192 GENERATE_SOURCEMAP=false vite build",
Expand Down
22 changes: 12 additions & 10 deletions src/Pages/ChartStore/ChartDetails/ChartDetailsAbout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,18 @@ export const ChartDetailsAbout = ({ chartDetails, isLoading }: ChartDetailsAbout
return (
<div className="flexbox-col dc__gap-20 mw-none">
<div className="flexbox-col dc__gap-12">
<ImageWithFallback
imageProps={{
src: icon,
alt: 'chart-icon',
className: 'br-6',
height: 48,
width: 48,
}}
fallbackImage={<Icon name="ic-helm" color="N700" size={48} />}
/>
<div className="h-48 dc__mxw-200">
<ImageWithFallback
imageProps={{
src: icon,
alt: 'chart-icon',
className: 'br-6',
height: '100%',
width: 'auto',
}}
fallbackImage={<Icon name="ic-helm" color="N700" size={48} />}
/>
</div>
<h2 className="m-0 fs-16 lh-24 fw-6 cn-9">{name}</h2>
<p className="m-0 fs-13 lh-20 cn-9">{description}</p>
</div>
Expand Down
47 changes: 47 additions & 0 deletions src/Pages/Shared/CommandBar/CommandBar.component.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import { useEffect, useState } from 'react'

import { useRegisterShortcut, UseRegisterShortcutProvider } from '@devtron-labs/devtron-fe-common-lib'

import CommandBarBackdrop from './CommandBarBackdrop'
import { SHORT_CUTS } from './constants'

import './CommandBar.scss'

const CommandBar = () => {
const [showCommandBar, setShowCommandBar] = useState(false)
const { registerShortcut, unregisterShortcut } = useRegisterShortcut()

const handleOpen = () => {
setShowCommandBar(true)
}

const handleClose = () => {
setShowCommandBar(false)
}

useEffect(() => {
const { keys } = SHORT_CUTS.OPEN_COMMAND_BAR

registerShortcut({
keys,
description: SHORT_CUTS.OPEN_COMMAND_BAR.description,
callback: handleOpen,
})

return () => {
unregisterShortcut(keys)
}
}, [])

if (!showCommandBar) {
return null
}

return (
<UseRegisterShortcutProvider ignoreTags={[]}>
<CommandBarBackdrop handleClose={handleClose} />
</UseRegisterShortcutProvider>
)
}

export default CommandBar
19 changes: 19 additions & 0 deletions src/Pages/Shared/CommandBar/CommandBar.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.command-bar {
&__container {
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04), 0 2px 8px 0 rgba(0, 0, 0, 0.04), 0 3px 17px 0 rgba(0, 0, 0, 0.04), 0 4px 30px 0 rgba(0, 0, 0, 0.13), 0 8px 48px 0 rgba(0, 0, 0, 0.15);

&--selected-item {
background: var(--bg-hover);
}

.search-bar {
&:focus-within {
border: none !important;
}

&:hover {
background: transparent !important;
}
}
}
}
Loading