Commit graph

43 commits

Author SHA1 Message Date
ccbikai
225579ba68 chore: eslint & ai rules 2025-07-20 11:34:36 +08:00
ccbikai
c3d7e4ab36 chore: remove unused @faker-js/faker dependency from package.json and pnpm-lock.yaml 2025-07-20 11:17:55 +08:00
ccbikai
5f9cd9675d feat(test): migrate to cloudflare worker test suite
Modernizes testing infrastructure with dedicated Cloudflare Workers test pool:

- Replaces Nuxt Test Utils with @cloudflare/vitest-pool-workers
- Adds structured test organization for API endpoints
- Introduces comprehensive testing patterns and examples
- Implements schema-based test data generation with zod-mock
- Enhances test utilities with proper CF Workers environment

The new testing setup provides better isolation, more realistic worker runtime environment, and improved test data management through structured schemas and generators.
2025-05-29 20:54:44 +08:00
ccbikai
a6ea1391f2 feat(test): add comprehensive testing guidelines
Establishes clear testing standards and best practices:

- Mandates unit testing for all API endpoints
- Defines test organization and file structure
- Introduces testing scope and strategy
- Documents best practices for writing tests
- Sets minimum coverage requirements (80%)
- Adds test data management guidelines

Updates project documentation to reflect testing requirements and development workflow. Includes practical examples of good testing patterns and proper test organization.
2025-05-28 19:50:56 +08:00
ccbikai
1f213a1798 chore: 0.2.0 2025-05-23 12:14:36 +08:00
ccbikai
0b9960b5d8 chore: update project configuration and dependencies
- Adds new path aliases for improved code organization
- Updates dependencies to latest versions including vue-sonner v2.0.0
- Removes sourcemap configuration from Nuxt config
- Enhances API documentation with OpenAPI schemas
- Removes unused security schemes and Wrangler configuration

These changes modernize the project setup while improving documentation and removing unnecessary configurations.
2025-05-22 19:41:25 +08:00
ccbikai
efbd6c7994 chore: update Node.js version and optimize build configuration 2025-05-21 12:15:04 +08:00
ccbikai
5fae865fbe Merge branch 'master' into worker 2025-05-20 22:00:38 +08:00
ccbikai
2bbb905ac8 perf: optimize dashboard components and lazy loading
Enhances dashboard performance through strategic component optimizations:

- Removes redundant v-if condition from chart component
- Implements lazy loading for the resource-intensive globe component
- Bumps package version to 0.1.12

These changes improve initial load time and runtime performance while maintaining functionality.
2025-05-20 21:46:49 +08:00
ccbikai
55753ec8bc feat: update dependencies and enhance API documentation in Nuxt configuration 2025-05-20 19:27:27 +08:00
ccbikai
852755ee1d feat: enhance globe visualization with traffic arcs
Adds real-time visualization of traffic flow between user locations and data centers on the 3D globe:

- Implements arc animations for traffic visualization
- Adjusts globe colors and atmosphere for better visibility
- Adds data center (colo) location mapping
- Centers initial view on user's current location
- Improves mobile responsiveness and layout
- Adds cleanup handling for globe resources

Performance and UX improvements:
- Optimizes globe rotation speed and controls
- Updates time picker layout with logical grouping
- Enhances responsive design for dashboard components
2025-05-18 20:50:56 +08:00
ccbikai
0dd263c354 feat: enhance realtime dashboard with time filters
Implements comprehensive time filtering and visualization improvements:

- Adds time range picker with presets from 5min to 24h
- Enhances chart visualization with minute-level granularity
- Updates globe visualization to respond to time/filter changes
- Implements animated event log display
- Swaps primary/secondary color scheme for better contrast

Improves realtime data handling with automatic updates and proper cleanup on unmount. Includes i18n support for new time picker UI across all supported languages.
2025-05-18 19:06:28 +08:00
ccbikai
63cd5e9503 feat: add realtime log and globe 2025-05-11 17:48:46 +08:00
ccbikai
f9d76b7562 chore: 0.1.11 2025-05-11 13:35:01 +08:00
ccbikai
d6b542fb9d chore: 0.1.10 2025-03-18 22:09:02 +08:00
ccbikai
71654dcbc8 feat: add bot traffic filtering for access logs
Adds configuration option NUXT_DISABLE_BOT_ACCESS_LOG to exclude bot/crawler traffic from access statistics

- Updates ua-parser-js to stable v2.0.3
- Detects bots via CloudFlare bot management and user agent analysis
- Documents new config option in configuration.md and FAQs
2025-03-16 12:57:05 +08:00
ccbikai
17c1c8747e Merge branch 'master' into i18n 2025-03-16 11:02:00 +08:00
wudi
e563d55852 feat: Add internationalization (i18n) support
Implemented multi-language support for the application:
- Added @nuxtjs/i18n plugin configuration
- Created locale files for English (en-US) and Chinese (zh-CN)
- Updated components to use translation keys
- Added language switcher in header
- Configured VSCode i18n-ally settings
- Prepared translation infrastructure for future language expansions
2025-03-03 11:21:39 +08:00
ccbikai
9e8aac7448 chore(deps): bump version from 0.1.8 to 0.1.9 2025-03-02 18:20:54 +08:00
ccbikai
67c588eb12 feat: add mobile-responsive drawer for search & filters
Replaces desktop-only popover components with responsive alternatives:
- Adds drawer component for mobile view using vaul-vue
- Extracts shared templates for reusability
- Adjusts layout and height based on viewport size
- Maintains desktop popover behavior on larger screens

Improves mobile user experience while preserving desktop functionality
2025-03-02 15:56:20 +08:00
ccbikai
8beff2ea7d 0.1.8 2024-12-29 21:12:55 +08:00
ccbikai
480824f36f chore: update dependencies and lockfile
- Downgrade @nuxthub/core from ^0.8.10 to 0.7.11 for compatibility.
- Upgrade nuxt from ~3.12.4 to ~3.13.2 to incorporate recent improvements.
- Update rollup version in various dependencies to 4.18.0 for better performance and stability.
- Adjust pnpm-lock.yaml to reflect changes in package versions and dependencies.

These updates aim to enhance stability and performance while ensuring compatibility across the project.
2024-12-25 12:12:06 +08:00
ccbikai
ff0c2ad1eb fix(deps): downgrade nuxt to v3.12.4
Reverts nuxt to a more stable version by downgrading from 3.14.1592 to 3.12.4 to avoid potential breaking changes and instability issues with the beta release.

Adjusts pnpm lockfile to reflect version change and dependencies.
2024-12-24 22:26:49 +08:00
ccbikai
df9f13fe3a chore: 升级到最新包 2024-12-24 21:09:21 +08:00
ccbikai
0dc65bc64a chore: 0.1.7 2024-12-24 12:43:57 +08:00
ccbikai
b7c8ebd045 feat: replace counters with animated number flows
Integrates @number-flow/vue for smoother counter animations
Improves visibility state with opacity and blur adjustments
Removes unused static increment comments
2024-12-24 12:43:35 +08:00
ccbikai
842a8ab561 feat: Add link search function 2024-12-23 20:57:16 +08:00
ccbikai
e995d5063f chore: v0.1.6 2024-12-15 20:54:50 +08:00
ccbikai
639368a8ba 0.1.5 2024-12-06 18:47:49 +08:00
ccbikai
12e3e7c7bc 0.1.4 2024-08-20 21:25:30 +08:00
ccbikai
36e7962b83 chore: update dependencies 2024-08-18 19:38:04 +08:00
ccbikai
b116d4c007 feat: enable AI integration and update dependencies
- Activated AI functionality in Nuxt configuration
- Updated AI model to a newer version for enhanced performance
- Bumped @nuxthub/core to 0.7.3 for critical bug fixes and improvements
2024-08-18 19:01:14 +08:00
ccbikai
2856c4013f 0.1.3 2024-07-21 20:51:29 +08:00
ccbikai
01be05c0fc chore: Update package dependencies and optimize imports 2024-07-08 20:28:38 +08:00
面条
503e62aa9e
chore: bump version 2024-06-14 18:56:48 +08:00
ccbikai
14ff257216 chore: Update Node.js version to v20.11 2024-06-12 20:31:43 +08:00
ccbikai
686ecd151a docs: add API Docs 2024-06-12 20:28:23 +08:00
ccbikai
3e2878c107 chore: Update Node.js version to 20.11.0 2024-06-08 14:37:43 +08:00
ccbikai
d0d0fc65e5 perf: build map 2024-06-08 14:34:34 +08:00
ccbikai
e4e6369f5c chore: update package.json version to 0.1.1 2024-06-02 20:25:52 +08:00
ccbikai
66f202d3d1 feat: optimize theme switcher and fix style issues 2024-06-02 20:11:57 +08:00
QuentinHsu
e8767a5ca2
feat: switch theme 2024-05-31 23:53:39 +08:00
ccbikai
bd47e755d5 feat: init 2024-05-25 08:09:30 +08:00