Skip to content

Add 2026 SCC showcase wall in Rabbita#24

Merged
bzy-debug merged 1 commit intomoonbitlang:mainfrom
zongen01:codex/zh-ai-native-space
Mar 27, 2026
Merged

Add 2026 SCC showcase wall in Rabbita#24
bzy-debug merged 1 commit intomoonbitlang:mainfrom
zongen01:codex/zh-ai-native-space

Conversation

@zongen01
Copy link
Copy Markdown
Contributor

Summary

  • add a Rabbita-powered showcase wall for the 2026 Software Synthesis Challenge
  • make the single showcase entry and remove visible version split in navigation
  • populate the wall with the currently approved projects and ship the compiled Rabbita assets

Verification

  • moon check --target js (website/src/rabbita/2026-scc-showcase)
  • moon build --target js --release (website/src/rabbita/2026-scc-showcase)
  • moon check --target js (website/src/pages/rabbita-home)

@Yoorkin
Copy link
Copy Markdown
Contributor

Yoorkin commented Mar 25, 2026

It seems you accidentally committed the *.js build results. Please remove them and add them to the gitignore list

@zongen01
Copy link
Copy Markdown
Contributor Author

zongen01 commented Mar 25, 2026

@Yoorkin Latest updates are in and the PR is ready for review.

This round mainly refines the 2026 SCC showcase UX without changing the content structure:

  • added explicit light/dark mode switching for the showcase page
  • refined dark theme visual hierarchy
  • blended the contest hero edges with the same KV image instead of flat side fills
  • kept the single showcase entry from the contest page

Preview checked locally and the working tree is clean. Thanks!

@zongen01
Copy link
Copy Markdown
Contributor Author

Addressed the latest showcase review feedback:

  • removed the extra sentence in the hero intro
  • changed the repo signal copy to make the interaction clearer
  • made the project cards open the repository directly on click
  • switched the dark-mode accent from orange to the showcase purple theme

Both moon check --target js and moon build --target js --release pass for src/rabbita/2026-scc-showcase.

@zongen01
Copy link
Copy Markdown
Contributor Author

Updated the showcase accent colors again to match the site brand purple used by the Rabbita pages.

This round aligns both light and dark modes, including:

  • hero primary CTA
  • section accent headings
  • dark-mode emphasis colors
  • showcase theme switch active state

The current public preview has also been refreshed with the same brand-purple palette.

@zongen01
Copy link
Copy Markdown
Contributor Author

@Yoorkin Final pass should be ready now.

I re-checked the branch today and the current version already includes:

  • the Rabbita showcase wall as the single showcase entry
  • the updated project-card interaction copy and direct card click-through to repos
  • the refined hero edge blending
  • the brand-purple color alignment for both light and dark modes

The working tree is clean on my side, and this PR head is the latest version. Thanks for taking a look.

@zongen01
Copy link
Copy Markdown
Contributor Author

Addressed the generated-asset issue on the showcase wall PR.

Changes in this update:

  • removed the tracked static/rabbita-2026-scc-showcase/main.js and styles.css build outputs from git
  • added static/rabbita-2026-scc-showcase/ to .gitignore
  • added a dedicated scripts/build-rabbita-showcase.mjs build step
  • wired the showcase build into the website build and dev scripts
  • added a Docusaurus dev plugin to regenerate showcase assets during local development

I was able to re-run moon build --target js --release and moon check --target js for src/rabbita/2026-scc-showcase.
The current environment here still does not have node, so I could not execute the new Node-based website build script locally, but the repository wiring is now aligned with the existing rabbita-home pattern.

@Yoorkin
Copy link
Copy Markdown
Contributor

Yoorkin commented Mar 26, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a076b9bd52

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

} else if (
entry.name.endsWith('.mbt') ||
entry.name.endsWith('.mbti') ||
entry.name === 'moon.pkg.json' ||
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 Badge Watch the actual Moon package file name

The showcase watch list includes moon.pkg.json, but this project uses moon.pkg (src/rabbita/2026-scc-showcase/main/moon.pkg). As a result, editing package metadata/options in dev mode will not trigger buildAndCopy(), so /rabbita-2026-scc-showcase/main.js can stay stale until the Docusaurus process is restarted.

Useful? React with 👍 / 👎.

@zongen01
Copy link
Copy Markdown
Contributor Author

Addressed the latest Codex review note about moon.pkg watching.

Updated the watch lists to include both moon.pkg and moon.pkg.json in:

  • the new showcase Docusaurus dev plugin
  • the existing rabbita-home Docusaurus dev plugin
  • src/pages/rabbita-home/vite.config.js

This keeps local dev rebuilds responsive when package metadata changes under the current MoonBit layout.

@zongen01
Copy link
Copy Markdown
Contributor Author

@Yoorkin Quick follow-up: the latest Codex review note about moon.pkg watching has been addressed in the current PR head (54d606e).

This update now watches both moon.pkg and moon.pkg.json in the Rabbita dev flows, so package metadata changes also trigger rebuilds during local development.

The branch is up to date on my side and the working tree is clean. Thanks for taking another look when you have a moment.

@zongen01 zongen01 force-pushed the codex/zh-ai-native-space branch from 94558a6 to 635a588 Compare March 26, 2026 10:17
@zongen01
Copy link
Copy Markdown
Contributor Author

@Yoorkin I cleaned up this PR to focus on the 2026 SCC showcase wall only.

The branch has been rewritten to a single commit (635a588) so the unrelated WeChat editor and workflow work is no longer part of this PR.

The current PR now contains only the showcase-related changes:

  • 2026 SCC contest page entry updates
  • the Rabbita showcase wall page and styles
  • the showcase asset build/dev wiring
  • the moon.pkg watch fix for the showcase dev flow

My local working tree is clean after the rewrite. Please review the current PR head when you have a moment. Thanks!

@Yoorkin Yoorkin requested a review from bzy-debug March 27, 2026 02:21
@bzy-debug
Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@bzy-debug bzy-debug merged commit 2ac969c into moonbitlang:main Mar 27, 2026
bzy-debug added a commit that referenced this pull request Mar 27, 2026
bzy-debug added a commit that referenced this pull request Mar 27, 2026
@zongen01
Copy link
Copy Markdown
Contributor Author

@bzy-debug 这条展示墙 PR 已经合并进 main 了,但我刚刚检查正式站时发现展示墙路由还没有生效:

当前这两个地址打开仍然是 404 页面(页面标题分别是 Page Not Found | MoonBit / 找不到页面 | MoonBit)。

代码合并时间是今天 2026-03-27 14:04 左右,所以想确认一下:

  • 是不是正式部署还没触发到这次提交
  • 或者 CDN 还没刷新

麻烦有空帮忙看一下部署状态,辛苦了。

@bzy-debug
Copy link
Copy Markdown
Contributor

构建失败revert了

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.

3 participants