Skip to content

Commit b365a5a

Browse files
committed
fix: css for plugin list container
1 parent 03b0666 commit b365a5a

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

src/Common/CIPipeline.Types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ interface ConditionDetails {
129129
conditionalValue: string
130130
}
131131

132+
// FIXME: mountCodeToContainerPath is not here :/
132133
interface InlineStepDetailType {
133134
scriptType: ScriptType
134135
isMountCustomScript?: boolean

src/Common/Modals/VisibleModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export class VisibleModal extends React.Component<{
4646

4747
componentDidMount() {
4848
document.addEventListener('keydown', this.escFunction)
49+
// show is also being used in modal (i.e, pop up menu for case where we have noBackground as false, so it works in syc with VisibleModal with noBackground as false)
4950
this.modalRef.classList.add(this.props.noBackground ? 'show' : 'show-with-bg')
5051
preventBodyScroll(true)
5152

src/Shared/Components/CICDHistory/CDEmptyState.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
import React from 'react'
18-
import { GenericEmptyState } from '../../../Common'
18+
import { GenericEmptyState, ImageType } from '../../../Common'
1919
import AppNotDeployed from '../../../Assets/Img/app-not-deployed.png'
2020
import { EMPTY_STATE_STATUS } from '../../constants'
2121

@@ -61,6 +61,7 @@ const CDEmptyState = ({
6161
title={title || EMPTY_STATE_STATUS.CD_EMPTY_STATE.TITLE}
6262
subTitle={subtitle || EMPTY_STATE_STATUS.CD_EMPTY_STATE.SUBTITLE}
6363
isButtonAvailable
64+
imageType={ImageType.Large}
6465
renderButton={handleCDEmptyStateButton}
6566
/>
6667
</div>

src/Shared/Components/Plugin/PluginCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const PluginCard = ({
2626

2727
return (
2828
<div
29-
className={`p-12 flexbox dc__gap-16 dc__tab-focus plugin-card dc__visible-hover dc__visible-hover--parent ${showCardBorder ? 'dc__border br-4 dc__hover-n50' : 'dc__border-transparent dc__hover-border-n1--imp'}`}
29+
className={`p-12 flexbox dc__gap-16 dc__tab-focus plugin-card dc__visible-hover dc__visible-hover--parent ${showCardBorder ? 'dc__border br-4 dc__hover-n50' : 'dc__border-transparent dc__hover-border-n1'}`}
3030
role="button"
3131
tabIndex={0}
3232
onClick={handleSelection}

src/Shared/Components/Plugin/PluginListContainer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ const PluginListContainer = ({
194194
handleEnter={handleSearch}
195195
inputProps={{
196196
placeholder: 'Search plugins',
197+
autoFocus: true,
197198
}}
198199
/>
199200

src/Shared/Components/Plugin/PluginTagSelect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const PluginTagSelect = ({
6262
)
6363

6464
const renderValueContainer = useCallback(
65-
(props: ValueContainerProps<OptionType, true>) => <MultiSelectValueContainer {...props} title="Category" />,
65+
(props: ValueContainerProps<OptionType, true>) => <MultiSelectValueContainer {...props} title="Tags" />,
6666
[],
6767
)
6868

@@ -92,7 +92,7 @@ const PluginTagSelect = ({
9292
hideSelectedOptions={false}
9393
blurInputOnSelect={false}
9494
maxMenuHeight={200}
95-
placeholder="Select tags"
95+
placeholder="Search tags"
9696
inputId="plugin-tag-select"
9797
className="w-150"
9898
/>

0 commit comments

Comments
 (0)