mirror of https://github.com/buster-so/buster.git
feat: update CreateChatButton text and variant for BUS-1677
- Change button text from 'Start chat' to 'Edit with AI' - Change button variant from 'black' to 'default' - Update tooltip title to match new button text Co-Authored-By: nate@buster.so <nate@buster.so>
This commit is contained in:
parent
994de467c6
commit
eb9db94cb7
|
@ -16,15 +16,15 @@ export const CreateChatButton = React.memo(
|
|||
useHotkeys('e', onCreateFileClick, { preventDefault: true });
|
||||
|
||||
return (
|
||||
<AppTooltip title={'Start chat'} shortcuts={['e']} delayDuration={650}>
|
||||
<AppTooltip title={'Edit with AI'} shortcuts={['e']} delayDuration={650}>
|
||||
<Button
|
||||
loading={loading}
|
||||
onClick={onCreateFileClick}
|
||||
variant="black"
|
||||
variant="default"
|
||||
className="ml-1.5"
|
||||
prefix={<Stars />}
|
||||
>
|
||||
Start chat
|
||||
Edit with AI
|
||||
</Button>
|
||||
</AppTooltip>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue