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
[FIX] discuss: fix slider values in call settings #151028
Conversation
0cd8b45
to
b22398f
Compare
cc @zel-odoo |
thanks for reminding me. is this going to be done in 17.0 soon? I can wait for rebase either make the change in master in my PR if it is gonna merged soon. |
@zel-odoo since you are removing the file and moving the code, you may just do the changes to your new file (not sure if rebase will be smart enough), but wait that the PR is reviewed, more values display may be added. |
@ThanhDodeurOdoo OK, then I will directly change the code according to your change. |
b22398f
to
819f322
Compare
e3c695e
to
136d9d9
Compare
6744300
to
d7c334c
Compare
@ThanhDodeurOdoo You have a bunch of sliders and @zel-odoo is also adding a bunch of them based on yours. Maybe this could be a |
|
@phenix-factory yes that's probably the goal for master, we will need it when doing the slider with visual feedback for the voice threshold |
e12632c
to
a776d18
Compare
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.
@robodoo r+
<input class="flex-grow-2 form-range" type="range" min="0" max="20" step="1" t-att-value="userSettings.edgeBlurAmount" t-on-change="onChangeEdgeBlurAmount"/> | ||
<div class="d-flex w-100 align-items-center"> | ||
<input class="flex-grow-2 form-range" type="range" min="0" max="20" step="1" t-att-value="userSettings.edgeBlurAmount" t-on-input="onChangeEdgeBlurAmount"/> | ||
<span class="p-1 w-50 text-end"><t t-out="Math.floor(userSettings.edgeBlurAmount * 5)"/>%</span> |
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 would suggest using width: 6ch
in .scss files. means three digits + %
and ` character for buffering... 25% width is way too much and it is displaying well in my PR
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.
@zel-odoo yes it felt a bit too big, but not enough to make me want to create a new scss file just for that in a fix, if you have more finely tuned dimensions in your PR for master, i think that it's good
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.
OK, then I will have it at my PR
do we still want to have this PR? Should I apply those changes into mine ( configuration menu) ? |
@zel-odoo I will rebase it, I thought it was merged |
a776d18
to
5a16c21
Compare
* Adds text values for the call settings sliders. * Replaces `onChange` events with `onInput` events so that the values respect the position of the sliders. * Debounces some functions to handle the increased amount of calls due to the swap to the `onInput` listener. * Changes the default value of `voiceActiveDuration` from `0` to `200` to match the minimum value of the input.
5a16c21
to
07150cb
Compare
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.
@robodoo r+ delegate+
@ThanhDodeurOdoo @seb-odoo this pull request has forward-port PRs awaiting action (not merged or closed): |
1 similar comment
@ThanhDodeurOdoo @seb-odoo this pull request has forward-port PRs awaiting action (not merged or closed): |
@ThanhDodeurOdoo @seb-odoo this pull request has forward-port PRs awaiting action (not merged or closed): |
@ThanhDodeurOdoo @seb-odoo this pull request has forward-port PRs awaiting action (not merged or closed): |
1 similar comment
@ThanhDodeurOdoo @seb-odoo this pull request has forward-port PRs awaiting action (not merged or closed): |
onChange
events withonInput
events so that the valuesrespect the position of the sliders.
due to the swap to the
onInput
listener.voiceActiveDuration
from0
to200
to match the minimum value of the input.