Skip to content

Commit

Permalink
feat(help): update step 2 with subject area
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Sep 26, 2024
1 parent 7181bcb commit 27028e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file modified public/help/search-course.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/locales/en-au.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"title": "How to use MyTimetable",
"steps": {
"select-term": "Select a term.",
"search-course": "Search for a course and press “Add” to add the course to the timetable.",
"search-course": "Choose a subject area, search for a course, and click “Add” to include it in your timetable.",
"calendar-dnd": "Scroll down to see the calendar with your enrolled courses. You can drag a class and drop it in one of the highlighted boxes to change its time.",
"change-week": "Change the calendar week to see more classes.",
"course-details": "Click your enrolled course to see details of your enrolled classes.",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"title": "如何使用 MyTimetable",
"steps": {
"select-term": "选择你的学期",
"search-course": "搜索课程后点击“添加”将课程添加至课程表",
"search-course": "选择一个学科并搜索课程,点击“添加”将课程添加至课程表",
"calendar-dnd": "下滑查看课程表,可以通过托拽课程修改时间",
"change-week": "切换周数查看更多课程",
"course-details": "点击你的选课查看详情",
Expand Down
3 changes: 2 additions & 1 deletion src/mocks/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ export const handlers = [
http.get('/api/subjects', async () => {
return HttpResponse.json({
subjects: deduplicateArray(COURSES.map(({ name }) => name.subject)).map(
(code, i) => ({ code, name: `Subject ${i}` }),
// (code, i) => ({ code, name: `Subject ${i}` }),
(code, i) => ({ code, name: `Computer Science` }),
),
});
}),
Expand Down

0 comments on commit 27028e4

Please sign in to comment.