Skip to content
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

add: commits from another branch that was done #197

Merged
merged 47 commits into from
Aug 26, 2019

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
@@ -37,6 +37,7 @@ export const Button = props => {
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 closeMenu = () => {
setMenuIsOpened(false)
}

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.

3 participants