kirklin / celeris-web

Celeris Web is a highly performant and customizable front-end development template built with Vue 3, Vite, and TypeScript. It features the latest syntax, components and APIs auto importing, state management, Chinese font presets, internationalization, and integration with OpenAI's ChatGPT API.
https://celeris-web.vercel.app/
MIT License
407 stars 60 forks source link

Refactor Redundant Settings Hooks in Composables Folder #4

Open kirklin opened 1 year ago

kirklin commented 1 year ago

Clear and concise description of the problem

I would like to propose a refactoring of the composables folder's settings hooks as I believe they currently contain redundant code. In the composables folder, there are multiple setting hooks that appear to have similar functionality and may be redundant. This redundancy can make the codebase harder to maintain and extend.

Suggested solution

I propose refactoring the composables in the settings folder to streamline and eliminate redundancy.

Alternative

One alternative solution would be to leave the code as it is. However, this may lead to ongoing maintenance challenges and increased complexity over time.

Additional context

No response

Validations