-
Notifications
You must be signed in to change notification settings - Fork 0
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
feature: changed styles for settings and added new call-end-sound block [WTEL-4668] #700
Conversation
flex-direction: column; | ||
min-width: 200px; | ||
gap: var(--spacing-sm); | ||
|
||
//.content-title { |
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.
коммент)
@@ -227,11 +252,27 @@ export default { | |||
<style lang="scss" scoped> | |||
.settings-section { | |||
display: flex; | |||
flex: 0 1 50%; | |||
max-height: 700px; |
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.
а навіщо висоту обмежувати?
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.
Обмеження висоти відбувається для того, щоб візуально блоки вибудовувались так, як на макеті) щиро кажучи, мені дуже подобається, як сторінка виглядає на макеті і, враховуючи, що сторінка сеттінгів не є динамічною (тобто блоки в ній не змінюються часто), то через це я обрала саме таке рішення.
Мені щиро здається візуально гарним цей варіант в реалізації
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.
це якийсь пісєтс кринж
треба це узгоджувати з Женею
@@ -147,6 +164,7 @@ export default { | |||
|
|||
created() { | |||
this.restoreLanguage(); | |||
this.callEndSound = !!localStorage.getItem('callEndSound'); |
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.
а чому це не зробити одразу коли ми в даті його оглошуємо?
value | ||
? localStorage.setItem('callEndSound', 'true') | ||
: localStorage.removeItem('callEndSound'); | ||
this.callEndSound = value; |
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.
а чому тут і присвоєння, і зверху в-модел?)
@@ -227,11 +252,27 @@ export default { | |||
<style lang="scss" scoped> | |||
.settings-section { | |||
display: flex; | |||
flex: 0 1 50%; | |||
max-height: 700px; |
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.
це якийсь пісєтс кринж
треба це узгоджувати з Женею
@@ -209,6 +226,13 @@ export default { | |||
} | |||
}, | |||
|
|||
changeCallEndSoundState(value) { | |||
value | |||
? localStorage.setItem('callEndSound', '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.
settings/callEndSound
…nd-soud in local storage [WTEL-4668]
No description provided.