Group timetables that have the same slot layout

Đang mở
#260 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá 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 with src/lib/utils.ts and src/components/cards/ViewTimeTable.tsx to trace how timetable combinations are built and displayed. Compare layouts that differ only by faculty with layouts where one lab slot differs, then check how saving, sharing, filtering, and the timetable counter use the selected combination. Done means each unique layout appears once, its faculty alternatives remain accessible, and those actions still refer to the actual selection.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Right now, two timetables can look exactly the same in the grid but still appear as separate results just because a faculty is different.

For example, three faculty choices for the same course in the same slot shouldn't force someone to scroll through three identical-looking timetables.

What needs to be done

  • Build a consistent signature from the occupied slots/course arrangement.
  • Group combinations with the same layout while keeping all their faculty alternatives accessible.
  • Show each unique layout once, with a way to inspect or choose the faculty combinations within it.
  • Make sure saving, sharing, filtering and the timetable counter still refer to the actual selection.
  • Test cases where faculty differ but slots match, and where only one lab slot differs.

Likely files: src/lib/utils.ts, src/components/cards/ViewTimeTable.tsx.

Keep this separate from the generator optimization so the grouping logic is easy to verify.

Ngôn ngữ chính
TypeScript
Star
7
Fork
39
Merge trung bình
10 giờ 59 phút
Pull request đã merge (30 ngày)
62

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeChefVIT/ffcs

Tất cả issue của CodeChefVIT/ffcs

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.