Commit Graph

26 Commits

Author SHA1 Message Date
Jurangren
fe5f836b87 chore: 将域名从 searchgal.homes 迁移至 searchgal.top并增加API节点
- 更新所有环境配置文件中的 API 和站点域名为 searchgal.top。
- 在 api.json 中新增多个区域的 ClawCloud API 节点。
2026-01-28 04:24:08 +08:00
AdingApkgg
129df93694 chore: update API references in documentation and code
- Updated README.md to reflect the correct Cloudflare Workers API link for SearchGal.
- Modified search.ts to reference the updated API documentation link.
- Changed deployUrl in api.json to point to the correct SearchGal repository.
2026-01-20 11:49:59 +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
33811051b7 Remove unused configuration files and improve TypeScript settings
- Deleted eslint.config.mjs and tailwind.config.ts as they are no longer needed.
- Updated tsconfig.json to include additional TypeScript files for better project structure.
- Refactored various components to enhance modal management and improve code clarity.
- Changed console.log statements to console.info for consistent logging practices across the application.
2025-12-28 08:07:10 +08:00
AdingApkgg
7d5e789bb0 Add service worker update notification and countdown feature
- Implemented a toast notification to inform users of available service worker updates, enhancing user awareness of new versions.
- Added a countdown timer for automatic updates, allowing users to manually trigger the update if desired.
- Refactored service worker update handling in main.ts to integrate the new notification system, improving user experience during updates.
2025-12-27 06:54:54 +08:00
AdingApkgg
7c522b8108 Implement video parsing API configuration and enhance settings management
- Added a new function to retrieve the Video Parse API URL from settings, improving flexibility in API configuration.
- Updated SettingsModal.vue to include an input field for the Video Parse API URL, allowing users to customize their settings.
- Refactored the handling of video parsing API URL in the fetchGameVideoUrl function to utilize the new settings-based approach.
- Enhanced the settings store to include videoParseApiUrl, ensuring consistent access across components.
2025-12-27 06:32:09 +08:00
AdingApkgg
d785fb59da Add video parsing API and enhance translation functionality in VndbPanel.vue
- Introduced a new API for fetching game PV video URLs, improving multimedia support.
- Added a video player component in VndbPanel.vue to display PV videos, enhancing user engagement.
- Refactored translation logic to allow for a single API request to translate descriptions, tags, and quotes simultaneously, improving efficiency.
- Updated loading states and error handling for translations and video fetching, ensuring a smoother user experience.
2025-12-27 06:23:27 +08:00
AdingApkgg
993de8bc16 Enhance search functionality and improve friend logo handling in components
- Added a comment in fetchVndbQuotes to clarify the increase in quote results based on user feedback.
- Implemented a function to extract domain names from URLs for better handling of friend logos in SearchHeader.vue.
- Updated logo error handling to utilize Google Favicon service as a fallback, improving user experience when logos fail to load.
- Adjusted the number of quotes displayed in VndbPanel.vue from 5 to 10, enhancing content visibility for users.
- Improved comments in VndbPanel.vue to clarify data loading behavior during component lifecycle events.
2025-12-27 02:37:27 +08:00
AdingApkgg
5aa86ff03c Enhance settings management and custom code application in App.vue and SettingsModal.vue
- Integrated custom JavaScript and HTML functionality into the application, allowing users to apply their scripts and markup dynamically.
- Updated API configuration handling in search.ts to utilize settings from the store, improving flexibility and maintainability.
- Refactored theme application logic to ensure custom styles are applied correctly during component lifecycle events.
- Improved the user interface in SettingsModal.vue with an IDE-style code editor for better user experience when editing custom code.
2025-12-27 02:17:43 +08:00
AdingApkgg
e4f3633b89 Update fetchVndbQuotes to increase results limit and refactor translation logic in VndbPanel for improved API handling
- Increased the number of results returned by fetchVndbQuotes from 10 to 25 for better data retrieval.
- Refactored translation logic in VndbPanel.vue to execute tasks sequentially, preventing API rate limiting and ensuring accurate game ID checks during translations.
2025-12-27 01:02:31 +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
a3bed57fbb Fix filter structure in fetchVndbQuotes and enhance screenshot validation in VndbPanel.vue
- Updated the filter format in fetchVndbQuotes to directly use vnId for improved clarity.
- Added a check in VndbPanel.vue to ensure the current game ID matches before processing screenshots, preventing unnecessary updates.
2025-12-26 21:17:01 +08:00
AdingApkgg
d88f715df9 Refactor image handling and layout in VndbPanel.vue and search.ts
- Updated image URL handling in fetchVndbCharacters to ensure proper proxy usage.
- Enhanced VndbPanel.vue layout with improved image placeholders and loading animations.
- Adjusted voice actor and character display logic to show more entries in a responsive grid format.
- Improved overall UI consistency with new gradient backgrounds and overlay text for better readability.
2025-12-26 15:03:24 +08:00
AdingApkgg
d5536b0f0e Enhance VndbPanel and related components with character and quote features
- Updated VndbPanel.vue to include new sections for displaying characters and quotes, enhancing the overall functionality.
- Added support for fetching and displaying character details and quotes from the VNDB API.
- Improved the UI with loading indicators and toggle buttons for expanded sections.
- Refactored translation handling to support quotes and added a one-click translation feature for all content.
- Cleaned up the codebase by optimizing imports and restructuring state management for better clarity.
2025-12-26 14:41:54 +08:00
AdingApkgg
919761a232 Refactor VndbPanel and related components to enhance functionality and UI
- Removed the Fancybox integration and related code from the project.
- Updated VndbPanel.vue to include new features such as displaying voice actors, related works, and external links.
- Enhanced the structure of VndbInfo to include additional fields like tags, relations, and developers.
- Improved the image handling and gallery functionality for better user experience.
- Cleaned up the codebase by removing unused imports and optimizing component logic.
2025-12-26 13:39:22 +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
16e7dacd97 feat: 添加 lucide-vue-next 图标库并优化组件样式
* 在 `package.json` 中添加 `lucide-vue-next` 依赖,增强图标使用灵活性。
* 更新多个组件,替换 Font Awesome 图标为 lucide-vue-next 图标,提升视觉一致性。
* 优化 `CommentsModal.vue`、`FloatingButtons.vue`、`SearchHeader.vue` 等组件的样式,确保在不同主题下的可读性和美观性。
* 调整搜索结果和设置面板的布局,提升用户体验。
2025-11-27 15:20:07 +08:00
AdingApkgg
47288cfdaa feat: 增强艳粉主题样式与组件视觉效果
* 更新 `index.html` 中的进度条样式,增加渐变色和动画效果,提升用户体验。
* 在 `tailwind.config.js` 中添加艳粉主题配色和自定义样式,增强主题一致性。
* 引入液态玻璃效果于多个组件,提升视觉层次感。
* 优化 `SearchHeader.vue` 和 `VndbPanel.vue` 中的标题和按钮样式,确保在不同主题下的可读性。
* 更新 `SettingsModal.vue` 和 `TopToolbar.vue` 的样式,增强用户交互体验。
2025-11-27 05:19:15 +08:00
AdingApkgg
a62ca55519 feat: 更新依赖项与优化组件样式
* 在 `package.json` 中添加 ESLint 相关依赖,增强代码质量管理。
* 更新 `index.html` 中的样式,移除图片懒加载的默认透明度设置,避免显示问题。
* 在 `App.vue` 和其他组件中优化代码格式,提升可读性和一致性。
* 更新 `env.d.ts` 文件,添加类型注释以支持 Vue 组件的类型定义。
* 在 `StatsCorner.vue` 中引入过渡效果,提升用户体验。
2025-11-20 15:57:39 +08:00
AdingApkgg
8112b2704e feat: 更新 README 文档与组件,增强用户体验
* 在 `README.md` 中添加项目介绍、特性、技术栈和安装指南,提供更全面的项目信息。
* 在 `App.vue` 中恢复搜索状态,提升用户体验。
* 更新 `search.ts`,扩展 VNDB 信息结构,支持更多游戏数据字段。
* 在 `FloatingButtons.vue` 中新增分享和站点导航按钮,优化交互功能。
* 移除 `PlatformNav.vue` 组件,整合导航功能至 `FloatingButtons.vue`,简化结构。
* 在 `SearchHeader.vue` 中添加搜索历史功能,提升搜索效率。
* 更新 `VndbPanel.vue`,优化游戏信息展示,增加开发商和平台信息显示。
2025-11-20 03:03:53 +08:00
AdingApkgg
0437eaab8c feat: 更新搜索功能与标签系统,增强用户体验
* 更新 `search.ts`,调整 API 文档链接并优化请求格式,支持 Cloudflare Workers API。
* 在 `SearchHeader.vue` 中新增标签说明,帮助用户快速理解资源特性。
* 在 `SearchResults.vue` 中重构标签显示,增加样式和图标映射,提升视觉效果与信息传达。
2025-11-20 02:27:08 +08:00
AdingApkgg
bc33653874 feat: 添加 VNDB 面板与翻译功能,优化组件样式
* 在 `App.vue` 中引入 `VndbPanel` 组件,增强用户体验。
* 更新 `search.ts`,新增翻译功能以支持文本翻译。
* 优化 `CommentsModal.vue` 和 `FloatingButtons.vue` 的样式,提升视觉一致性。
* 重构 `PlatformNav.vue` 和 `SearchHeader.vue`,调整布局与样式以适应新设计。
* 更新 `SearchResults.vue`,移除冗余的 VNDB 信息面板,简化结构。
* 在 `index.html` 中优化元数据与样式,提升 SEO 效果。
2025-11-18 00:13:20 +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