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

chatbot dock bottom border top #511

Merged
merged 3 commits into from
Mar 17, 2025

Conversation

yyfamazon
Copy link
Contributor

Description

No way to tell the dock border from the underlying app, added a line between dock bottom and border top

Issues Resolved

Screenshot 2025-03-17 at 16 53 40

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test.
  • New functionality has user manual doc added.
  • Commits are signed per the DCO using --signoff.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: yyfamazon <yyf@amazon.com>
Copy link
Collaborator

@raintygao raintygao left a comment

Choose a reason for hiding this comment

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

image
There is still some white block above the border, is this aligned with designers?

@yyfamazon
Copy link
Contributor Author

image There is still some white block above the border, is this aligned with designers?

Hi there is no design for this. Also I checked the margin-top: -8px, this is controlled by oui.

{
'llm-chat-fullscreen': props.flyoutFullScreen,
},
{ 'llm-chatbot-border-top': sidecarDockedMode === SIDECAR_DOCKED_MODE.TAKEOVER }
Copy link
Member

Choose a reason for hiding this comment

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

A UT would be nice to cover this case.

@SuZhou-Joe SuZhou-Joe merged commit a3a2076 into opensearch-project:main Mar 17, 2025
10 of 11 checks passed
@yyfamazon yyfamazon deleted the boarderTop branch March 20, 2025 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants