Skip to content

Commit 30e852e

Browse files
authored
rename status (#71)
1 parent 3639f06 commit 30e852e

20 files changed

+52
-27
lines changed

.github/workflows/pr__labeler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ jobs:
102102
number: ${{ github.event.issue.number }}
103103
header: 'slef-lgtm'
104104
message: |
105-
Hi, are you the pull request owner?.
105+
Hi, are you the pull request owner?
106+
you can't lgtm this pull request.
106107
107108
- name: Add Approved label
108109
if: |

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"test-cov": "jest --coverage",
1919
"styleguide": "styleguidist server",
2020
"styleguide:build": "styleguidist build",
21-
"styleguide:proxy": "source bridge/environment.sh; styleguidist server & node bridge/index.js"
21+
"styleguide:proxy": "source bridge/environment.sh; styleguidist server --config styleguide.config.proxy.js"
2222
},
2323
"dependencies": {
24-
"@kubevirt-ui/kubevirt-api": "^0.0.30",
24+
"@kubevirt-ui/kubevirt-api": "^0.0.35",
2525
"@patternfly/patternfly": "^4.171.1",
2626
"@patternfly/react-core": "^4.192.15",
2727
"classnames": "^2.3.1"
@@ -39,8 +39,8 @@
3939
"@babel/preset-env": "^7.16.8",
4040
"@babel/preset-react": "^7.16.7",
4141
"@babel/preset-typescript": "^7.16.7",
42-
"@openshift-console/dynamic-plugin-sdk": "0.0",
43-
"@openshift-console/dynamic-plugin-sdk-internal": "0.0",
42+
"@openshift-console/dynamic-plugin-sdk": "0.0.5",
43+
"@openshift-console/dynamic-plugin-sdk-internal": "^0.0.4",
4444
"@rollup/plugin-commonjs": "^21.0.1",
4545
"@rollup/plugin-node-resolve": "^13.1.3",
4646
"@rollup/plugin-typescript": "^8.3.0",
@@ -64,6 +64,7 @@
6464
"eslint-plugin-react-hooks": "^4.3.0",
6565
"eslint-plugin-simple-import-sort": "^7.0.0",
6666
"file-loader": "^6.2.0",
67+
"http-proxy-middleware": "^2.0.3",
6768
"jest": "^27.4.7",
6869
"postcss": "^8.4.5",
6970
"prettier": "^2.5.1",

src/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './status';
1+
export * from './utils';

src/components/status/README.md

Lines changed: 0 additions & 2 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

src/components/status/ConditionLabel/ConditionLabel.tsx renamed to src/components/utils/ConditionLabel/ConditionLabel.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as React from 'react';
22

33
import { Label, Popover, PopoverPosition } from '@patternfly/react-core';
4-
54
export interface k8sStatusConditions {
65
/**
76
* Type indicate which type of condition is.
@@ -29,7 +28,6 @@ export interface k8sStatusConditions {
2928
*/
3029
export const ConditionLabel: React.FC<k8sStatusConditions> = React.memo((condition) => {
3130
const preventLabelLink = React.useCallback((e) => e.preventDefault(), []);
32-
3331
const getBodyContent = React.useCallback(
3432
() => <div>{condition?.message}</div>,
3533
[condition?.message],
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)