Start editing a course by clicking its class in a generated timetable
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start by reading ViewTimeTable.tsx and the existing pencil edit flow referenced in #291; check the open changes in #266 and #283 before editing. Trace how timetable blocks expose course and lab codes, including grouped timetables from #267. Done when clicking a class starts editing the matching course, scrolls to the selection box, and saving regenerates the timetable while preserving filters and returning to timetable 1.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
After generating, a student who wants to change a course has to scroll up and find it in Your Courses.
Describe the solution you'd like
- Clicking a class in a generated timetable starts the same edit as the pencil (#291) for that course.
- The page scrolls up to the selection box.
- Save changes then works as in #291: it regenerates, keeps the filters and goes back to timetable 1.
Additional context
Depends on #291.
A timetable block only knows its course code, so lab blocks have to be matched on the lab code (courseCodeLab) too.
Related: #193 asks for clicking the grid on the Slot View page to pick slots. This issue is about generated timetables on the main page, so the two don't overlap.
ViewTimeTable.tsx is changing in other work, so expect merge conflicts:
- #266 (open): splits
ViewTimeTable.tsxinto smaller modules. - #283 (open PR): changes timetable state in
ViewTimeTable.tsx. - #267 (merged): groups timetables with the same slot layout. A click should still open the right course.
Design
- Same edit mode as
Quick modify, pencil pressed(node2558:1338) - Link: https://www.figma.com/design/uCP8B7drfprKgsHYjB8sYs?node-id=2558-1338
Example
One way to build it (just an idea):
onClickon the class block callsstartEditwith the course's id- Then scroll to the selection box
onClick={() => {
startEdit(courseId);
document.getElementById('start')?.scrollIntoView({ behavior: 'smooth' });
}}
- Ngôn ngữ chính
- TypeScript
- Star
- 6
- Fork
- 37
- Merge trung bình
- 11 giờ 13 phút
- Pull request đã merge (30 ngày)
- 55
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeChefVIT/ffcs
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
CodeChefVIT/ffcs#295 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Edit a course from Your Courses with a pencil buttonCó thể đã có người làm @Aiden-Trindade đã nhận 2 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 43/100
CodeChefVIT/ffcs#291 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Put the selection box and Your Courses side by side and restyle themCó thể đã có người làm @Aiden-Trindade đã nhận 2 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
CodeChefVIT/ffcs#290 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
CodeChefVIT/ffcs#289 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
CodeChefVIT/ffcs#288 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CodeChefVIT/ffcs
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
awslabs/visual-asset-management-system#937 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
t0ggles
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
nolimits4web/swiper#8255 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 15 ngày
-
render: --variables-file (and --variables <path>) fails with "io.readFile is not a function" since 0.8.212Có thể đã có người làm @miguel-heygen đã nhận hôm nay. Đang mởbug triage/needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
heygen-com/hyperframes#6830 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug launch local use
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
account: profile bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 5 ngày