14 Commits

Author SHA1 Message Date
AdingApkgg
d4498e2f46 refactor: update PrismJS plugin in Vite configuration to use ESM import
- Renamed the PrismJS plugin to 'prismjs-esm-fix' for clarity.
- Modified the code transformation to use ESM import for 'prism-core', enhancing compatibility with modern module systems.
2026-03-31 00:04:57 +08:00
AdingApkgg
048560fd0a feat: add global fix for PrismJS in Vite configuration
- Introduced a new plugin to ensure PrismJS is correctly referenced in components, preventing issues with global scope.
- The plugin modifies the code for PrismJS components to use the appropriate global context, enhancing compatibility.
2026-03-30 23:59:32 +08:00
AdingApkgg
5cb5062c7a chore: update ESLint configuration and package dependencies
- Disabled the 'no-useless-assignment' rule in ESLint to accommodate <script setup> syntax in Vue components.
- Updated build and typecheck scripts in package.json for improved development workflow.
- Upgraded various dependencies, including ESLint, TypeScript, and Vue-related packages, to their latest versions for better performance and compatibility.
- Adjusted tsconfig settings for module resolution and removed unused options to streamline configuration.
2026-03-30 23:43:23 +08:00
AdingApkgg
92e0be566f refactor: update PWA registration and StatsCorner component for improved functionality
- Changed PWA registration type to 'autoUpdate' for immediate updates upon new version availability.
- Removed obsolete busuanzi elements and replaced the data fetching method with a new API call for site statistics.
- Simplified the UpdateToast component to trigger immediate updates without countdown, enhancing user experience.
2026-02-01 13:58:23 +08:00
AdingApkgg
04c802a84f feat: integrate PWA support with vite-plugin-pwa and remove legacy service worker files
- Added vite-plugin-pwa for enhanced PWA capabilities, including automatic service worker registration and caching strategies.
- Updated manifest configuration directly in vite.config.ts, removing the need for a separate manifest.json file.
- Removed legacy service worker and associated versioning plugin, streamlining the PWA setup.
- Adjusted UI components to reflect the new update handling mechanism for service workers.
2026-01-09 21:10:47 +08:00
AdingApkgg
666949e3fa Refactor sound management to utilize Web Audio API and remove snd-lib dependency
- Replaced snd-lib with Web Audio API for sound effects, enhancing performance and reducing external dependencies.
- Updated sound management functions to create and control audio contexts directly, improving sound playback reliability.
- Removed unused sound effect configurations and streamlined sound effect functions for better maintainability.
- Adjusted related components to ensure compatibility with the new sound management approach.
2026-01-07 06:00:13 +08:00
AdingApkgg
59ca9f924c Remove anime.js dependency and refactor SearchResults and SettingsModal components for improved performance and consistency
- Eliminated the use of anime.js in favor of simpler CSS transitions and effects.
- Updated SearchResults.vue to implement virtual scrolling for better performance with large result sets.
- Refactored SettingsModal.vue to enhance button interactions and remove unnecessary animation directives.
- Improved overall styling and structure for a more cohesive user experience across components.
2025-12-26 22:42:36 +08:00
AdingApkgg
3a98ad209c feat: 添加友情链接功能与更新组件样式
* 在 `SearchHeader.vue` 中添加友情链接展示功能,支持从 `/data/friends.json` 加载数据。
* 更新 `UpdateToast.vue` 中的倒计时逻辑,将倒计时从 3 秒延长至 5 秒。
* 优化 `vite.config.ts` 和其他组件的样式,提升整体用户体验。
* 在 `useSound.ts` 和 `ui.ts` 中清理多余的空行,保持代码整洁。
2025-12-25 15:18:20 +08:00
AdingApkgg
c46517da8b feat: 重构进度条与键盘快捷键帮助功能
* 移除 `nprogress` 依赖,替换为自定义进度条,使用 `anime.js` 实现更流畅的加载效果。
* 在 `index.html` 中优化主题检测与背景样式,提升用户体验。
* 添加键盘快捷键帮助面板,增强用户交互,支持通过快捷键显示/隐藏。
* 更新多个组件以集成新的键盘帮助功能,确保一致性和可用性。
* 优化 UI 状态管理,支持会话状态的恢复与清除,提升用户体验。
2025-12-21 11:30:04 +08:00
AdingApkgg
6e170c579c feat: 移除 Quicklink 配置与相关依赖
* 从 `.env.example` 和 `env.d.ts` 中移除 `VITE_QUICKLINK_DELAY` 和 `VITE_QUICKLINK_LIMIT` 配置,简化性能设置。
* 更新 `README.md` 和相关文档,删除 Quicklink 相关的使用示例和说明。
* 在 `package.json` 中移除 `quicklink` 依赖,确保项目依赖的整洁性。
* 优化 `vite.config.ts` 和其他组件,调整性能配置以适应新的加载策略。
2025-12-21 10:45:56 +08:00
AdingApkgg
921dd61b59 feat: 更新依赖与优化服务工作者
* 移除 `vue-router` 依赖,简化项目结构。
* 更新 `package.json` 和 `pnpm-lock.yaml`,确保依赖项的整洁性。
* 优化服务工作者 `sw.js`,引入缓存策略和版本管理,提升 PWA 性能。
* 更新多个组件的样式,增强用户界面的视觉一致性。
* 调整 `vite.config.ts`,引入新的插件以支持服务工作者版本管理。
2025-12-14 09:20:15 +08:00
AdingApkgg
ccb9e16365 feat: 完成项目从 Material 3 迁移至 Tailwind CSS,重构组件与样式
* 移除所有 Material Web Components 和 GSAP 相关依赖,简化项目结构。
* 更新 `index.html`,添加 favicon 和优化 PWA 相关设置。
* 重构多个组件(如 `CommentsModal.vue`, `SearchHeader.vue`, `SearchResults.vue`)以使用 Tailwind CSS,提升样式一致性和用户体验。
* 移除不必要的调试日志,优化代码清理。
* 更新 `package.json` 和 `pnpm-lock.yaml`,引入新的依赖以支持 Tailwind CSS 和 Font Awesome。
* 简化 Service Worker,优化缓存策略。
2025-11-17 18:07:02 +08:00
AdingApkgg
2a5aa51ff5 feat: 更新首页结构与样式,移除旧版主文件
*   在 `index.html` 中添加了新的元数据和样式,以提升SEO和用户体验。
*   移除 `src/main.js` 文件,简化项目结构,集中管理逻辑。
*   新增 `SearchHeader.vue` 组件,重构搜索表单和状态显示,优化用户交互。
*   更新样式以符合 Material 3 设计规范,增强视觉一致性。
2025-11-17 15:48:49 +08:00
AdingApkgg
85b2a00da1 250709 2025-07-09 17:32:29 +08:00