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

feat!: Added centerTitle + enableEnterToSubmit + some fixes to props names #279

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lcsvcn
Copy link

@lcsvcn lcsvcn commented Nov 19, 2024

Description

Changes:

  1. Change typo on props: backGroundColor and inComingChatBubbleConfig
  2. Added centerTitle, so we can center both status and title.
  3. Added enableEnterToSubmit, so if we press enter on keyboard it will send the message instead of adding new line
  4. Some default values are now added to the props instantiation, to simplify code, such as elevation
  5. Changed TypeIndicatorConfiguration to TypingIndicatorConfiguration, as Typing indicate better the status of the indicator.
  6. inComingChatBubbleConfig to incomingChatBubble, since it receives a ChatBubble, not a ChatBubbleConfig and outcomingChatBubbleConfig to outcomingChatBubble, since it receives a ChatBubble, not a ChatBubbleConfig

Checklist

  • The title of my PR starts with a [Conventional Commit] prefix (fix:, feat:, docs: etc).
  • I have followed the [Contributor Guide] when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.

  • No, this PR is not a breaking change.

  • backGroundColor is now: backgroundColor

  • TypeIndicatorConfiguration is now: TypingIndicatorConfiguration

  • inComingChatBubbleConfig is now: incomingChatBubble

  • outgoingChatBubbleConfig is now: outgoingChatBubble

Screenshot 2024-11-19 at 14 52 39

Changes:

1. Change typo on props:  `backGroundColor` to `backgroundColor`
2. Added `centerTitle`, so we can center both status and title.
3. Added `enableEnterToSubmit`, so if we press enter on keyboard it will send the message instead of adding new line
4. Some default values are now added to the props instantiation, to simplify code, such as `elevation`
@lcsvcn lcsvcn changed the title feat: Added centerTitle and enableEnterToSubmit feat!: Added centerTitle and enableEnterToSubmit Nov 19, 2024
@lcsvcn lcsvcn changed the title feat!: Added centerTitle and enableEnterToSubmit feat: Added centerTitle and enableEnterToSubmit Nov 19, 2024
@lcsvcn lcsvcn changed the title feat: Added centerTitle and enableEnterToSubmit feat!: Added centerTitle and enableEnterToSubmit Nov 19, 2024
@lcsvcn lcsvcn changed the title feat!: Added centerTitle and enableEnterToSubmit feat!: Added centerTitle + enableEnterToSubmit + added some fixes to props names Nov 19, 2024
@lcsvcn lcsvcn changed the title feat!: Added centerTitle + enableEnterToSubmit + added some fixes to props names feat!: Added centerTitle + enableEnterToSubmit + some fixes to props names Nov 19, 2024
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.

1 participant