Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mulan777
Workbench-class5
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Releases
v1.4
v1.4 区域容量与儿童端引导
Compare
Choose a tag to compare
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
No results found
mulan777
released this
04 Sep 06:10
·
2 commits
to main since this release
v1.4
ce01dee
新增
区域人数容量
为每个活动区域增加可配置的人数上限,默认上限为 6 人。
教师端区域管理支持新增、编辑和查看人数上限。
人数上限留空时表示该区域不限人数。
儿童端区域卡片显示当前人数、容量和可用名额,并用插卡槽直观表达已进入人数。
区域满员或无法容纳当前儿童及同行伙伴时,儿童端自动禁用该区域,避免继续提交。
服务端并发容量校验
普通自主选区、发起邀请、接受邀请均在服务端事务内再次校验容量。
容量不足时返回明确的 409 错误提示,防止多个设备同时操作导致区域超员。
区域人数按当天去重后的实际幼儿计算,不按重复记录简单累加。
保留“一名幼儿一天只能进入一个区域”的业务约束。
儿童端引导与语音反馈
增加儿童端关键步骤的语音提示,包括选择自己、选择伙伴、完成区域选择和重新开始。
“自己玩”改为温和的单人图标和正向提示,不再使用容易产生拒绝感的红色叉号。
子步骤 60 秒无触控后自动回到找号码页;待机/完成页面不启动该倒计时。
保留触控友好的移动端布局、回退按钮和全屏操作。
教师端与数据联动
区域看板、区域记录和总览同步显示容量元数据。
区域管理界面增加容量编辑提示和“不限人数”状态。
好朋友新故事相关照片与儿童自主拍照数据的归属链路继续保持一致。
修复与工程调整
更新区域 API、选区 API、邀请 API 和数据库结构,增加
area_settings.capacity
字段。
更新儿童端区域卡片布局,在手机和平板上压缩信息并保持核心操作可见。
补充中文语音辅助模块及前端 TypeScript 配置兼容调整。
验证
TypeScript 检查通过。
Vite 生产构建通过。
普通选区、邀请发起、邀请接受的容量边界均完成代码级事务校验。
教师端容量新增/编辑与儿童端容量展示链路完成验证。
You can’t perform that action at this time.