-
Couldn't load subscription status.
- Fork 2
Modified Call Log Details structure with Activity Logging #41
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
base: main
Are you sure you want to change the base?
Conversation
9a1af96 to
9e78df9
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.
Some changes required. Most importantly, we want to store multi select as multi select, not as different booleans.
src/popup.js
Outdated
| function shouldAutoLogCall(call, userSettings) { | ||
| let shouldAutoLog = false; | ||
|
|
||
| if (call.direction === 'Inbound') { |
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.
This if else bit should be formatted so to be more readable
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.
formatted.
src/popup.js
Outdated
| function shouldAutoLogCallFromPresence(call, userSettings) { | ||
| let shouldAutoLog = false; | ||
|
|
||
| if (call.direction === 'Inbound') { |
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.
This if else bit should be formatted so to be more readable
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.
formatted.
src/service/embeddableServices.js
Outdated
| ]; | ||
| return activityLoggingValues; | ||
| })(), | ||
| readOnly: userCore.getAutoLogAnsweredIncomingSetting(userSettings, isAdmin).readOnly || |
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.
Need one more interface here: userCore.getActivityLoggingSetting()
This whole section is still clunky.
The new interface will be aligned with how admin setting is setup as well.
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.
Incorporated
ChangeLog
✨ New Features