Commit Graph

10 Commits

Author SHA1 Message Date
yujiangping
2b017139ef fix(web): adjust VersionCard max height constraint
- Update max-height from 420px to 400px in VersionCard component
- Improve layout consistency and prevent content overflow
- Adjust responsive styling for better visual presentation
2026-01-16 15:38:52 +08:00
yujiangping
4365c8e95c feat(web): add multi-language support for version information
- Add English introduction field (introduction_en) to versionResponse interface in common.ts
- Implement language-aware version information retrieval in VersionCard component
- Add getIntroduction() function to return appropriate language version based on current i18n language
- Fix running_apps data key mapping to use direct key instead of total_ prefix in TopCardList
- Add max-height and overflow styling to version card content for better scrolling
- Remove unused loading state and Button import from VersionCard
- Add key prop to coreUpgrades list items for proper React rendering
- Support fallback to English introduction when current language version is unavailable
2026-01-16 13:35:01 +08:00
yujiangping
f9a35d0cdc feat(i18n): customize Tour component button text and add finish button label
- Add finishButtonText translation key to English and Chinese locale files
- Create customZhCN locale with Chinese Tour button labels (下一步, 上一步, 立即体验)
- Create customEnUS locale with English Tour button labels (Next, Previous, Try it now)
- Update locale store to use custom locale configurations instead of default Ant Design locales
- Fix changeLanguage method to apply custom locale mappings correctly
- Add file headers with metadata to GuideCard and locale store files
- Improve Tour component UX by providing localized button text for better user experience
2026-01-15 21:03:07 +08:00
yujiangping
1fb18cc11c fix(quick-actions): correct space management navigation route
- Fix typo in space management quick action route from '/spce' to '/space'
- Ensure users are correctly navigated to the space management page when clicking the quick action
2026-01-15 20:25:05 +08:00
yujiangping
99790551f9 feat(version-card): add code name field and enhance version display
- Add codeName field to versionResponse interface in API types
- Add version section translations for English and Chinese locales
* releaseDate, version, and name labels
- Enhance VersionCard component layout and styling
* Display release date and code name in horizontal layout with divider
* Add numbered list formatting for core upgrades
* Improve text sizing and spacing for better readability
* Import Divider component from antd for visual separation
- Improve version information presentation with better structure and localization support
2026-01-13 19:23:11 +08:00
yujiangping
e0ca2f5725 feat(version-card): update version information display structure
- Update versionResponse interface to include structured introduction object with releaseDate, upgradePosition, and coreUpgrades fields
- Refactor VersionCard component to display version details as separate paragraphs with improved layout
- Change introduction from string to object with nested properties for better data organization
- Remove unused Button and arrowRight imports from VersionCard component
- Add file header documentation comment to VersionCard component
- Remove debugger statement from TopCardList component
- Update styling to use flex-col layout and improve spacing with gap-2 class
- Map through coreUpgrades array to display each upgrade as individual paragraph items
- Improve version information presentation with clearer visual hierarchy
2026-01-13 18:17:21 +08:00
yujiangping
a52e61fb87 style(homepage): remove fixed height constraint from guide card
- Remove `rb:h-[204px]` class from GuideCard container div
- Allow guide card to adapt height based on content
- Maintain responsive width and padding styling
- Improves layout flexibility for different screen sizes
2026-01-12 17:51:45 +08:00
yujiangping
d957e27501 feat(homepage): add guided tour and version display functionality
- Add version API endpoint and response interface in common.ts
- Implement interactive guided tour with 4 steps for new users covering Model Management, Space Management, and User Management
- Add tour translation keys for both English and Chinese locales
- Add data-menu-id attributes to sidebar menu items for tour targeting
- Create VersionCard component to display current platform version
- Update GuideCard component with tour state management and navigation logic
- Enhance homepage dashboard with version information display
- Improve user onboarding experience with step-by-step guided navigation
2026-01-12 16:32:58 +08:00
yujiangping
3d4c807a87 feat(dashboard): add statistics API and enhance homepage dashboard cards
- Add Query and DataResponse interfaces to common API module
- Implement getDashboardStatistics API endpoint for fetching dashboard metrics
- Update TopCardList component to display real dashboard data with dynamic values
- Replace hardcoded dashboard metrics with actual API response data
- Add support for calculating and displaying weekly growth rates for spaces and users
- Update dashboard card labels and descriptions for models, spaces, users, and apps
- Add "Rebuild Graph" button translation to knowledge graph card (en/zh)
- Add appCount and userCount translation keys for dashboard display
- Fix dashboard metric key naming consistency (total_apps_runs → total_running_apps)
- Update dashboard descriptions to reflect weekly comparisons instead of daily
- Improve data binding between API response and UI components for real-time statistics
2026-01-05 16:46:10 +08:00
yujiangping
f31341151f feat(index): add homepage with dashboard cards and knowledge graph support
- Add new Index view with dashboard layout and quick action cards
- Create TopCardList component to display core data management options
- Add GuideCard and VersionCard components for user guidance
- Add QuickActions component for common operations
- Create KnowledgeGraph and KnowledgeGraphCard components for knowledge base visualization
- Add comprehensive SVG assets for index page (apps, arrows, management icons)
- Add common API module for shared request utilities
- Extend knowledgeBase API with knowledge graph endpoints (getKnowledgeGraph, getKnowledgeGraphEntityTypes)
- Update i18n translations for English and Chinese with new index page strings
- Update routing configuration to include new Index route
- Update menu configuration to reflect new navigation structure
- Update KnowledgeBase CreateModal and Private view components
- Add TypeScript types for Index page components
- Improve overall UI/UX with new dashboard-style homepage
2026-01-05 10:37:08 +08:00