-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Set up GoodAction Hub standalone data repository #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0236d1e
Initial plan
Copilot e6cde1f
Set up GoodAction Hub data repository: update issue templates, README…
Copilot 2fedd18
Address PR review feedback: merge templates, add review/API links, si…
Copilot 9efcdd5
Update README and activity.yml: single data file, start/end time, beg…
Copilot e418d44
Restore timeline field, rewrite save-event.sh with Markdown table par…
Copilot 4a61892
Add restaurant form+workflow, fix Inspiration link, change timeline t…
Copilot 30d4d5a
Refactor restaurant form, extract yaml_utils.sh, delete stale data fi…
Copilot 4a32c93
Extract generic append_yaml_table into yaml_utils.sh, used by both sa…
Copilot 3e863b3
Clear activities.yml and restaurants.yml - leave empty for future dat…
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,117 @@ | ||
| name: 提交公益活动 / Submit Activity | ||
| description: 提交一个公益活动、会议或竞赛 / Submit a public welfare activity, conference, or competition | ||
| title: "活动官方名称 / Official Activity Title" | ||
| labels: | ||
| - activity | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| ## 提交说明 / Submission Guidelines | ||
|
|
||
| 提交后会自动创建 pull request 给开源社群审核,并由仓库维护者合并,再由自动化流水线更新到网站。 | ||
|
|
||
| After submission, a pull request will be automatically created for open source community review, merged by repository maintainers, and then updated to the website by the automated pipeline. | ||
|
|
||
| - type: dropdown | ||
| id: type | ||
| attributes: | ||
| label: 活动类型 / Activity Type | ||
| description: 请选择活动类型 / Please select the activity type | ||
| options: | ||
| - meetup | ||
| - conference | ||
| - competition | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: 活动简介 / Activity Description | ||
| description: 活动的简要介绍 / Brief description of the activity | ||
| placeholder: "请描述活动的主要内容、目的和意义 / Please describe the main content, purpose, and significance of the activity" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: tags | ||
| attributes: | ||
| label: 分类标签 / Tags | ||
| description: 请用英文逗号分隔多个标签 / Please use commas to separate multiple tags | ||
| placeholder: "例如:志愿服务, 公益募捐, 上海, 线上活动 / Example: 志愿服务, 公益募捐, 上海, 线上活动" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: id | ||
| attributes: | ||
| label: 唯一 ID / Unique ID | ||
| description: 活动的全局唯一标识符,建议使用英文小写和连字符 / Globally unique identifier for the activity, use lowercase English and hyphens | ||
| placeholder: "例如:yulin-heroic-deed-fundraising-2025" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: link | ||
| attributes: | ||
| label: 活动链接 / Activity Link | ||
| description: 活动的官方链接或详情页面 / Official link or detail page of the activity | ||
| placeholder: "例如:https://mp.weixin.qq.com/s/... / Example: https://example.com/activity" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: start_time | ||
| attributes: | ||
| label: 开始时间 / Start Time | ||
| description: 活动开始的具体时间 / The specific date and time when the activity starts | ||
| placeholder: "例如:2025-10-01 09:00:00 / Example: 2025-10-01 09:00:00" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: end_time | ||
| attributes: | ||
| label: 结束时间 / End Time | ||
| description: 活动结束的具体时间 / The specific date and time when the activity ends | ||
| placeholder: "例如:2025-10-31 17:00:00 / Example: 2025-10-31 17:00:00" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: timeline | ||
| attributes: | ||
| label: 活动日程 / Timeline | ||
| description: 活动各环节的关键时间节点,使用 Markdown 表格格式 / Key milestones of the activity in Markdown table format | ||
| value: | | ||
| | 关键日期 / Deadline | 说明 / Description | | ||
| | --- | --- | | ||
| | 2025-10-19T23:59:00 | 论文征集截止 | | ||
| | 2025-11-15T09:00:00 | 学术年会开始 | | ||
|
|
||
| - type: input | ||
| id: timezone | ||
| attributes: | ||
| label: 时区 / Timezone | ||
| description: 请使用标准 IANA 时区名称 / Please use standard IANA timezone name | ||
| placeholder: "例如:Asia/Shanghai" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: place | ||
| attributes: | ||
| label: 活动地点 / Place | ||
| description: 活动地点,线上活动直接填写"线上" / Location of the activity; write "线上" for online events | ||
| placeholder: "例如:中国,上海 或 线上 / Example: 中国,上海 or 线上" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: checkboxes | ||
| id: confirmation | ||
| attributes: | ||
| label: 我确认 / I Confirm | ||
| options: | ||
| - label: 提供的信息真实准确 / The information provided is truthful and accurate | ||
| required: true | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| name: 提交无障碍友好餐厅 / Submit Accessible Restaurant | ||
| description: 提交一家无障碍友好的餐厅 / Submit an accessibility-friendly restaurant | ||
| title: "餐厅官方名称 / Official Restaurant Name" | ||
| labels: | ||
| - restaurant | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| ## 提交说明 / Submission Guidelines | ||
|
|
||
| 提交后会自动创建 pull request 给开源社群审核,并由仓库维护者合并,再由自动化流水线更新到网站。 | ||
|
|
||
| After submission, a pull request will be automatically created for open source community review, merged by repository maintainers, and then updated to the website by the automated pipeline. | ||
|
|
||
| - type: input | ||
| id: id | ||
| attributes: | ||
| label: 唯一 ID / Unique ID | ||
| description: 餐厅的全局唯一标识符,建议使用英文小写和连字符 / Globally unique identifier, use lowercase English and hyphens | ||
| placeholder: "例如:aimer-coffee-shanghai" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: 餐厅简介 / Description | ||
| description: 餐厅的简要介绍 / Brief description of the restaurant | ||
| placeholder: "请描述餐厅的特色与无障碍友好服务 / Please describe the restaurant's features and accessibility services" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: features | ||
| attributes: | ||
| label: 无障碍特色服务 / Accessibility Features | ||
| description: 请用英文逗号分隔多个特色服务 / Please use commas to separate multiple features | ||
| placeholder: "例如:手语服务, 无障碍通道, 盲文菜单 / Example: 手语服务, 无障碍通道, 盲文菜单" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: food | ||
| attributes: | ||
| label: 特色美食 / Specialty Food | ||
| description: 餐厅的招牌菜品或饮品及价格,使用 Markdown 表格格式 / Signature dishes or drinks with prices in Markdown table format | ||
| value: | | ||
| | 品名 / Dish | 价格 / Price | | ||
| | --- | --- | | ||
| | 招牌咖啡 | ¥35 | | ||
| | 无障碍套餐 | ¥68 | | ||
|
|
||
| - type: input | ||
| id: avg_spend | ||
| attributes: | ||
| label: 人均消费 / Average Spend | ||
| description: 餐厅的人均消费,请注明货币单位 / Average spend per person, please include currency unit | ||
| placeholder: "例如:¥50 / Example: ¥50" | ||
|
|
||
| - type: checkboxes | ||
| id: social_values | ||
| attributes: | ||
| label: 无障碍社会价值 / Accessibility Social Values | ||
| description: 请选择该餐厅提供的无障碍相关价值 / Select the accessibility-related values this restaurant provides | ||
| options: | ||
| - label: 残障就业支持 / Disability employment support | ||
| - label: 无障碍通道 / Accessible entrance | ||
| - label: 无障碍洗手间 / Accessible restroom | ||
| - label: 手语服务 / Sign language service | ||
| - label: 盲文菜单 / Braille menu | ||
| - label: 特殊饮食需求支持 / Special dietary needs support | ||
|
|
||
| - type: input | ||
| id: address | ||
| attributes: | ||
| label: 地址 / Address | ||
| description: 餐厅的详细地址 / Detailed address of the restaurant | ||
| placeholder: "例如:上海市静安区示例路1号 / Example: 上海市静安区示例路1号" | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: lat | ||
| attributes: | ||
| label: 纬度 / Latitude | ||
| description: 餐厅的 GPS 纬度坐标(可从地图应用获取)/ GPS latitude coordinate (can be obtained from map apps) | ||
| placeholder: "例如:31.2304" | ||
|
|
||
| - type: input | ||
| id: lng | ||
| attributes: | ||
| label: 经度 / Longitude | ||
| description: 餐厅的 GPS 经度坐标(可从地图应用获取)/ GPS longitude coordinate (can be obtained from map apps) | ||
| placeholder: "例如:121.4737" | ||
|
|
||
| - type: checkboxes | ||
| id: confirmation | ||
| attributes: | ||
| label: 我确认 / I Confirm | ||
| options: | ||
| - label: 提供的信息真实准确 / The information provided is truthful and accurate | ||
| required: true |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.