odoo/odoo#160188

Created by fw-bot
label
odoo-dev:saas-17.2-17.0-input-values-fix-tso-inEx-fw
head
a1388360f1cac94066804395fc2763b2bb51e7b6
target
saas-17.2
merged
2 months ago by Discuss, Thanh Son Dodeur (tso)
forward-port of
odoo/odoo#151028 DETACHED (conflicts: ('71254774e528a4efa8b0ff8e87db3e0cd142224b', 'Auto-merging addons/mail/static/src/core/common/settings_model.js\nAuto-merging addons/mail/static/src/discuss/call/common/rtc_service.js\nAuto-merging addons/test_discuss_full/tests/test_performance.py\nCONFLICT (content): Merge conflict in addons/test_discuss_full/tests/test_performance.py\n', '17:09:46.643268 git.c:463 trace: built-in: git cherry-pick 71254774e528a4efa8b0ff8e87db3e0cd142224b\nerror: could not apply 71254774e528... [FIX] discuss: fix slider values in call settings\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['71254774e528a4efa8b0ff8e87db3e0cd142224b']) ('71254774e528a4efa8b0ff8e87db3e0cd142224b', 'Auto-merging addons/mail/static/src/core/common/settings_model.js\nAuto-merging addons/mail/static/src/discuss/call/common/rtc_service.js\nAuto-merging addons/test_discuss_full/tests/test_performance.py\nCONFLICT (content): Merge conflict in addons/test_discuss_full/tests/test_performance.py\n', '17:09:46.643268 git.c:463 trace: built-in: git cherry-pick 71254774e528a4efa8b0ff8e87db3e0cd142224b\nerror: could not apply 71254774e528... [FIX] discuss: fix slider values in call settings\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['71254774e528a4efa8b0ff8e87db3e0cd142224b']))

[FW][FIX] discuss: fix slider values in call settings

* 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.

Forward-Port-Of: odoo/odoo#159693
Forward-Port-Of: odoo/odoo#151028