feat: add InstructionsBuilder, AttributeSchemaBuilder, and EventForm components to manage event actions and attributes

This commit is contained in:
SonPhung
2026-07-30 00:23:07 +07:00
parent 9dcae4ab0c
commit ebab0be932
3 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ export function AttributeSchemaBuilder({ control, register }: AttributeSchemaBui
return ( return (
<div className="space-y-4"> <div className="space-y-4">
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<h3 className="text-lg font-medium">Attributes Schema</h3> <h3 className="text-lg font-medium"></h3>
<Button <Button
type="button" type="button"
variant="outline" variant="outline"

View File

@@ -74,7 +74,7 @@ export function InstructionsBuilder({ control, register, setValue }: Instruction
return ( return (
<div className="space-y-4"> <div className="space-y-4">
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<h3 className="text-lg font-medium">Counter & Processing Actions</h3> <h3 className="text-lg font-medium"></h3>
<Button <Button
type="button" type="button"
variant="outline" variant="outline"

View File

@@ -247,7 +247,6 @@ export function EventForm() {
<Card> <Card>
<CardHeader> <CardHeader>
<CardTitle>Tracking Instructions</CardTitle> <CardTitle>Tracking Instructions</CardTitle>
<CardDescription>Configure rules for tracking attributes and triggering subsequent events.</CardDescription>
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<InstructionsBuilder control={control} register={register} setValue={setValue} /> <InstructionsBuilder control={control} register={register} setValue={setValue} />