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

Default bubbled message to the bubbleBuilder #553

Merged
merged 2 commits into from
Feb 4, 2024
Merged

Conversation

asoap
Copy link
Contributor

@asoap asoap commented Jan 30, 2024

What does it do?

This adds the default message to the bubbleBuilder(). This way the developer can spit back out the nicely formatted message but wrap it with any other widgets they so decide to choose.

Why is it needed?

People want to add options and other functionallity to messages. So we need to render stuff around the message.

How to test it?

Use the bubbleBuilder() method and make it return the default message. If messages show up it's working fine. Or return Text('blah') to see all of the messages are now "blah"

Related issues/PRs

The issues this is addressing:
#552
#508

Changes to the bubbleBuilder.  It now creates the default message, and sends it to the bubbleBuilder(). This way people can just spit back message as they see fit or wrap the message with their own widgets.
Changed the definition for the bubbleBuilder.  It now has a defaultBubbleMessage which is the original message.
@demchenkoalex demchenkoalex merged commit a34e062 into flyerhq:main Feb 4, 2024
1 of 2 checks passed
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.

None yet

2 participants