Skip to content

Conversation

@ruleechen
Copy link
Contributor

No description provided.

@ruleechen ruleechen requested a review from embbnux May 23, 2018 08:11
if (newProps.inputDeviceId !== this.props.inputDeviceId) {
if (newProps.inputDeviceId !== this.props.inputDeviceId || all(
device => device.deviceId !== this.state.inputDeviceId,
newProps.availableInputDevices
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we validate and update inputDeviceId when availableInputDevices are changed in audio setting module?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The inputDeviceId from AudioSetting module is correct. The code is to correct the component inputDeviceId state itself.

@ruleechen ruleechen merged commit d0f796a into ringcentral:master May 25, 2018
@ruleechen ruleechen deleted the RCINT-7530-audio-setting-messy-code branch May 25, 2018 07:15
ruleechen added a commit to ruleechen/ringcentral-js-widgets that referenced this pull request May 27, 2018
* Modify mockApi to specify http method name

* disable log btn in call list when the item is fax messsage (ringcentral#775)

* disable log btn in call list when the item is fax messsage

* should show button on call log notification when have related function

* Fix mock API for meeting scheduler (ringcentral#777)

* Mock Meeting & Service Info api (ringcentral#779)

* mock API

* no message

* change switch disable color (ringcentral#778)

* change switch disable color

* remove setting page last two item line border (ringcentral#782)

* remove setting page last two item line border

* [feature] Wrap libphonenumber-js in @ringcentral-integration/phone-number package (ringcentral#783)

* fix linkline icon postion to alignment right (ringcentral#784)

* fix linkline icon postion to alignment right

* modify logout icon size

* Modify style of log icon in calls tab (ringcentral#785)

* Modify style of log icon

* fix dialerUI hooks sync (ringcentral#786)

* Rcint 7530 audio setting messy code (ringcentral#781)

* fix messy code showed when device is plugged out

* code refine

* update

* update

* fix failed tests in LogBasicInfo which is caused by letter case mismatch (ringcentral#789)

* Update the style and text of DatePicker. (ringcentral#792)

* fix search input exceeding width issue (ringcentral#791)

* bugfix: user guide module cannot fall back to en-US automatically (ringcentral#787)

* minor: make close button optional in AdpterCore (ringcentral#788)

* fix SpinnerOverlay background-color translucence bug for safari (ringcentral#794)

* fix tests in LogBasicInfo which is caused by letter case mismatch (ringcentral#793)
ruleechen pushed a commit that referenced this pull request Jul 27, 2018
* sync from upstream (#16)

* Modify mockApi to specify http method name

* disable log btn in call list when the item is fax messsage (#775)

* disable log btn in call list when the item is fax messsage

* should show button on call log notification when have related function

* Fix mock API for meeting scheduler (#777)

* Mock Meeting & Service Info api (#779)

* mock API

* no message

* change switch disable color (#778)

* change switch disable color

* remove setting page last two item line border (#782)

* remove setting page last two item line border

* [feature] Wrap libphonenumber-js in @ringcentral-integration/phone-number package (#783)

* fix linkline icon postion to alignment right (#784)

* fix linkline icon postion to alignment right

* modify logout icon size

* Modify style of log icon in calls tab (#785)

* Modify style of log icon

* fix dialerUI hooks sync (#786)

* Rcint 7530 audio setting messy code (#781)

* fix messy code showed when device is plugged out

* code refine

* update

* update

* fix failed tests in LogBasicInfo which is caused by letter case mismatch (#789)

* Update the style and text of DatePicker. (#792)

* fix search input exceeding width issue (#791)

* bugfix: user guide module cannot fall back to en-US automatically (#787)

* minor: make close button optional in AdpterCore (#788)

* fix SpinnerOverlay background-color translucence bug for safari (#794)

* fix tests in LogBasicInfo which is caused by letter case mismatch (#793)

* code specification

* refactor the lastcallend func

* eslinted

* fix(blank avatar bug fixes rcint-8106)

* only the avatar is null fetch the avatar again

* to update to the lasted code with merge control

* change the merge info com to a lifecircle com

* update

* update
huanhulan pushed a commit that referenced this pull request Aug 1, 2018
* sync from upstream (#16)

* Modify mockApi to specify http method name

* disable log btn in call list when the item is fax messsage (#775)

* disable log btn in call list when the item is fax messsage

* should show button on call log notification when have related function

* Fix mock API for meeting scheduler (#777)

* Mock Meeting & Service Info api (#779)

* mock API

* no message

* change switch disable color (#778)

* change switch disable color

* remove setting page last two item line border (#782)

* remove setting page last two item line border

* [feature] Wrap libphonenumber-js in @ringcentral-integration/phone-number package (#783)

* fix linkline icon postion to alignment right (#784)

* fix linkline icon postion to alignment right

* modify logout icon size

* Modify style of log icon in calls tab (#785)

* Modify style of log icon

* fix dialerUI hooks sync (#786)

* Rcint 7530 audio setting messy code (#781)

* fix messy code showed when device is plugged out

* code refine

* update

* update

* fix failed tests in LogBasicInfo which is caused by letter case mismatch (#789)

* Update the style and text of DatePicker. (#792)

* fix search input exceeding width issue (#791)

* bugfix: user guide module cannot fall back to en-US automatically (#787)

* minor: make close button optional in AdpterCore (#788)

* fix SpinnerOverlay background-color translucence bug for safari (#794)

* fix tests in LogBasicInfo which is caused by letter case mismatch (#793)

* code specification

* refactor the lastcallend func

* eslinted

* bug fixes

* 🐛 (rcint-8156) bug fixes(merge two call then the call avatar will lose)

* code update to upstream
jarvislin94 pushed a commit to jarvislin94/ringcentral-js-widgets that referenced this pull request Aug 2, 2018
* Modify mockApi to specify http method name

* disable log btn in call list when the item is fax messsage (ringcentral#775)

* disable log btn in call list when the item is fax messsage

* should show button on call log notification when have related function

* Fix mock API for meeting scheduler (ringcentral#777)

* Mock Meeting & Service Info api (ringcentral#779)

* mock API

* no message

* change switch disable color (ringcentral#778)

* change switch disable color

* remove setting page last two item line border (ringcentral#782)

* remove setting page last two item line border

* [feature] Wrap libphonenumber-js in @ringcentral-integration/phone-number package (ringcentral#783)

* fix linkline icon postion to alignment right (ringcentral#784)

* fix linkline icon postion to alignment right

* modify logout icon size

* Modify style of log icon in calls tab (ringcentral#785)

* Modify style of log icon

* fix dialerUI hooks sync (ringcentral#786)

* Rcint 7530 audio setting messy code (ringcentral#781)

* fix messy code showed when device is plugged out

* code refine

* update

* update

* fix failed tests in LogBasicInfo which is caused by letter case mismatch (ringcentral#789)

* Update the style and text of DatePicker. (ringcentral#792)

* fix search input exceeding width issue (ringcentral#791)

* bugfix: user guide module cannot fall back to en-US automatically (ringcentral#787)

* minor: make close button optional in AdpterCore (ringcentral#788)

* fix SpinnerOverlay background-color translucence bug for safari (ringcentral#794)

* fix tests in LogBasicInfo which is caused by letter case mismatch (ringcentral#793)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants