Skip to content

fix(showcase): auto-resolve author/metadata from URL path + reverse showcase order#87

Open
joeytoday wants to merge 8 commits intomainfrom
add-showcases-by-joeytoday
Open

fix(showcase): auto-resolve author/metadata from URL path + reverse showcase order#87
joeytoday wants to merge 8 commits intomainfrom
add-showcases-by-joeytoday

Conversation

@joeytoday
Copy link
Copy Markdown
Collaborator

Summary

This PR fixes the showcase detail page build error and improves the showcase ordering.

Changes

  • Fix build error: ShowcaseDetailMeta was calling a non-existent resolveShowcaseMeta() 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.
  • Reverse showcase order: Updated showcases.json so newest items appear first on the showcase listing page.
  • i18n support for CTA: ShowcaseDetailCta now uses locale-aware links and translated texts for all 7 supported languages (zh, en, de, fr, ja, pt-BR, ru).
  • Data generation: Added author and date fields to the showcase data generation script, with date-based primary sorting (newest first).
  • 296 files changed: Includes new showcase MDX pages across all locales and component updates.

joeytoday and others added 8 commits March 31, 2026 11:21
- 修复 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant