27 Commits

Author SHA1 Message Date
AdingApkgg
201afc1493 chore: 更新网站主域名为 www.searchgal.top
- 移除旧域名重定向规则,不再将 www 和非 www 版本相互重定向
- 更新所有配置文件、环境变量和代码中的站点 URL 引用
- 更新文档中的示例链接和说明
- 删除 Vercel 重定向配置文件,简化部署配置
- 更新 Open Graph 和 Twitter 卡片中的元数据 URL
2026-01-31 07:32:01 +08:00
AdingApkgg
9b80b9429a feat: add search history management features in SettingsModal and SearchHeader
- Introduced a new section in SettingsModal for managing search history, including export and import functionality.
- Added visual prompts for users regarding the new domain change in SearchHeader.
- Implemented importHistory method in the history store to handle merging and deduplication of imported records.
2026-01-29 01:39:28 +08:00
Jurangren
fe5f836b87 chore: 将域名从 searchgal.homes 迁移至 searchgal.top并增加API节点
- 更新所有环境配置文件中的 API 和站点域名为 searchgal.top。
- 在 api.json 中新增多个区域的 ClawCloud API 节点。
2026-01-28 04:24:08 +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
aeaa9b6651 Refactor service worker fetch event handling and remove unused caching logic
- Simplified fetch event logic in sw.js to only process same-origin GET requests, improving clarity and performance.
- Consolidated caching strategies for documents and static resources, ensuring a more efficient response handling.
- Removed the unused cacheFirstCrossOrigin function to streamline the service worker code.
2025-12-27 03:37:41 +08:00
AdingApkgg
5e408eeceb Refactor service worker implementation and update caching strategies
- Simplified service worker code in sw.js by consolidating caching patterns and improving resource handling.
- Enhanced fetch event logic to streamline caching strategies for static resources and cross-origin requests.
- Updated service worker registration and update handling in main.ts for better version management and user experience.
- Improved offline page design and functionality for clearer user communication during network issues.
- Adjusted font family order in SettingsModal.vue for consistency in code editor styling.
2025-12-27 03:17:56 +08:00
AdingApkgg
62c0abd4ac Refactor modals to use consistent structure and remove window management features
- Updated CommentsModal.vue, SettingsModal.vue, and VndbPanel.vue to change the comment, settings, and VNDB panels from floating windows to modal dialogs.
- Removed the WindowResizeHandles component and related window management logic to simplify the modal implementation.
- Enhanced the styling and structure of modals for improved consistency across the application.
2025-12-26 21:47:36 +08:00
AdingApkgg
1e192cef3c Enhance service worker caching strategy and update fetchVndbQuotes filter structure
- Updated service worker to improve caching of static resources, including additional file types and core resources for faster loading.
- Refactored fetchVndbQuotes to modify filter structure for better clarity and functionality.
2025-12-26 21:21:19 +08:00
AdingApkgg
1f8928132e Remove friends.json and update SearchHeader.vue to import friend links directly from the new path. 2025-12-25 19:11:48 +08:00
kisugal
a722250cdd Update friends.json 2025-12-25 16:12:06 +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
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
23409c7ba0 feat: 更新图标资源与相关文档
* 将 `index.html`、`manifest.json`、`browserconfig.xml` 和其他文件中的图标链接从 `favicon.svg` 更新为 `logo.svg`,确保一致性。
* 删除不再使用的 `favicon.svg` 文件,简化项目结构。
* 更新 `FAVICON_GUIDE.md` 文档,反映图标文件的更改和生成方法。
2025-12-15 10:44:58 +08:00
AdingApkgg
f296d5387d feat: 添加表单编码类型以支持分享功能
* 在 `manifest.json` 中为分享目标添加 `enctype` 属性,设置为 `application/x-www-form-urlencoded`,以确保分享功能的正确性和兼容性。
2025-12-14 09:24:23 +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
a56f8a9286 feat: 增强 PWA 支持与 UI 体验
* 更新 `index.html`,添加防止 FOUC 的脚本和样式,优化主题切换体验。
* 替换 `pace-js` 为 `nprogress`,提升页面加载进度条的性能和视觉效果。
* 引入新的 `SearchHistoryModal` 组件,增强搜索历史功能。
* 更新多个组件以支持新的 UI 状态管理,确保一致性和可读性。
* 优化错误处理逻辑,提供更详细的网络错误信息。
* 删除不再使用的 `SearchHistory.vue` 组件,简化代码结构。
2025-12-14 07:16:53 +08:00
AdingApkgg
942f658648 fix: 更新 API 地址与依赖项版本
* 将 API 地址从 `https://cfapi.searchgal.homes` 更新为 `https://cf.api.searchgal.homes`,确保一致性。
* 更新 `package.json` 中的依赖项版本,包括 `@eslint/js`、`@tailwindcss/vite`、`@types/node`、`@typescript-eslint`、`vite`、`vue` 等,提升项目稳定性和性能。
* 替换 `lazysizes` 为 `lozad.js` 以优化图片懒加载,提升用户体验。
* 更新文档,确保 API 地址和使用示例的一致性。
2025-12-13 07:42:13 +08:00
AdingApkgg
052f9c5ed9 feat: 添加环境变量支持与PWA功能增强
* 更新 `.gitignore` 文件以包含环境变量文件 `.env` 和相关配置。
* 在 `env.d.ts` 中定义环境变量类型,支持 API 配置、功能开关和主题设置。
* 更新 `index.html`,添加 PWA 相关的 manifest 和 meta 标签,提升应用的安装体验。
* 引入 `lazysizes` 和 `quicklink` 以优化图片加载和链接预加载,提升性能。
* 更新多个组件以使用新的 UI 状态管理,确保一致性和可读性。
* 删除不再使用的 Font Awesome 图标,替换为 lucide-vue-next 图标,提升视觉一致性。
* 更新 `README.md`,添加环境变量配置说明和项目文档链接。
2025-11-27 18:21:09 +08:00
AdingApkgg
4d44d5b620 251127 2025-11-27 13:06:33 +08:00
AdingApkgg
94214a09de feat: 更新 favicon 设置与搜索标题样式
* 在 `index.html` 中更新 favicon 设置,添加 SVG 格式和 Apple Touch Icon,提升视觉效果。
* 在 `SearchHeader.vue` 中优化标题样式,移除不必要的图标,简化布局。
2025-11-20 04:17:51 +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
ecd98261e0 250710 2025-07-10 03:20:59 +08:00
AdingApkgg
9dd4f65c90 250710 2025-07-10 03:19:33 +08:00
AdingApkgg
9ff9307c8e 250710 2025-07-10 02:32:55 +08:00
AdingApkgg
85b2a00da1 250709 2025-07-09 17:32:29 +08:00