Skip to content

Commit e1dda0f

Browse files
committed
remove wand icon, adjust idea buttons
1 parent a60b390 commit e1dda0f

File tree

3 files changed

+4
-20
lines changed

3 files changed

+4
-20
lines changed

packages/frontend/src/components/AiBuilder/components/AIFormModalContent.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,7 @@ export const AIFormModalContent = ({
125125
Back
126126
</Button>
127127
)}
128-
<Button
129-
type="submit"
130-
leftIcon={<FaWandMagicSparkles />}
131-
isDisabled={!isValid}
132-
>
128+
<Button type="submit" isDisabled={!isValid}>
133129
{isCreate ? 'Create' : 'Update'}
134130
</Button>
135131
</Flex>

packages/frontend/src/components/AiBuilder/components/IdeaButtons.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ export default function IdeaButtons({
2020
const isForm = builderType === 'form'
2121

2222
return (
23-
<Flex flexDir="column">
24-
<FormLabel isRequired>
23+
<Flex flexDir="row" alignItems="center">
24+
<FormLabel isRequired style={{ margin: 0, marginRight: '0.5rem' }}>
2525
{/* arbitrary isRequired to hide optional text */}
26-
Need inspiration? Try one of these:
26+
Try:
2727
</FormLabel>
2828
<Flex
2929
flexDir="row"

packages/frontend/src/components/AiBuilder/constants.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ export const AI_FORM_IDEAS = [
3737
actions:
3838
"Find the attendee in Tiles\nIf the attendee is found, update the Attended? column to Yes\nIf the attendee is not found, create a new row in Tiles with the attendee's details.",
3939
},
40-
{
41-
label: 'Send follow ups',
42-
icon: 'BiEnvelope',
43-
trigger: 'When a new form submission is received',
44-
actions: 'Send a follow up email to the customer.',
45-
},
4640
]
4741

4842
export type AiFormIdea = {
@@ -71,12 +65,6 @@ export const AI_CHAT_IDEAS = [
7165
input:
7266
"When a new event attendance is received, find the attendee in Tiles. If the attendee is found, update the Attended? column to Yes. If the attendee is not found, create a new row in Tiles with the attendee's details.",
7367
},
74-
{
75-
label: 'Send follow ups',
76-
icon: 'BiEnvelope',
77-
input:
78-
'When a new form submission is received, send a follow up email to the customer.',
79-
},
8068
]
8169

8270
export type AiChatIdea = {

0 commit comments

Comments
 (0)