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: Chat bubble #21

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

feat: Chat bubble #21

wants to merge 34 commits into from

Conversation

cansuaa
Copy link
Contributor

@cansuaa cansuaa commented Aug 22, 2024

Description

New chat bubble component

Related links, issue #, if available: AWSDesignSystem-462

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.21%. Comparing base (ea82360) to head (68ab393).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   96.98%   99.21%   +2.22%     
==========================================
  Files          16       19       +3     
  Lines         398      508     +110     
  Branches       26       63      +37     
==========================================
+ Hits          386      504     +118     
+ Misses         12        4       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cansuaa cansuaa marked this pull request as ready for review October 7, 2024 14:14
@cansuaa cansuaa requested a review from a team as a code owner October 7, 2024 14:14
@cansuaa cansuaa requested review from dpitcock and removed request for a team October 7, 2024 14:14
pages/chat-bubble/util-components.tsx Outdated Show resolved Hide resolved
src/chat-bubble/__tests__/chat-bubble.test.tsx Outdated Show resolved Hide resolved
src/chat-bubble/__tests__/chat-bubble.test.tsx Outdated Show resolved Hide resolved
src/chat-bubble/__tests__/chat-bubble.test.tsx Outdated Show resolved Hide resolved
src/chat-bubble/index.tsx Show resolved Hide resolved
src/chat-bubble/internal.tsx Show resolved Hide resolved
src/chat-bubble/styles.scss Outdated Show resolved Hide resolved
src/chat-bubble/styles.scss Outdated Show resolved Hide resolved
@cansuaa cansuaa requested a review from pan-kot October 14, 2024 09:27
pages/chat-bubble/content-variants.page.tsx Outdated Show resolved Hide resolved
src/chat-bubble/interfaces.ts Outdated Show resolved Hide resolved
// SPDX-License-Identifier: Apache-2.0

export interface ChatBubbleProps {
/** Avatar slot paired with the chat bubble. */
Copy link
Member

Choose a reason for hiding this comment

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

Do we call "chat bubble" a message area only or the entire component?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here I mean the message area but if I say message area instead, not sure if it would be clear?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe "Avatar slot paired with the chat bubble content"?

src/chat-bubble/interfaces.ts Outdated Show resolved Hide resolved

describe("Chat bubble", () => {
afterEach(() => {
cleanup();
Copy link
Member

Choose a reason for hiding this comment

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

what this cleanup is for?

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