Skip to content

Commit 4e7add0

Browse files
feat(manager-components): replace name of manager components react lib
ref: MANAGER-14822 Signed-off-by: Alex Boungnaseng <[email protected]>
1 parent 84759d6 commit 4e7add0

File tree

637 files changed

+948
-461
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

637 files changed

+948
-461
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ packages/manager/modules/ @ovh/team-manager-dev-angularjs
1414
*.tsx @ovh/team-manager-dev-reactjs @ovh/su-digital-tools-core-stack
1515
/playwright-helpers/ @ovh/team-manager-dev-reactjs
1616

17-
# Manager-components
18-
/packages/manager-components @ovh/team-manager-control-tower
17+
# Manager-React-Components
18+
/packages/manager-react-components @ovh/team-manager-control-tower
1919

2020
# Continuous Integration and scripts
2121
.github/workflows @ovh/su-digital-tools-core-service-delivery

.github/ISSUE_TEMPLATE/manager_components_bug_report.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Bug Report on Manager Components (Internal)
22
description: File a bug report on Manager components
3-
title: '[manager-components]: <TITLE>'
4-
labels: ['manager-components', 'bug']
5-
projects: ["ovh/22"]
3+
title: '[manager-react-components]: <TITLE>'
4+
labels: ['manager-react-components', 'bug']
5+
projects: ['ovh/22']
66
body:
77
- type: markdown
88
attributes:
@@ -32,19 +32,19 @@ body:
3232
description: The browser(s) this issue occurred with.
3333
validations:
3434
required: false
35-
- type: "checkboxes"
36-
id: "operating-system"
35+
- type: 'checkboxes'
36+
id: 'operating-system'
3737
attributes:
38-
label: "Operating System"
39-
description: "The operating system(s) this issue occurred with."
38+
label: 'Operating System'
39+
description: 'The operating system(s) this issue occurred with.'
4040
options:
41-
- label: "macOS"
42-
- label: "Windows"
43-
- label: "Linux"
44-
- type: "textarea"
45-
id: "additional-information"
41+
- label: 'macOS'
42+
- label: 'Windows'
43+
- label: 'Linux'
44+
- type: 'textarea'
45+
id: 'additional-information'
4646
attributes:
47-
label: "Additional Information"
47+
label: 'Additional Information'
4848
description: |
4949
Use this section to provide any additional information you might have
5050
like screenshots, notes, or links to ideas.

.github/ISSUE_TEMPLATE/manager_components_feature_request.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: New Feature Request for Manager Components (Internal)
22
description: Request for new component/hook/util
3-
title: '[manager-components]: <TITLE>'
4-
labels: ['manager-components', 'feature']
5-
projects: ["ovh/22"]
3+
title: '[manager-react-components]: <TITLE>'
4+
labels: ['manager-react-components', 'feature']
5+
projects: ['ovh/22']
66
body:
77
- type: markdown
88
attributes:
@@ -12,8 +12,8 @@ body:
1212
value: Please make sure to check if similar component already exists.
1313
- type: checkboxes
1414
attributes:
15-
label: Have you already checked if a similar item is present on manager-components?
16-
description: Before to open a request on our GitHub repository, did you already check if the similar item is present on the manager-components storybook?
15+
label: Have you already checked if a similar item is present on manager-react-components?
16+
description: Before to open a request on our GitHub repository, did you already check if the similar item is present on the manager-react-components storybook?
1717
options:
1818
- label: Yes, I have already checked the existing components/hooks/utils.
1919
required: false

.github/labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ enabler:
7070
- packages/manager/apps/carbon-calculator/**
7171
- packages/manager/apps/iam/**
7272
- packages/manager/apps/key-management-service/**
73-
manager-components:
74-
- packages/manager-components/src/**
73+
manager-react-components:
74+
- packages/manager-react-components/src/**
7575
common:
7676
- packages/components/**
7777
- packages/manager/core/**
@@ -104,6 +104,6 @@ common:
104104
- packages/manager/modules/trusted-nic/**
105105
- packages/manager/modules/web-universe-components/**
106106
- packages/manager/tools/**
107-
- packages/manager-components/**
107+
- packages/manager-react-components/**
108108
- playwright-helpers/**
109109
- scripts/**

.github/workflows/run-bdd-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Build BDD covered packages and dependencies
2222
run: |
2323
yarn exec turbo -- run build --filter="./packages/manager/core/*" --concurrency=5
24-
yarn exec turbo -- run build --filter="./packages/manager/manager-components/*" --concurrency=5
24+
yarn exec turbo -- run build --filter="./packages/manager/manager-react-components/*" --concurrency=5
2525
yarn exec turbo -- run build --filter="./packages/manager/modules/order" --concurrency=5
2626
# This task is for running the jest tests outside microApps
2727
- name: Run tests Jest

.lintstagedrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
],
66
"*.{tsx,ts}": [
77
"eslint --fix \"packages/manager/apps/**/*.{tsx,ts,md}\"",
8-
"eslint --fix \"packages/manager-components/**/*.{tsx,ts}\"",
8+
"eslint --fix \"packages/manager-react-components/**/*.{tsx,ts}\"",
99
"prettier --write \"packages/manager/apps/**/*.{tsx,ts}\"",
10-
"prettier --write \"packages/manager-components/**/*.{tsx,ts}\""
10+
"prettier --write \"packages/manager-react-components/**/*.{tsx,ts}\""
1111
],
1212
"*.js": ["eslint --fix"],
1313
"*.{css,less,scss}": ["stylelint --fix"],

docs/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
docs/.vuepress/.temp/
22
docs/.vuepress/.cache/
33
docs/.vuepress/public/super-components
4-
docs/guide/manager-components
4+
docs/guide/manager-react-components
55
docs/public/storybook-static/

docs/.vitepress/config.mjs

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'vitepress';
1+
import { defineConfig } from 'vitepress';
22

33
export default defineConfig({
44
title: 'Manager',
@@ -11,7 +11,6 @@ export default defineConfig({
1111
base: '/manager/',
1212
ignoreDeadLinks: true,
1313

14-
1514
themeConfig: {
1615
nav: [
1716
{ text: 'Guide', link: '/guide/' },
@@ -25,8 +24,8 @@ export default defineConfig({
2524
items: [
2625
{
2726
text: 'Discussions',
28-
link: 'https://github.com/ovh/manager/discussions'
29-
}
27+
link: 'https://github.com/ovh/manager/discussions',
28+
},
3029
],
3130
},
3231
{
@@ -70,60 +69,57 @@ export default defineConfig({
7069
items: [
7170
{
7271
text: 'Getting started',
73-
link: 'getting-started'
72+
link: 'getting-started',
7473
},
7574
{
7675
text: 'Architecture',
77-
link: 'architecture'
76+
link: 'architecture',
7877
},
7978
{
8079
text: 'Applications',
81-
link: 'applications'
80+
link: 'applications',
8281
},
8382
{
8483
text: 'Modules',
85-
link: 'modules'
84+
link: 'modules',
8685
},
8786
{
8887
text: 'Components',
89-
link: 'components'
88+
link: 'components',
9089
},
9190
{
9291
text: 'Tools',
93-
link: 'tools'
92+
link: 'tools',
9493
},
9594
{
9695
text: 'Scripts',
97-
link: 'scripts'
96+
link: 'scripts',
9897
},
9998
{
10099
text: 'Releasing',
101-
link: 'releasing'
100+
link: 'releasing',
102101
},
103102
{
104-
text: 'Testing' ,
105-
link: 'testing'
103+
text: 'Testing',
104+
link: 'testing',
106105
},
107106
{
108-
text: 'Manager Components',
109-
link: 'manager-components'
110-
}
111-
]
112-
}
107+
text: 'Manager React Components',
108+
link: 'manager-react-components',
109+
},
110+
],
111+
},
113112
},
114113

115114
search: {
116115
provider: 'local',
117116
},
118117

119-
120118
editLink: {
121119
pattern: 'https://github.com/ovh/manager/edit/master/docs/docs/:path',
122-
text: 'Edit this page on GitHub'
120+
text: 'Edit this page on GitHub',
123121
},
124122

125-
socialLinks: [
126-
{ icon: 'github', link: 'https://github.com/ovh/manager' },
127-
],
123+
socialLinks: [{ icon: 'github', link: 'https://github.com/ovh/manager' }],
128124
},
129125
});
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Manager components
1+
# Manager React components
22

33
We use a library of super components in our react applications.
44

55
## The package is accessible on the monorepo
66

7-
- [@ovhcloud/manager-components](https://github.com/ovh/manager/blob/develop/packages/manager-components/README.md)
7+
- [@ovh-ux/manager-react-components](https://github.com/ovh/manager/blob/develop/packages/manager-react-components/README.md)
88

99
## The storybook :
1010

@@ -14,16 +14,16 @@ The storybook is accessible on
1414
## How to start the application?
1515

1616
```sh
17-
$ yarn workspace @ovhcloud/manager-components run start
17+
$ yarn workspace @ovh-ux/manager-react-components run start
1818
```
1919

2020
Go to `<http://localhost:6006>`
2121

2222
## Example for Header on the storybook :
2323

24-
![Screenshot of the manager-components storybook](/assets/img/storybook-manager-components.png)
24+
![Screenshot of the manager-react-components storybook](/assets/img/storybook-manager-components.png)
2525

2626
## Importation of a component on your react code application :
2727

2828
The component is not builded so you can import directly the component named `Card` from the workspace like this :
29-
`import Card from '@ovhcloud/manager-components'`
29+
`import Card from '@ovh-ux/manager-react-components'`

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"private": true,
55
"description": "Manager documentation deployed with GitHub Pages",
66
"scripts": {
7-
"docs:build": "yarn docs:build:manager-components && node cli/prebuild.js && vitepress build --base /manager/",
8-
"docs:build:manager-components": "cd ../packages/manager-components && yarn build:storybook && rm -rf ../../docs/docs/public/storybook-static && mkdir -p ../../docs/docs/public/storybook-static && cp -r ./storybook-static/* ../../docs/docs/public/storybook-static",
7+
"docs:build": "yarn docs:build:manager-react-components && node cli/prebuild.js && vitepress build --base /manager/",
8+
"docs:build:manager-react-components": "cd ../packages/manager-react-components && yarn build:storybook && rm -rf ../../docs/docs/public/storybook-static && mkdir -p ../../docs/docs/public/storybook-static && cp -r ./storybook-static/* ../../docs/docs/public/storybook-static",
99
"docs:deploy": "yarn run docs:build && gh-pages -d .vitepress/dist -m \"docs: update documentation [skip ci]\"",
1010
"docs:dev": "node cli/prebuild.js && vitepress dev",
1111
"docs:preview": "vitepress preview"

0 commit comments

Comments
 (0)