Skip to content

Refactore all codebase#12

Merged
0xtbug merged 6 commits intomainfrom
dev
Feb 11, 2026
Merged

Refactore all codebase#12
0xtbug merged 6 commits intomainfrom
dev

Conversation

@0xtbug
Copy link
Owner

@0xtbug 0xtbug commented Feb 11, 2026

No description provided.

0xtbug and others added 6 commits February 9, 2026 14:17
Introduce About page with app version and update functionality.
Add Login page for authentication and CLI proxy server management.
Implement Dashboard for comprehensive usage statistics and trends.
Create Providers page for managing API connections via OAuth.
Develop Quota page to display API rate limits and usage.
Integrate dedicated Zustand stores and presenter hooks for each feature.
Enhance user experience with privacy modes and interactive elements.

feat: introduce new UI framework, quota, and settings

Introduce a comprehensive set of new UI components (Shadcn-like).
Implement a responsive default layout with collapsible sidebar navigation.
Add a new Quota feature with detailed and compact views for providers.
Introduce a Settings page for CLI proxy, usage stats, theme, and language.
Establish core state management (Zustand) for CLI proxy, config, theme.
Integrate new API services for auth, config, OAuth, quota, and usage.
Provide utility hooks for app version, interval, and global refresh events.
Refactor page exports and add shared utility functions.

feat(utils): introduce new utility functions for language, privacy, and quota management
refactor(stores): remove stores barrel export as it is no longer needed
Reorganize application into a feature-sliced architecture to improve
modularity and maintainability.

- Move shared components, hooks, and utilities into a `shared` directory
 and update all relevant import aliases and paths.
- Centralize application constants (API, app, providers, routes, storage)
 into dedicated `src/constants` files for better organization.
- Refactor page components (`DashboardPage`, `ProvidersPage`, `QuotaPage`)
 to extract business logic into dedicated presenter hooks.
- Update store implementations to align with new constant paths and remove
 redundant comments.
- Extract API response parsing logic into dedicated `services/api/parsers`
 to separate concerns within the API layer.
- Introduce `RawApiCallResponse` type for improved type safety in API calls.

feat(types): add new quota types for various providers
refactor(types): remove PROVIDERS constant and ProviderId type definition
refactor(types): remove AuthFilesResponse comment
refactor(types): import ProviderId from '@/constants/providers'
refactor(utils): remove constants.ts file
build(Cargo.toml): update `Cargo.toml` version to `1.0.9`
- Trigger releases on `v*` tags to align with semantic versioning.
- Enable manual `workflow_dispatch` to allow on-demand releases.
- Automate version bumping in project files to ensure consistency.
- Introduce dedicated build jobs for macOS (universal) and Linux (x64)
 to expand platform support.
- Dynamically generate `latest.json` with update information for all
 platforms to enable comprehensive auto-updates.
- Add a note to macOS releases about code signing to inform users.
@0xtbug 0xtbug merged commit 12c6aa2 into main Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant