A shared folder with AI prompts and code snippets
From workspace: BASE44
Team: Main
Total snippets: 8
8 snippets
Freeze the task list logic from being overwritten in future prompts.
Freeze all task-related components. Freeze: – TaskList.tsx – AddTaskInput.tsx – State logic for task actions
Create an app with only one core feature and supporting UI — no extra components or boilerplate.
Create an app with one core feature: a task list with the ability to add, mark complete, and delete tasks. Include: – No database, store data in memory – Use Tailwind for styling – Add clear structure: input, list, checkboxes, delete buttons ...
Press Enter to submit task from input field.
Allow users to press Enter to add a task. Include: – Keyboard support for the input field – Submit on Enter – Prevent submission if invalid
Rebuild the app using the original one-feature task structure.
Rebuild this app with the original task-list layout. Include: – Input field – Task list with checkbox and delete – Tailwind styling – No backend, in-memory only
Add buttons to filter between “All”, “Active”, and “Completed” tasks.
Add 3 buttons above the task list to filter tasks by status. Include: – “All”, “Active”, and “Completed” filters – Style active button – Filter tasks in-memory only
Support dark mode with Tailwind `dark:` variants.
Add dark mode support to the app. Include: – Tailwind `dark:` classes – Toggle dark/light theme – Store theme in localStorage
Prevent users from adding empty or duplicate tasks.
Add validation to the task input field. Include: – Prevent empty input – Prevent duplicate task names – Show inline error message below the field
Allow users to edit existing task names.
Add an “Edit” button next to each task. Include: – Inline editing of task text – Save on blur or Enter – Revalidate for empty/duplicate names