fix(showcase): auto-resolve author/metadata from URL path + reverse showcase order#87
Open
fix(showcase): auto-resolve author/metadata from URL path + reverse showcase order#87
Conversation
- 修复 model 字段缺少引号导致的 YAML 解析错误 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
修复英文周报中 Explore Agent 部分的中文残留 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- 修复 Hooks 视频封面图片链接 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- 同步更新所有语言版本(de, en, fr, ja, pt-BR, ru)的 Hooks 视频封面链接 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…aseIndex component - 简化多语言 showcase 页面,使用统一的 VideoShowcaseIndex 组件 - 移除硬编码的视频数据,改用动态数据加载 - 支持多语言切换和分类筛选功能 Affected languages: de, en, fr, ja, pt-BR, ru Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Add resolveShowcaseMeta() to extract metadata from generated JSON data based on the current pathname, removing manual prop passing in MDX files - Update ShowcaseDetailMeta to be prop-less and self-contained - Add i18n support to ShowcaseDetailCta with locale-aware links and texts - Reverse showcases.json order so newest items appear first - Add author and date fields to showcase data generation and interfaces Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Add guide-arena-mode, guide-btw-sidebar, guide-explore-agent, guide-hooks-auto-test, guide-review-command, guide-system-prompt for de/en/fr/ja/pt-BR/ru locales - Minor fixes to zh guide-hooks-auto-test and component tweaks Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes the showcase detail page build error and improves the showcase ordering.
Changes
ShowcaseDetailMetawas calling a non-existentresolveShowcaseMeta()function. Added the function to auto-resolve author, category, features, and model from generated JSON data based on the current URL pathname, removing the need for manual prop passing in MDX files.showcases.jsonso newest items appear first on the showcase listing page.ShowcaseDetailCtanow uses locale-aware links and translated texts for all 7 supported languages (zh, en, de, fr, ja, pt-BR, ru).authoranddatefields to the showcase data generation script, with date-based primary sorting (newest first).