Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/weak-turtles-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"weapp": patch
---

更新 weapp-sqlite 测试版资料、官方标识和安装指引
2 changes: 1 addition & 1 deletion .impeccable/surfaces/apple-product.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

轨道星尘由固定种子沿椭圆弧长等距锚定,法向抖动不超过 2px;宽度 ≥1024px/640–1023px/<640px 分别使用 960/384/256 个点。复用既有翡翠、冰蓝、香槟与珍珠色,以珍珠色为主;每个点按 6–12 秒错相周期独立闪烁,亮度变化限制在起点 ±25%,整圈不脉动。可选星尘层与原粒子共享 WebGL canvas、活跃时钟、ready 门禁、320ms 淡入和 60/30/10fps 调度,暂停、重播与重连沿用同一生命周期;私有 program 与 VAO 随断开及初始化失败释放,测试探针分别统计两类资源。仅星尘初始化失败时保留 CSS 核心与原粒子渲染器;既有静态 Logo 与星空降级保持不变。

独立星球控制器从 ready(2200ms)且首屏可见起等待 3 秒后选中第一个项目,保持 4 秒,再间隔 3 秒按现有十个星球顺序轮换;每次只凸显一个,自动凸显、悬停和键盘聚焦期间轨道继续运行,粒子仍流动。键盘聚焦优先于悬停,悬停优先于自动选择;结束交互后等待 3 秒继续公平轮换,手动选中不改变自动顺序。首屏右下角统一控制全部首屏动画,按钮至少 44px,双语操作名称为“暂停首屏动画/继续首屏动画”与“Pause hero animation/Resume hero animation”,按下状态及暂停/播放图标同步。手机显示 44px 图标按钮,保留完整无障碍名称。手动暂停冻结粒子相位和轨道、保留当前自动选择与重连后的暂停状态;继续时清除自动选择并重新计时。轮换不移动键盘焦点、不自动播报。
独立星球控制器从 ready(2200ms)且首屏可见起等待 3 秒后选中第一个项目,保持 4 秒,再间隔 3 秒按目录中的十一个星球顺序轮换;每次只凸显一个,自动凸显、悬停和键盘聚焦期间轨道继续运行,粒子仍流动。键盘聚焦优先于悬停,悬停优先于自动选择;结束交互后等待 3 秒继续公平轮换,手动选中不改变自动顺序。首屏右下角统一控制全部首屏动画,按钮至少 44px,双语操作名称为“暂停首屏动画/继续首屏动画”与“Pause hero animation/Resume hero animation”,按下状态及暂停/播放图标同步。手机显示 44px 图标按钮,保留完整无障碍名称。手动暂停冻结粒子相位和轨道、保留当前自动选择与重连后的暂停状态;继续时清除自动选择并重新计时。轮换不移动键盘焦点、不自动播报。

星球控制器订阅共享首屏阶段,ready 前隐藏星球、名称、轨道与说明,链接 inert 且不进入辅助技术树;停止轨道与自动计时。暂停按钮在加载期间独立可用。离屏、后台、减少动态效果或离开桌面断点时清除自动选择与计时,恢复后从完整 3 秒延迟开始,不补跑。粒子聚合与星球淡入共享活跃时钟及调度器;暂停、离屏和后台冻结全部相位,重连不重播。减少动画、WebGL 失败、字体失败/超时和无 JS 时,中央显示静态粒子 Logo 与星空,轨道链接继续隐藏且 inert,下方原生项目入口仍可用。减少动画解除后成功绘制才恢复保存相位。手机/平板保留 44px/52px 星球尺寸,不显示自动聚焦或说明,不引入动画依赖。

Expand Down
4 changes: 2 additions & 2 deletions .impeccable/surfaces/weapp-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Terminal tools use Operate mode; the lab uses Experience mode. Mini-app developers start by creating weapp-vite or inspecting the weapp ecosystem. Preserve the green brand, shared particle Logo, authentic project marks, factual maturity and the independent open-source identity.

The six primary projects come from `ecosystem=weapp`, including Varo and explicitly planned SQLite. All eleven remain searchable and machine-readable. Selection drives the palette, visual focus and project facts. Games remain an explicit command, outside the hall and general help.
The six primary projects come from `ecosystem=weapp`, including Varo and Beta SQLite. All eleven remain searchable and machine-readable. Selection drives the palette, visual focus and project facts. Games remain an explicit command, outside the hall and general help.

The first terminal frame presents usable actions beside assembling particles. The first Enter opens creation, and C is a creation shortcut only in the hall. The default entry is Create weapp-vite with the official default template. Directory, template and summary belong to the same state machine. A deterministic directory-name seed drives a personal star chart, and the five templates rearrange its orbital structure over about 250ms. Wide terminals have action/stage columns; ordinary terminals stack them; narrow terminals preserve actions and status. Reading regions remain stable. Successful manifest verification immediately shows a project badge and next commands, with decorative motion that never gates interaction. One session owns raw mode, screen, keys, resize and cleanup, caps all output at 20 FPS, diffs lines and respects backpressure. Scaffolds borrow input and restore the original page and focus. No-motion freezes the same composition; monochrome retains contrast hierarchy.

Only a validated creation directory starts version prefetch, overlapping template selection and summary review. Query and execution share the target parent's npm configuration. Progress reports real phases and elapsed time, with no invented download percentage. Esc cancels a pending creation without closing the hall. The upstream process exclusively owns input and output while executing. Lightweight commands load only their modules and data; toolkit Node 18 support remains distinct from each creator's own Node requirement.

The browser opens on the six-project galaxy, with weapp-vite selected. Real offline marks, near/far scale, orbit trails and selection focus carry the stage. A morphing particle scene and pointer flow remain available. Capability details and official actions follow selection; commands are copied only. Planned SQLite never offers install/create actions. Controls stay below the canvas, with accessible project navigation, licensed Syne/Geist typography and mobile reflow. Replay preserves selection and settings, resetting time and dragging. Reduced motion, background pause and Canvas fallback keep project information usable.
The browser opens on the six-project galaxy, with weapp-vite selected. Real offline marks, near/far scale, orbit trails and selection focus carry the stage. A morphing particle scene and pointer flow remain available. Capability details and official actions follow selection; commands are copied only. SQLite offers its published @weapp-sqlite/weapp-vite installation command for copying; creation remains limited to the existing scaffold adapters. Controls stay below the canvas, with accessible project navigation, licensed Syne/Geist typography and mobile reflow. Replay preserves selection and settings, resetting time and dragging. Reduced motion, background pause and Canvas fallback keep project information usable.

Ship a self-contained package using neutral public catalog and asset exports. Verify terminal restoration, all fixed-route assets, external tarball operation, desktop/mobile interaction and genuine OIDC exchange. Capture desktop/mobile together, apply one batch of material fixes, and confirm once.
4 changes: 2 additions & 2 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ At desktop widths of at least 1024px, planet visuals are 80px, reducing to 72px

The halo's fixed-seed star-dust points follow equal arc-length positions on the ellipse, with no more than 2px of normal jitter. Their budgets are 960 points at widths of at least 1024px, 384 at 640–1023px, and 256 below 640px. They reuse the existing jade, ice-blue, champagne, and pearl palette, predominantly pearl. Each anchored point twinkles independently over 6–12 seconds within ±25% of its base brightness; the ellipse does not pulse as a whole or react to selection. The optional dust layer uses the existing WebGL canvas, active clock, ready gate, 320ms reveal, and 60/30/10fps scheduler. Pause, offscreen, and background states freeze the same clock; replay resets its phase and reveal with the existing intro, and reconnect restores the saved phase. Its private program and VAO are disposed with the renderer, including partially initialized resources. If halo initialization alone fails, the CSS core and original particle renderer continue. The test probe reports program and VAO counts separately so resource cleanup can be verified.

The independent shared planet controller starts a desktop spotlight 3 seconds after the wordmark is assembled and the hero is visible, holds it for 4 seconds, then waits another 3 seconds before advancing through the existing ten-project order. Only one planet is selected at a time. Automatic spotlight, hover, and keyboard focus keep the orbit moving while particle flow continues. The controller owns a single native Web Animations timeline on the constellation, with a 240-second linear turn of the inherited `--orbit-turn`; planets and their names share that phase without per-frame layout reads, a second animation loop, or deferred measurements. Pause and play occur only when the orbit's running state changes. Disconnect pauses the native animation, saves its current time, and cancels that owned resource; reconnect creates one timeline at the saved phase. This avoids the automatic cancellation and lost current time of a detached CSS animation. Keyboard focus takes priority over hover, followed by automatic selection. Ending manual interaction restarts the 3-second delay without changing the fair automatic order. The lower-right controls contain two 44px circular icon buttons on desktop and mobile. Pause/resume uses the localized accessible name and title “暂停首屏动画” / “继续首屏动画” or “Pause hero animation” / “Resume hero animation”, a pressed state, and a matching pause/play icon; its visually hidden label updates with the same state. Replay uses “重播首屏动画” or “Replay hero animation” for both its accessible name and title. User pause freezes particle phase and orbit, holds the current automatic selection, and survives component reconnection; resume clears automatic selection and restarts its delay. Automatic selection never moves focus or announces caption changes.
The independent shared planet controller starts a desktop spotlight 3 seconds after the wordmark is assembled and the hero is visible, holds it for 4 seconds, then waits another 3 seconds before advancing through the catalog’s eleven-project order. Only one planet is selected at a time. Automatic spotlight, hover, and keyboard focus keep the orbit moving while particle flow continues. The controller owns a single native Web Animations timeline on the constellation, with a 240-second linear turn of the inherited `--orbit-turn`; planets and their names share that phase without per-frame layout reads, a second animation loop, or deferred measurements. Pause and play occur only when the orbit's running state changes. Disconnect pauses the native animation, saves its current time, and cancels that owned resource; reconnect creates one timeline at the saved phase. This avoids the automatic cancellation and lost current time of a detached CSS animation. Keyboard focus takes priority over hover, followed by automatic selection. Ending manual interaction restarts the 3-second delay without changing the fair automatic order. The lower-right controls contain two 44px circular icon buttons on desktop and mobile. Pause/resume uses the localized accessible name and title “暂停首屏动画” / “继续首屏动画” or “Pause hero animation” / “Resume hero animation”, a pressed state, and a matching pause/play icon; its visually hidden label updates with the same state. Replay uses “重播首屏动画” or “Replay hero animation” for both its accessible name and title. User pause freezes particle phase and orbit, holds the current automatic selection, and survives component reconnection; resume clears automatic selection and restarts its delay. Automatic selection never moves focus or announces caption changes.

Replay restores the particle Logo immediately, clears the completed-wordmark and planet-reveal state, and unpauses the hero. It resets the particle active clock and pointer response, seeks the existing shared native orbit animation to zero, clears automatic and manual planet selection, and restarts the fair catalog order from the first project. The same 700ms Logo hold, 1500ms morph, and 320ms reveal run again; spotlight timing remains gated until ready and then waits the full 3 seconds. Requests persist as a scope-local `data-hero-replay-version` and notify subscribers within that hero. Each renderer deduplicates the version independently, so a disconnected component honors a newer request when reconnecting without resetting an unrelated hero or replaying an unchanged request. A new request also clears the saved orbital time. Replay during font startup retains its loading and failure rules, and hidden or offscreen time still does not advance the active clock.

Expand All @@ -281,7 +281,7 @@ Content remains visible before observers run. The optional chapter entrance is a

### CLI workbench and visual lab

The CLI translates the shared particle Logo and project orbit into a Braille stage beside stable terminal actions and facts. Its local visual lab keeps the green action family, neutral dark canvas, self-hosted Syne wordmark and Geist reading typography. The canvas leads; native project selectors, a flat project information rail and pill controls supply the task boundary. Actual project marks sit on pale faces with their original colors, and the planned SQLite project explicitly identifies its shared mini-program fallback. Selection connects the visual focus with the same project's facts and official actions. Desktop details use three columns, then stack on phones; controls and official links retain 44px targets with amber keyboard focus. Reduced motion keeps a static, selectable composition. Lab-specific surface tones, compact field corners and responsive dimensions remain local component choices. See `.impeccable/surfaces/weapp-cli.md` and `docs/weapp-0.2-validation.md` for this surface's state and evidence contract.
The CLI translates the shared particle Logo and project orbit into a Braille stage beside stable terminal actions and facts. Its local visual lab keeps the green action family, neutral dark canvas, self-hosted Syne wordmark and Geist reading typography. The canvas leads; native project selectors, a flat project information rail and pill controls supply the task boundary. Actual project marks sit on pale faces with their original colors, and SQLite uses the transparent interlocking data-block symbol from its upstream repository redesign and retains its Beta support boundary. Selection connects the visual focus with the same project's facts and official actions. Desktop details use three columns, then stack on phones; controls and official links retain 44px targets with amber keyboard focus. Reduced motion keeps a static, selectable composition. Lab-specific surface tones, compact field corners and responsive dimensions remain local component choices. See `.impeccable/surfaces/weapp-cli.md` and `docs/weapp-0.2-validation.md` for this surface's state and evidence contract.

## Do's and Don'ts

Expand Down
2 changes: 1 addition & 1 deletion PRODUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This monorepo contains two independent bilingual Astro applications. weapp.dev s

## Product truth

The catalog retains eleven projects and their actual maintainers, repositories, documentation URLs, and maturity. weapp-sqlite remains planned. Documentation domains including tw.weapp.dev, vite.weapp.dev, and varo.weapp.dev are unchanged. Only weapp-vite and weapp-tailwindcss currently have confirmed migration/training coverage; other projects need assessment.
The catalog retains eleven projects and their actual maintainers, repositories, documentation URLs, and maturity. weapp-sqlite is listed as Beta with partial data: its recommended package is @weapp-sqlite/weapp-vite, Web and real WeChat DevTools pass automated acceptance, and WeChat devices await verification. Documentation domains including tw.weapp.dev, vite.weapp.dev, and varo.weapp.dev are unchanged. Only weapp-vite and weapp-tailwindcss currently have confirmed migration/training coverage; other projects need assessment.

Commercial prices, sponsorship recognition, and the 60/25/15 fund allocation remain as published. Planned cloud builds, templates, and private registries are not purchasable products. Do not invent customers, metrics, partnerships, launch dates, or support promises.

Expand Down
2 changes: 1 addition & 1 deletion apps/open-source/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SSR 粒子 Logo 与星空、粒子字标和聚合后淡入的项目星球保留

## 页面与所有权

本应用拥有布局、导航、首页组合、双语文案、路由、SEO、隐私说明、本地交互和样式组合。首页依次呈现字标/星球与项目导航、定位与选型、工程、组件与数据、独立样式章节、Taro 迁移、Runtime 选型、uni-app 生态、工具链、发布和贡献入口。目录和详情保留十一个项目的真实维护者、文档、源码、成熟度及指标,weapp-sqlite 继续明确为规划中。
本应用拥有布局、导航、首页组合、双语文案、路由、SEO、隐私说明、本地交互和样式组合。首页依次呈现字标/星球与项目导航、定位与选型、工程、组件与数据、独立样式章节、Taro 迁移、Runtime 选型、uni-app 生态、工具链、发布和贡献入口。目录和详情保留十一个项目的真实维护者、文档、源码、成熟度及指标,weapp-sqlite 以测试版呈现,注明 Web 与微信开发者工具已验收、微信真机待验证的范围。

packages/project-catalog 提供中立事实、素材与指标,packages/site-ui 提供显式传入内容的中立视觉与演示组件。本应用不导入 apps/web,不以部署变量切换身份;共享外观不意味着共享商业定位。源码和发布资产不包含商业报价、募资、联系方式二维码或指向商业主域的服务导流。历史报价/赞助/贡献者资助 URL 保留同语种站内项目目录的 noindex 静态跳转。

Expand Down
Loading
Loading