-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improving sessions logic and start conversation button #4
Conversation
I see conversation starters in teaser message, if conversation starters are disabled but the starter buttons are configured. |
I am confused on what configuration should have prio (the settings in index.html or the settings from endpoint editor?).
|
These issues about Conversation starters are unrelated to the sessions, but I agree on fix in this PR, as I did for the Homescreen starters. EDIT: I had a look on our reducers and I realized we are doing a deep merge in this case.
In order to fix that, before to perform a deep merge, we should first parse the two objects and if the buttons are disabled, we make the array empty. Also, we need to define a priority in case both are enabled and include the buttons from the prio object only. |
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.
lgtm
I would not fix this in this PR though, as is out-of-scope. Maybe we can track this, and fix it later. |
Success criteria
How to test
Test a new endpoint with all different configurations, with and without persistent userId / sessionId