diff --git a/.codebuddy/.gitignore b/.codebuddy/.gitignore index 9f4c740..1db7c29 100644 --- a/.codebuddy/.gitignore +++ b/.codebuddy/.gitignore @@ -1 +1,2 @@ -db/ \ No newline at end of file +db/ +docs diff --git a/.coding-aider-plans/refactor_tools_toolcontent.md b/.coding-aider-plans/refactor_tools_toolcontent.md new file mode 100644 index 0000000..997ac4b --- /dev/null +++ b/.coding-aider-plans/refactor_tools_toolcontent.md @@ -0,0 +1,20 @@ +[Coding Aider Plan] + +## Overview +This plan outlines the refactoring of existing tools to utilize a `ToolContent` component. This will standardize the structure and styling of tool content across the application, improving maintainability and user experience. + +## Problem Description +Currently, some tools directly render their content without using a common `ToolContent` component. This leads to inconsistencies in styling, layout, and overall structure. It also makes it harder to apply global changes or updates to the tool content areas. + +## Goals +- Identify tools that do not currently use `ToolContent`. +- Implement `ToolContent` in these tools. +- Ensure consistent styling and layout across all tools. + +## Additional Notes and Constraints +- The `ToolContent` component should be flexible enough to accommodate the different types of content used by each tool. +- Ensure that the refactoring does not introduce any regressions or break existing functionality. +- Consider creating a subplan if the number of tools requiring changes is large or if individual tools require complex modifications. + +## References +- Existing tools that already use `ToolContent` can serve as examples. diff --git a/.coding-aider-plans/refactor_tools_toolcontent_checklist.md b/.coding-aider-plans/refactor_tools_toolcontent_checklist.md new file mode 100644 index 0000000..50ef392 --- /dev/null +++ b/.coding-aider-plans/refactor_tools_toolcontent_checklist.md @@ -0,0 +1,9 @@ +[Coding Aider Plan - Checklist] + +- [ ] Create `ToolContent` component if it doesn't exist. +- [ ] Identify tools that do not use `ToolContent`. +- [x] For each identified tool: + - [x] Implement `ToolContent` wrapper. + - [ ] Adjust styling as needed to match existing design. + - [ ] Test the tool to ensure it functions correctly. +- [ ] Review all modified tools to ensure consistency. diff --git a/.coding-aider-plans/refactor_tools_toolcontent_context.yaml b/.coding-aider-plans/refactor_tools_toolcontent_context.yaml new file mode 100644 index 0000000..3fba323 --- /dev/null +++ b/.coding-aider-plans/refactor_tools_toolcontent_context.yaml @@ -0,0 +1,6 @@ +--- +files: +- path: src\pages\tools\list\duplicate\index.tsx + readOnly: false +- path: src\pages\tools\list\index.ts + readOnly: false diff --git a/.gitignore b/.gitignore index 162be48..e4b8e25 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ yarn-error.log* /playwright-report dist.zip +.aider* diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..d0a7784 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npx lint-staged \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 14ad7b1..fe178a4 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -4,7 +4,6 @@