odoo/odoo#159693

Created by fw-bot
label
odoo-dev:saas-17.1-17.0-input-values-fix-tso-A3w--fw
head
71254774e528a4efa8b0ff8e87db3e0cd142224b
target
saas-17.1
merged
2 months ago by Discuss, Alexandre Kühn (aku)
forward-port of
odoo/odoo#151028 DETACHED (conflicts: ('07150cb3ea3cb19da9c93bfbd84bf6a48aea0746', 'Auto-merging addons/mail/models/res_users_settings.py\nAuto-merging addons/mail/static/src/core/common/settings_model.js\nCONFLICT (content): Merge conflict in addons/mail/static/src/core/common/settings_model.js\nAuto-merging addons/mail/static/src/discuss/call/common/call_settings.xml\nCONFLICT (content): Merge conflict in addons/mail/static/src/discuss/call/common/call_settings.xml\nAuto-merging addons/mail/static/src/discuss/call/common/rtc_service.js\nCONFLICT (content): Merge conflict in 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', '15:16:42.823521 git.c:463 trace: built-in: git cherry-pick 07150cb3ea3cb19da9c93bfbd84bf6a48aea0746\nerror: could not apply 07150cb3ea3c... [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', ['07150cb3ea3cb19da9c93bfbd84bf6a48aea0746']) ('07150cb3ea3cb19da9c93bfbd84bf6a48aea0746', 'Auto-merging addons/mail/models/res_users_settings.py\nAuto-merging addons/mail/static/src/core/common/settings_model.js\nCONFLICT (content): Merge conflict in addons/mail/static/src/core/common/settings_model.js\nAuto-merging addons/mail/static/src/discuss/call/common/call_settings.xml\nCONFLICT (content): Merge conflict in addons/mail/static/src/discuss/call/common/call_settings.xml\nAuto-merging addons/mail/static/src/discuss/call/common/rtc_service.js\nCONFLICT (content): Merge conflict in 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', '15:16:42.823521 git.c:463 trace: built-in: git cherry-pick 07150cb3ea3cb19da9c93bfbd84bf6a48aea0746\nerror: could not apply 07150cb3ea3c... [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', ['07150cb3ea3cb19da9c93bfbd84bf6a48aea0746']))

[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#151028