-
Notifications
You must be signed in to change notification settings - Fork 98
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
Telecom - Carrier SIP Trunk #1382
Conversation
db1a747
to
6fc531e
Compare
packages/manager/apps/telecom/src/app/telecom/telephony/carrierSip/dashboard/cdr/cdr.routing.js
Outdated
Show resolved
Hide resolved
packages/manager/modules/carrier-sip/src/carrier-sip.service.js
Outdated
Show resolved
Hide resolved
packages/manager/modules/carrier-sip/src/carrier-sip.service.js
Outdated
Show resolved
Hide resolved
@import '~bootstrap4/scss/_grid'; | ||
|
||
.oui-page-header { | ||
margin: 0 !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be a more specific selector if !important
is needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual one is linked to the component name (eg: carrier-sip-dashboard .oui-page-header
).
Could you tell what you had in mind to tackle the !important
flag? Because I'm not sure to understand which selector we can used here.
Actual selector that affect us is (from @ovh-ux/manager-telecom-styles):
:not(.widget-presentation) {
header:not(.widget-presentation-header):not(.page-header) {
6fc531e
to
34d1aa1
Compare
@marie-j Thanks! I've applied changes regarding your comments. Regarding the comment for using Iceberg, I let @JeremyDec answer it. Thanks! |
6b1e64b
to
85fe745
Compare
@@ -0,0 +1,30 @@ | |||
import angular from 'angular'; | |||
|
|||
// Peer dependencies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think comments should be used to say why you do something, not what you do, what do you think ? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added them to keep organized as much as possible in all imports.
Nothing blocker but yes we can find maybe a way to harmonize all imports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, comments to organize our code is still a nice things. It's not like it's comments that explain nothing like :
// Check if true
if (foo === true) {
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we need the same comments on 100 files, it probably means we need another solution than comments, like a coding convention :)
Or a tool that sort by itself :)
packages/manager/modules/carrier-sip/src/dashboard/translations/Messages_fr_FR.json
Show resolved
Hide resolved
packages/manager/modules/carrier-sip/src/cdr/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
1d01dac
to
c2d4efe
Compare
5c785ee
to
1a4bbcd
Compare
1a4bbcd
to
4b7046f
Compare
81e8db8
to
c542e1e
Compare
c542e1e
to
c6825b1
Compare
c6825b1
to
0afb76a
Compare
Rebased on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job 👍
@@ -0,0 +1,8 @@ | |||
export const momentConfiguration = /* @ngInject */ (TranslateServiceProvider) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be done by the Core
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, Nope.
The core
module provides a service to get the user locale, his goal is not to configure all dependencies that are used by some modules (even though moment
is frequently used).
...s/manager/apps/telecom/src/components/telecom/telephony/sidebar/telephony-sidebar.service.js
Outdated
Show resolved
Hide resolved
packages/manager/modules/carrier-sip/src/carrier-sip.service.js
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,11 @@ | |||
{ | |||
"carrier_sip_cdr_title": "CDR", | |||
"carrier_sip_cdr_information": "Le Call Details Records (CDR) contient toutes les informations relatives à un appel téléphonique : numéro de téléphone, durée d’appel, date et heure de l’appel, etc. Obtenez le détail des appels passés en téléchargeant le fichier .csv après avoir sélectionné la période souhaitée (mois et année) ci-dessous.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"carrier_sip_cdr_information": "Le Call Details Records (CDR) contient toutes les informations relatives à un appel téléphonique : numéro de téléphone, durée d’appel, date et heure de l’appel, etc. Obtenez le détail des appels passés en téléchargeant le fichier .csv après avoir sélectionné la période souhaitée (mois et année) ci-dessous.", | |
"carrier_sip_cdr_information": "Le Call Details Records (CDR) contient toutes les informations relatives à un appel téléphonique : numéro de téléphone, durée d’appel, date et heure de l’appel, etc. Obtenez le détail des appels passés en téléchargeant le fichier .csv après avoir sélectionné la période souhaitée (mois et année) ci-dessous.", |
insecable space 😅 don't worry about it
packages/manager/modules/carrier-sip/src/cdr/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
packages/manager/modules/carrier-sip/src/dashboard/translations/Messages_fr_FR.json
Show resolved
Hide resolved
packages/manager/modules/carrier-sip/src/endpoints/translations/Messages_fr_FR.json
Outdated
Show resolved
Hide resolved
0afb76a
to
4d0ee68
Compare
4d0ee68
to
e481bda
Compare
ref: MANAGER-3210 Co-authored-by: Marie JONES <[email protected]> Co-authored-by: JeremyDec <[email protected]> BREAKING CHANGE: init `@ovh-ux/manager-carrier-sip` module.
ref: MANAGER-3210 Co-authored-by: Marie JONES <[email protected]> Co-authored-by: JeremyDec <[email protected]> BREAKING CHANGE: init `@ovh-ux/manager-carrier-sip-app` application.
ref: MANAGER-3210 Co-authored-by: Marie JONES <[email protected]> Co-authored-by: JeremyDec <[email protected]>
e481bda
to
588756d
Compare
Carrier SIP Trunk
This feature lives into the Telecom Control Panel.
✨ Feature
ac07cbc - feat(carrier.sip): init module
f6ac48e - feat(carrier.sip): init application
588756d - feat(telephony.carrier.sip): add new module
🔗 Related
🤝 Contributors
🏠 Internal
ref: MANAGER-3210