Actions
dev #1996
opendev #1994: [Module] Tool submission and verification
[FE] Submission Tool
Status:
In Progress
Priority:
High
Assignee:
Lutfor Rahman
Target version:
-
Start date:
03/04/2025
Due date:
% Done:
37%
Estimated time:
8:00 h (Total: 93:00 h)
Spent time:
28:00 h (Total: 75:00 h)
Description
Feature: Develop Multi-Step Form Architecture for AI Tool Submission¶
Tasks:¶
-
Develop the Tool Submission Page Title and Description:
- Create a header component for the tool submission page.
- Location for new header component:
src/app/submit-ai/components/SubmitHeader.tsx
-
Create a Multi-Step Form Architecture:
- Implement a multi-step form with a stepper component for navigation.
- Location for multi-step form and stepper components:
src/app/submit-ai/components/MultiStepForm.tsxsrc/components/ui/stepper.tsx
- Location for multi-step form and stepper components:
- Sub-tasks:
-
(I) Integrate and style a stepper component:
- Stepper indicator and title
- Stepper separator
- Stepper buttons: Previous, Next, and Continue
-
(II) Develop three-step form:
-
(I) Step 1 Form:
- Location:
src/app/submit-ai/components/ToolBasicInfo.tsx - Sub-tasks:
- a. Title
- b. Fields:
- Inputs (Tool name, tool overview, price, pricing plan, pricing plan URL)
- Paired: Select & Input (Platform URLs)
- Component:
src/components/form/fields/CustomInputField.tsx
- Component:
- Text editor with skeleton (Tool description)
- Components:
src/components/form/text-editor/ToolDescriptionEditor.tsx - Skeleton:
src/components/form/text-editor/TextEditorSkeleton.tsx
- Components:
- Checkbox (Price)
- Component:
src/components/form/fields/CustomCheckboxField.tsx
- Component:
- Tool description
- Component:
src/components/form/text-editor/ToolDescriptionEditor.tsx
- Component:
- c. Skeletons
- Location:
src/app/submit-ai/components/ToolBasicInfoSkeleton.tsx
- Location:
- Location:
-
(II) Step 2 Form:
- Location:
src/app/submit-ai/components/ToolMediaInfo.tsx - Sub-tasks:
- a. Title
- b. Fields:
- Uploader (Logo and Featured image)
- Component:
src/components/form/fields/CustomLogoUploader.tsx
- Component:
- Selector (Category)
- Component:
src/components/form/fields/CustomCategorySelect.tsx
- Component:
- Multi selector (Tags, Target Users)
- Components:
src/components/form/fields/CustomTagField.tsx src/components/form/fields/CustomTargetUsersField.tsx
- Components:
- Text editor with skeletons (Key features, Use cases, Target users)
- Location:
src/components/form/text-editor
- Location:
- Input (Email)
- Component:
src/components/form/fields/CustomInputField.tsx
- Component:
- Uploader (Logo and Featured image)
- c. Skeletons
- Location:
src/app/submit-ai/components/ToolMediaInfoSkeleton.tsx
- Location:
- Location:
-
(III) Step 3 Form:
- Location:
src/app/submit-ai/components/ToolAdditionalInfo.tsx - Sub-tasks:
- a. Title
- b. Fields:
- Input (Tool video URL)
- Component:
src/components/form/fields/CustomInputField.tsx
- Component:
- Text editor with skeleton (Pros and cons)
- Component:
src/components/form/text-editor/ProsAndConsEditor.tsx
- Component:
- Paired: Select & Input (Social links and App links)
- Component:
src/components/form/fields/CustomSocialLinksSelector.tsx
- Component:
- ReCAPTCHA integration
- Create a reCAPTCHA provider.
- Location:
src/components/form/provider/ReCaptchaProvider.tsx
- Location:
- Create a route for verifying reCAPTCHA
- Location:
src/app/api/verify-recaptcha/route.ts
- Location:
- Use the reCAPTCHA set-up within the tool submission page.
- Location:
src/app/submit-ai/page.tsx
- Location:
- Create a reCAPTCHA provider.
- Input (Tool video URL)
- c. Skeletons
- Location:
src/app/submit-ai/components/ToolAdditionalInfoSkeleton.tsx
- Location:
- Location:
-
(I) Step 1 Form:
-
(I) Integrate and style a stepper component:
- Implement a multi-step form with a stepper component for navigation.
Actions