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

Plugin Flow Builder - Make handoff simpler #2313

Merged
merged 4 commits into from
Mar 16, 2023

Conversation

manuelalferez
Copy link
Contributor

@manuelalferez manuelalferez commented Mar 10, 2023

Description

Changes:

  • Remove all "getOpenQueues" logic and open/closed messages.
  • The Handoff function should just do a basic handoff
  • Added missing options: withNote, withAgent

Context

Approach taken / Explain the design

To document / Usage example

Testing

image
image

@manuelalferez manuelalferez changed the base branch from master to feat/botonic-plugin-flow-builder March 10, 2023 11:58
@manuelalferez manuelalferez changed the title Plugin Flow Builder - Make handoff simpler #FLO-896 Plugin Flow Builder - Make handoff simpler Mar 10, 2023
@hubtype hubtype deleted a comment from linear bot Mar 10, 2023
packages/botonic-plugin-flow-builder/src/action.tsx Outdated Show resolved Hide resolved
packages/botonic-plugin-flow-builder/src/index.ts Outdated Show resolved Hide resolved
packages/botonic-plugin-flow-builder/src/index.ts Outdated Show resolved Hide resolved
@vanbasten17 vanbasten17 merged commit 9ba0539 into feat/botonic-plugin-flow-builder Mar 16, 2023
@vanbasten17 vanbasten17 deleted the feat/simpler-handoff branch March 16, 2023 09:33
vanbasten17 added a commit that referenced this pull request Apr 19, 2023
* feat(plugin-flow-builder): fixing errors with getLocate and misspelling

* feat(plugin-flow-builder): removing getOpenQueues, added missing options, moving message to FlowBuilderActionProps

* fix(plugin-flow-builder): Removed console logs

* chore(plugin-flow-builder): add session to types for getLocale

---------

Co-authored-by: Marc Rabat <marcrabat@gmail.com>
vanbasten17 added a commit that referenced this pull request Apr 19, 2023
* feat(plugin-flow-builder): fixing errors with getLocate and misspelling

* feat(plugin-flow-builder): removing getOpenQueues, added missing options, moving message to FlowBuilderActionProps

* fix(plugin-flow-builder): Removed console logs

* chore(plugin-flow-builder): add session to types for getLocale

---------

Co-authored-by: Marc Rabat <marcrabat@gmail.com>
vanbasten17 added a commit that referenced this pull request Apr 19, 2023
…lder package (#2302)

* feat(botonic-plugin-flow-builder): set main package structure

* chore(plugin-flow-builder): rename subtype to action, bump alpha version

* chore(plugin-flow-builder): bump alpha version

* feat(plugin-flow-builder): read flowContents in pre

* fix(plugin-flow-builder): rename queueId to queue_id

* chore(plugin-flow-builder): bump alpha version

* feat(plugin-flow-builder): pass getLocale function from constructor

* feat(plugin-flow-builder): add startId function

* chore(plugin-flow-builder): bump alpha version

* chore(plugin-flow-builder): check only queue schedule availability, add some triple equals

* feat(plugin-flow-builder): passing acccess token method to plugin

* chore(plugin-flow-builder): fix initialization of options and read HUBTYPE_API_URL from env var

* chore(plugin-flow-builder): move getImageByLocale to ContentBase class and export Plugin types

* Plugin Flow Builder - Make handoff simpler  (#2313)

* feat(plugin-flow-builder): fixing errors with getLocate and misspelling

* feat(plugin-flow-builder): removing getOpenQueues, added missing options, moving message to FlowBuilderActionProps

* fix(plugin-flow-builder): Removed console logs

* chore(plugin-flow-builder): add session to types for getLocale

---------

Co-authored-by: Marc Rabat <marcrabat@gmail.com>

* chore(plugin-flow-builder): add missing types

* chore(plugin-flow-builder): rename hubtype-models to flow-builder-models

* refactor(plugin-flow-builder): get rid of Ht prefix

* refactor(plugin-flow-builder): refactor types to match the ones in JSON schema

* refactor(plugin-flow-builder): renaming and create content-fields as a module folder

* chore(plugin-flow-builder): bump alpha version

* fix(plugin-flow-builder): quick fix for button urls

* chore(plugin-flow-builder): bump alpha version

* chore(plugin-flow-builder): add check for urlButton and bump alpha

* Plugin flow builder - Adding payload to buttons (#2318)

* fix(plugin-flow-builder): fixing PayloadLocal in button

* feat(plugin-flow-builder): adding payload to buttons

* chore(plugin-flow-builder): updating package lock

* fix(plugin-flow-builder): fix type for UrlLocale

Co-authored-by: Oriol Raventós <36898236+Iru89@users.noreply.github.com>

---------

Co-authored-by: Marc Rabat Pla <35448568+vanbasten17@users.noreply.github.com>
Co-authored-by: Oriol Raventós <36898236+Iru89@users.noreply.github.com>

* fix(plugin-flow-builder): patching url buttons not working in carousels

* chore(plugin-flow-builder): bump alpha with carousel fix

* chore(plugin-flow-builder): add typings for Fallback and Video nodes

---------

Co-authored-by: Oriol Raventos <o.raventos.89@gmail.com>
Co-authored-by: Manuel Alférez Ruiz <manuelalferezruiz@gmail.com>
Co-authored-by: Oriol Raventós <36898236+Iru89@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants