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(boxai-sidebar): Fix Clear conversation icon #3818

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

Conversation

DanilaRubleuski
Copy link
Contributor

Description

Fixed icon size and added tooltip with Clear conversation text to the Clear button in BoxAISidebar header.

Screenshots

image
Screen.Recording.2024-12-23.at.14.59.51.mov

@DanilaRubleuski DanilaRubleuski requested review from a team as code owners December 23, 2024 14:01
@kkuliczkowski-box kkuliczkowski-box force-pushed the box-ai-clear-conversation branch from 297d949 to 364f9f6 Compare December 27, 2024 11:04
onClick={onClearAction}
size="x-small"
/>
{ isResetChatEnabled &&
Copy link
Contributor

@marcoartaviaq marcoartaviaq Dec 27, 2024

Choose a reason for hiding this comment

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

🔧 I suggest that instead of duplicating this component, please abstract the implementation from the shared feature box ai content answers, and pass the additional props and expose it through the main index file.

That way, if we want in the future to modify the icon, text or tooltip we have only 1 source of truth for them

Copy link
Contributor

Choose a reason for hiding this comment

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

i've been noticing a lot of formatting changes are happening in recent PRs. are you pushing with a --no-verify? there's a git husky hook that should be formatting the staged files with prettier

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.

5 participants