245 Commits

Author SHA1 Message Date
AdingApkgg
b11ff24780 refactor: 更新 Artalk 配置中的站点名称为“旮旯聚搜” 2026-02-22 08:10:59 +08:00
AdingApkgg
a7b23f813a chore: 更新依赖包至最新版本
更新所有开发依赖和运行时依赖到最新次要版本,包括 TypeScript 生态系统工具链、Vue 相关插件和 UI 库。同时将 pnpm 包管理器版本更新至 10.30.1 以保持开发环境一致性。
2026-02-21 14:00:05 +08:00
AdingApkgg
d43f9b86ee refactor: simplify domain change notification in SearchHeader component
- Consolidated the domain change message into a single paragraph for improved readability.
- Updated the link to the new domain, ensuring users are informed to update their bookmarks.
2026-02-04 22:36:13 +08:00
AdingApkgg
d864bd0718 refactor: update StatsCorner component to use new busuanzi API and remove obsolete script
- Removed the old busuanzi script from index.html.
- Updated StatsCorner.vue to use the new busuanzi API for fetching statistics.
- Improved error handling and response parsing in the fetchBusuanziStats function.
2026-02-01 15:50:29 +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
201afc1493 chore: 更新网站主域名为 www.searchgal.top
- 移除旧域名重定向规则,不再将 www 和非 www 版本相互重定向
- 更新所有配置文件、环境变量和代码中的站点 URL 引用
- 更新文档中的示例链接和说明
- 删除 Vercel 重定向配置文件,简化部署配置
- 更新 Open Graph 和 Twitter 卡片中的元数据 URL
2026-01-31 07:32:01 +08:00
AdingApkgg
b26a1abef0 fix: update API keys in api.json for consistency and clarity
- Changed API keys for Cloudflare, Vercel, Netlify, and ClawCloud entries to ensure uniformity.
- Removed redundant Netlify entries to streamline the API configuration.
2026-01-30 06:45:40 +08:00
AdingApkgg
e7c36e5ece fix: update Netlify API key in api.json for consistency
- Changed the key for the Netlify API entry from "netlify2api" to "netlify1api" to ensure clarity and consistency in API identification.
2026-01-30 06:13:15 +08:00
AdingApkgg
a32abd946c fix: reorder and update API server entries in api.json
- Moved Vercel API entry to a new position for better organization.
- Updated Netlify API entries to include distinct labels and URLs for clarity.
- Ensured all API entries are correctly formatted and aligned with the current project structure.
2026-01-30 06:12:54 +08:00
AdingApkgg
2898e6455c feat: enhance SettingsModal with search history management and project information
- Added a new section in SettingsModal for managing search history, including export and import functionality.
- Updated the project information card to provide links to the project's GitHub repositories.
- Removed the previous search history display and buttons, streamlining the settings interface.
- Integrated GitHub hash generation for dynamic repository links.
2026-01-29 03:03:28 +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
04c8e43ef7 feat: enhance URL handling and update API server configuration
- Renamed extractPath function to decodeUrl for clarity and updated its implementation to decode URLs properly.
- Modified SettingsModal to use a new default API key variable for better maintainability.
- Added new API server entries for Vercel and Netlify in api.json to expand available options.
2026-01-21 00:48:39 +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
c323ea1fd9 feat: implement sound settings management in App and SettingsModal components
- Added sound settings functionality, allowing users to enable or disable sound effects.
- Integrated sound initialization and synchronization with user settings in App.vue.
- Updated SettingsModal.vue to include a dedicated sound settings card with toggle functionality.
- Enhanced sound management in useSound.ts to support initialization and synchronization with settings store.
2026-01-20 10:08:08 +08:00
AdingApkgg
8d4d5a2fa9 chore: update dependencies and fix countdown timer logic in UpdateToast component
- Updated various dependencies in package.json and pnpm-lock.yaml, including @typescript-eslint/eslint-plugin, vite, and vue-tsc to their latest versions.
- Improved countdown timer logic in UpdateToast.vue to ensure proper clearing of the interval when the countdown reaches zero.
2026-01-09 21:16:37 +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
d61c45a640 feat: add new entry for illlights API Wiki in friends.json 2026-01-09 18:09:30 +08:00
Asuna
bc6e523d25 Merge pull request #62 from Moe-Sakura/main
main to dev
2026-01-09 17:24:55 +08:00
Asuna
5f8637f5e6 Merge pull request #61 from RichardTang2003/feature/background-image
与背景图 API 速率相关的优化
2026-01-09 17:23:27 +08:00
illlights
7a25e0cbc2 feat: image api slow mode after reached cache threshold 2026-01-07 17:36:56 +08:00
illlights
b154c10d46 fix: background image preloading follows user settings 2026-01-07 17:35:18 +08:00
Asuna
c00b351c29 Merge pull request #60 from Moe-Sakura/dev
Refactor sound management to utilize Web Audio API and remove snd-lib…
2026-01-07 06:01:57 +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
Asuna
b62e6bb5c4 Merge pull request #59 from Moe-Sakura/dev
Add API latency measurement and update API options in SettingsModal.vue
2025-12-28 21:55:53 +08:00
AdingApkgg
23429bf49f Add API latency measurement and update API options in SettingsModal.vue
- Introduced latency measurement for API options, displaying latency information conditionally.
- Updated API options to include new entries and modified labels for clarity.
- Enhanced the logic for fetching and displaying API latency, improving user feedback on network performance.
2025-12-28 21:55:05 +08:00
Asuna
6c2ef32703 Merge pull request #58 from Moe-Sakura/dev
Refactor VndbPanel.vue to improve modal visibility and enhance URL sa…
2025-12-28 08:29:40 +08:00
AdingApkgg
46725abfbf Refactor VndbPanel.vue to improve modal visibility and enhance URL safety checks
- Changed v-show to v-if for better conditional rendering of the VNDB panel.
- Added a function to validate URLs, ensuring only safe http/https links are rendered as clickable.
- Updated link rendering logic to display plain text for unsafe URLs, enhancing security against XSS attacks.
2025-12-28 08:27:42 +08:00
Asuna
6b902bf321 Merge pull request #57 from Moe-Sakura/dev
Dev
2025-12-28 08:09:56 +08:00
AdingApkgg
45ecca0120 Remove misused promises rule from ESLint configuration for cleaner TypeScript checks 2025-12-28 08:09:05 +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
428f0eb015 Refactor SearchHeader and StatsCorner components for improved performance and clarity
- Updated SearchHeader.vue to enhance search history management by utilizing historyStore for better data handling.
- Refactored StatsCorner.vue to improve readability and streamline the display of visitor statistics, enhancing user insights.
2025-12-28 08:06:49 +08:00
Asuna
abc2a88962 Merge pull request #56 from Moe-Sakura/dev
Refactor SearchHeader and ImageViewer components for improved functio…
2025-12-27 08:17:39 +08:00
AdingApkgg
5342ec75d5 Refactor SearchHeader and ImageViewer components for improved functionality
- Updated ImageViewer.vue to enhance event handling for image navigation.
- Refactored SearchHeader.vue to streamline search history management by removing direct persistence calls and utilizing historyStore for unified management.
2025-12-27 08:17:16 +08:00
Asuna
3e66219e33 Merge pull request #55 from Moe-Sakura/dev
Dev
2025-12-27 08:05:49 +08:00
Asuna
eb59327ea8 Merge pull request #54 from Moe-Sakura/dev
Dev
2025-12-27 08:04:17 +08:00
AdingApkgg
22a05a35a7 Refactor ImageViewer component for improved functionality and performance
- Simplified image preview logic by removing unused features such as zooming and transformations, focusing on a straightforward full-screen preview experience.
- Enhanced event handling for image navigation and touch interactions, improving user experience on mobile devices.
- Updated styles for better visual consistency and responsiveness across different screen sizes.
- Removed unnecessary imports and streamlined the code for better maintainability.
2025-12-27 08:03:49 +08:00
AdingApkgg
ad63e05975 Add referrer policy to enhance privacy in index.html 2025-12-27 07:37:18 +08:00
AdingApkgg
9cb75fc9f0 Refactor StatsCorner.vue for improved readability and functionality
- Simplified the status indicator section by removing unnecessary elements and enhancing the display of response time.
- Updated visitor statistics display to use more descriptive titles and improved data binding for clarity.
- Removed unused gamepad icon and related logic, streamlining the component's structure.
2025-12-27 07:30:38 +08:00
AdingApkgg
0357dbe6ad Refactor component logic and improve performance tracking
- Updated KeyboardHelpPanel.vue to include an additional icon for better navigation clarity.
- Modified SearchHeader.vue to utilize window.performance for more accurate search timing metrics.
- Enhanced StatsCorner.vue by refining status text and icon logic for improved readability and maintainability.
- Cleaned up conditional returns in plugins.ts and stats.ts for better code consistency and clarity.
2025-12-27 07:19:24 +08:00
AdingApkgg
745bbea616 Enhance state management and statistics tracking across components
- Integrated new Pinia plugins for state persistence, snapshots, and tab synchronization in main.ts, improving state management capabilities.
- Updated SearchHeader.vue to utilize caching for VNDB data, enhancing performance and user experience by reducing unnecessary API calls.
- Refactored SearchHistoryModal.vue to leverage the history store for managing search history, improving data handling and user interaction.
- Enhanced StatsCorner.vue to display visitor statistics and search counts, providing users with better insights into application usage.
- Improved settings management in settings.ts by adding undo/redo functionality for setting changes, enhancing user control over preferences.
2025-12-27 07:18:21 +08:00
AdingApkgg
9e45db827d Enhance component visuals and functionality across multiple files
- Updated CommentsModal.vue to include additional icons and improved title display for better user engagement.
- Enhanced KeyboardHelpPanel.vue by adding icons next to navigation and operation shortcuts for improved clarity.
- Refactored ResultItem.vue to include a copy link feature with visual feedback, enhancing user interaction.
- Improved SearchHistoryModal.vue by adding icons and additional text for better user guidance on search history.
- Updated StatsCorner.vue to replace the gamepad icon and add status indicators for online/offline status.
- Refactored icons management in icons.ts for better organization and maintainability.
2025-12-27 07:10:49 +08:00
AdingApkgg
ccd87d06be Enhance image loading and refactor screenshot handling in VndbPanel.vue
- Added `referrerpolicy="no-referrer"` to image elements to improve privacy during image loading.
- Removed unused `screenshotsReady` state and related logic, simplifying the component's state management.
- Updated class names for consistency and improved styling of screenshot buttons.
- Cleaned up comments for better clarity regarding screenshot loading behavior.
2025-12-27 07:00:22 +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
Asuna
8f1b608e31 Merge pull request #53 from Moe-Sakura/dev
Dev
2025-12-27 06:33:15 +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
a07ad6f72c fix: update VNDB image proxy URL in settings
- Changed the placeholder URL in `SettingsModal.vue` for the VNDB image proxy input field.
- Updated the default VNDB image proxy URL in `settings.ts` to maintain consistency.
2025-12-27 04:05:10 +08:00
DRG
70af3a461d Merge branch 'main' of https://github.com/Moe-Sakura/frontend 2025-12-27 03:50:21 +08:00
DRG
4f8e77b7df chore: 更新 VNDB 图像代理 URL
- 更新 `SettingsModal.vue` 中 VNDB 图像代理的输入框占位符。
- 同步修改 `settings.ts` 中 `DEFAULT_API_CONFIG` 的默认代理地址。
2025-12-27 03:50:19 +08:00