Skip to content

Commit

Permalink
feat: remove duplicate lines
Browse files Browse the repository at this point in the history
  • Loading branch information
iib0011 committed Mar 2, 2025
1 parent 1143672 commit 71e052a
Show file tree
Hide file tree
Showing 11 changed files with 731 additions and 98 deletions.
1 change: 1 addition & 0 deletions .codebuddy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
db/
39 changes: 39 additions & 0 deletions .codebuddy/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Project Summary

## Overview of Technologies Used
This project is primarily built using the following technologies:
- **Languages**: TypeScript, JavaScript, HTML, CSS
- **Frameworks**:
- React (for building user interfaces)
- Playwright (for end-to-end testing)
- **Main Libraries**:
- Tailwind CSS (for styling)
- MUI (Material-UI for components)
- pnpm (for package management)

## Purpose of the Project
The project appears to be a web application that provides various tools for image, JSON, list, number, and string manipulations. It is designed to offer users functionalities such as converting image formats, generating random numbers, and manipulating strings. The structure indicates a focus on modular components, making it easy to extend or modify specific tools without affecting the entire application.

## Build and Configuration Files
The following files are relevant for the configuration and building of the project:
- `Dockerfile`: `/Dockerfile`
- `package.json`: `/package.json`
- `pnpm-lock.yaml`: `/pnpm-lock.yaml`
- `playwright.config.ts`: `/playwright.config.ts`
- `postcss.config.mjs`: `/postcss.config.mjs`
- `tailwind.config.mjs`: `/tailwind.config.mjs`
- `tsconfig.json`: `/tsconfig.json`
- `vite.config.ts`: `/vite.config.ts`
- `commitlint.config.js`: `/commitlint.config.js`

## Source Files Directory
The source files can be found in the following directory:
- `/src`

## Documentation Files Location
Documentation files are located in the root directory:
- `README.md`: `/README.md`
- `LICENSE`: `/LICENSE`
- `CODEOWNERS`: `/CODEOWNERS`

This summary encapsulates the key aspects of the project, including its technological stack, purpose, file structure, and documentation locations.
206 changes: 116 additions & 90 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scripts/create-tool.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ import { Box } from '@mui/material';
import React from 'react';
import * as Yup from 'yup';
const initialValues = {};
type InitialValuesType = typeof initialValues;
type InitialValuesType = {};
const initialValues: InitialValuesType = {};
const validationSchema = Yup.object({
// splitSeparator: Yup.string().required('The separator is required')
});
Expand Down
12 changes: 8 additions & 4 deletions src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { DefinedTool } from '@tools/defineTool';
import { filterTools, tools } from '@tools/index';
import { useNavigate } from 'react-router-dom';
import _ from 'lodash';
import { Icon } from '@iconify/react';

const exampleTools: { label: string; url: string }[] = [
{
Expand Down Expand Up @@ -97,10 +98,13 @@ export default function Hero() {
{...props}
onClick={() => navigate('/' + option.path)}
>
<Box>
<Typography fontWeight={'bold'}>{option.name}</Typography>
<Typography fontSize={12}>{option.shortDescription}</Typography>
</Box>
<Stack direction={'row'} spacing={2} alignItems={'center'}>
<Icon fontSize={20} icon={option.icon} />
<Box>
<Typography fontWeight={'bold'}>{option.name}</Typography>
<Typography fontSize={12}>{option.shortDescription}</Typography>
</Box>
</Stack>
</Box>
)}
onKeyDown={(event) => {
Expand Down
2 changes: 2 additions & 0 deletions src/pages/tools/string/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { tool as stringRemoveDuplicateLines } from './remove-duplicate-lines/meta';
import { tool as stringReverse } from './reverse/meta';
import { tool as stringRandomizeCase } from './randomize-case/meta';
import { tool as stringUppercase } from './uppercase/meta';
Expand All @@ -11,6 +12,7 @@ import { tool as stringJoin } from './join/meta';
export const stringTools = [
stringSplit,
stringJoin,
stringRemoveDuplicateLines,
stringToMorse
// stringReverse,
// stringRandomizeCase,
Expand Down
Loading

0 comments on commit 71e052a

Please sign in to comment.