Skip to content

Commit 2ffa978

Browse files
author
Cyrille Bourgois
committed
feat(telecom-dashboard): add manager banner
1 parent 700ace4 commit 2ffa978

File tree

7 files changed

+22
-1
lines changed

7 files changed

+22
-1
lines changed

packages/manager/apps/telecom-dashboard/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-telecom-dashboard-app' --include-filtered-dependencies -- npm run dev:watch --if-present"
1212
},
1313
"dependencies": {
14+
"@ovh-ux/manager-banner": "^1.0.0",
1415
"@ovh-ux/manager-config": "^0.3.0",
1516
"@ovh-ux/manager-core": "^7.1.2",
1617
"@ovh-ux/manager-telecom-dashboard": "^4.3.2",
@@ -33,6 +34,7 @@
3334
"jsplumb": "^2.11.2",
3435
"lodash": "^4.17.15",
3536
"ng-csv": "^0.3.6",
37+
"ovh-api-services": "^9.8.0",
3638
"ovh-manager-webfont": "^1.2.0",
3739
"ovh-ngstrap": "^4.0.2",
3840
"ovh-ui-kit": "^2.33.4",
@@ -43,4 +45,4 @@
4345
"@ovh-ux/manager-webpack-config": "^3.0.8",
4446
"webpack-merge": "^4.2.2"
4547
}
46-
}
48+
}

packages/manager/apps/telecom-dashboard/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = (env = {}) => {
1212
return merge(config, {
1313
entry: path.resolve('./index.js'),
1414
resolve: {
15+
// symlinks: false,
1516
modules: [
1617
path.resolve(process.cwd(), './node_modules'),
1718
path.resolve(process.cwd(), '../../../node_modules'),

packages/manager/apps/telecom/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"@bower_components/angular-ellipses": "genu/angular-ellipses#0.1.3",
3333
"@bower_components/angular-ui-utils": "angular-ui/ui-utils#0.2.3",
3434
"@bower_components/crypto": "anodynos/node2web_crypto#3.46.1",
35+
"@ovh-ux/manager-banner": "^1.0.0",
3536
"@ovh-ux/manager-config": "^0.3.0",
3637
"@ovh-ux/manager-core": "^7.1.2",
3738
"@ovh-ux/manager-freefax": "^5.2.2",

packages/manager/modules/telecom-dashboard/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"@ovh-ux/component-rollup-config": "^6.0.0"
3939
},
4040
"peerDependencies": {
41+
"@ovh-ux/manager-banner": "^1.0.0",
4142
"@ovh-ux/manager-core": "^6.1.2",
4243
"@ovh-ux/manager-telecom-styles": "^3.1.0",
4344
"@ovh-ux/ng-at-internet": "^4.0.0",
@@ -46,8 +47,10 @@
4647
"@ovh-ux/ng-uirouter-title": "^2.0.0-beta.3",
4748
"@uirouter/angularjs": "^1.0.15",
4849
"angular": "^1.7.5",
50+
"angular-translate": "^2.18.1",
4951
"bootstrap4": "twbs/bootstrap#v4.0.0",
5052
"lodash": "^4.17.14",
53+
"ovh-api-services": "^9.8.0",
5154
"ovh-manager-webfont": "^1.0.2",
5255
"ovh-ui-kit": "^2.33.3",
5356
"ovh-ui-kit-bs": "^2.1.1"

packages/manager/modules/telecom-dashboard/src/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import '@ovh-ux/ng-uirouter-title';
66
import '@ovh-ux/manager-core';
77
import '@ovh-ux/ng-ovh-telecom-universe-components';
88
import '@ovh-ux/manager-telecom-styles';
9+
import 'angular-translate';
10+
import '@ovh-ux/manager-banner';
11+
import 'ovh-api-services';
912

1013
import 'ovh-ui-kit/dist/oui.css';
1114
import 'ovh-ui-kit-bs/dist/ovh-ui-kit-bs.css';
@@ -29,7 +32,10 @@ angular
2932
'ngAtInternet',
3033
'ngAtInternetUiRouterPlugin',
3134
'ngUirouterTitle',
35+
'ovh-api-services',
36+
'ovhManagerBanner',
3237
'ovhManagerCore',
38+
'pascalprecht.translate',
3339
'ngOvhTelecomUniverseComponents',
3440
'ui.router',
3541
])

packages/manager/modules/telecom-dashboard/src/telecom-dashboard.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ <h1>
2626
<!-- /.telecom-section-header -->
2727

2828
<div class="telecom-section-content">
29+
<ovh-manager-banner class="d-block mb-4"></ovh-manager-banner>
2930
<div class="row d-md-flex">
3031
<div class="col-md-8"
3132
data-ui-view="billsView">

yarn.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11558,6 +11558,13 @@ ovh-api-services@^9.7.0:
1155811558
dependencies:
1155911559
lodash "^4.17.15"
1156011560

11561+
ovh-api-services@^9.8.0:
11562+
version "9.8.0"
11563+
resolved "https://registry.yarnpkg.com/ovh-api-services/-/ovh-api-services-9.8.0.tgz#9764da1793ba3bd01bf897c2be6298a9de6cc2cb"
11564+
integrity sha512-WI9TfBkxkR5TZvQU1Xx8NIRwpS3TVqa7gQwRye+3Wj+b2UIGKAOmf0/fjGTsXSQBPsnMo3U4P+9YmjSO0OX5/A==
11565+
dependencies:
11566+
lodash "^4.17.15"
11567+
1156111568
ovh-common-style@^3.2.2:
1156211569
version "3.2.2"
1156311570
resolved "https://registry.yarnpkg.com/ovh-common-style/-/ovh-common-style-3.2.2.tgz#66f4637c7393d1bd5118b05b63b034f26120a41f"

0 commit comments

Comments
 (0)