- Updated AddToCalendar component to ensure consistent class usage for links.
- Refactored Aggregation component to streamline input field and button structure.
- Improved CatalogPager component by implementing observer pattern and enhancing type safety.
- Simplified CatalogView rendering logic for better readability.
- Enhanced EventCard component with consistent class usage for links and improved badge rendering.
- Refined FilterBar component layout and input handling for better user experience.
- Updated FoodAIDialog to utilize functional components for recommendation cards.
- Converted MainNav to an observer component for better state management.
- Improved SwitchLanguage component by ensuring consistent state handling.
- Enhanced TimelineItem component with observer pattern for better reactivity.
- Updated TimezoneSelector to improve input handling and button styling.
- Refined GitCodeIcon and GitHubIcon components for consistent SVG attributes.
- Improved input component styling for better user experience.
- Enhanced scroll area component for better layout handling.
- Updated localization files to reflect accurate model size information.
- Added food recommendation model JSON file for better integration.
- Improved listing filters to enhance type safety.
- Updated package.json scripts for better model handling during installation.
- Refactored scripts for downloading models and catalogs to improve reliability.
- Added tests for model asset integrity and static export validation.
- Updated Vite configuration to streamline TypeScript handling and improve build performance.
主要变更
array-unique-proposal进行数组去重,并更新依赖。验证
pnpm build:静态导出成功。npm run test:static:6 项测试通过,覆盖模型资源与多语言静态目录、详情链接和分页链接。部署及注意事项
pnpm build,输出目录为dist/client;数据仓库更新后需重新部署以更新快照。shadcn-helper install因 zx 的 shell 引号函数缺失报错;现有依赖下构建、类型检查和静态测试仍可运行,干净安装尚需验证。