Skip to content

Conversation

@imOscarCrespo
Copy link
Contributor

@imOscarCrespo imOscarCrespo commented Aug 22, 2019

I've created this branch becouse I had a problem with the "persistenMenu" branch. It's a copy of that. In this PR I've customized the persistent menu in case that it exists.

guinii and others added 18 commits August 22, 2019 19:20
* fix(contentful): replies format was different than expected by botonic react

* chore(contentful): improvements in eslint config
event.preventDefault()
if (props.webview) openWebview(props.webview, props.params)
else if (props.path) sendPayload(`__PATH_PAYLOAD__${props.path}`)
else if (props.payload) sendPayload(props.payload)
Copy link
Contributor

Choose a reason for hiding this comment

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

@ericmarcos if we allowed having both payload and url, would we be able to open an url and send a track when user presses a button?


const sendInput = async input => {
let isRegex = false
let inputMessage = null
Copy link
Contributor

Choose a reason for hiding this comment

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

this method is too long. Maybe we can split it using a private method for text inputs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated with the last PR

let handoff = action.startsWith('create_case')
if (handoff && isDev()) addMessageComponent(<Handoff />)
updateHandoff(handoff)
if (!isRegex) {
Copy link
Contributor

Choose a reason for hiding this comment

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

it looks like isRegex is not defined here

Copy link
Contributor

@dpinol dpinol left a comment

Choose a reason for hiding this comment

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

you can merge it

@imOscarCrespo imOscarCrespo merged commit 27c5ea9 into master Aug 26, 2019
@imOscarCrespo imOscarCrespo deleted the persistentMenuBotonic branch August 26, 2019 13:24
@imOscarCrespo imOscarCrespo restored the persistentMenuBotonic branch August 26, 2019 13:25
@imOscarCrespo imOscarCrespo deleted the persistentMenuBotonic branch August 26, 2019 13:31
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.

4 participants