-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[#12329] Refactoring of sortable tables - Instructor courses page #12537
[#12329] Refactoring of sortable tables - Instructor courses page #12537
Conversation
Pulling from upstream
Updating the changes in the forked repository
Up to date with upstream master
…instructor-course
…instructor-course
@singhabhyudita Please fix the conflicts and ensure the checks (the red Xs) are passing before we review. No hurry, thanks!
Run |
I have already updates the snapshots. There are a few errors in the specs. Basically since I have moved the action buttons into another component, the button calls in the specs file are giving errors. Do I simply delete them? |
Folks, This PR seems to be stalling (no activities for the past 7 days). 🐌 😢 |
Deleting the tests doesn't sit right with me... for example, disabling the enrol button when an instructor cannot modify students seems an important feature to test. I think we should still be testing functionality, but perhaps the tests could be shifted to different components. I suppose a way to keep the tests within With the above in mind, I think that the way forward is to shift the spec tests into their relevant components. For example, the test for disabling the enrol button could be shifted to the I also took a look at the other failing spec tests and noted that the "should load all courses by the instructor" test is failing - I think this one should be fixed and left in the @zhaojj2209 / @samuelfangjw / @wkurniawan07 - would appreciate any advice; am not too sure if shifting the tests into the newly-created components is the best approach, or if it might require too much setup. |
Folks, This PR seems to be stalling (no activities for the past 7 days). 🐌 😢 |
Folks, This PR seems to be stalling (no activities for the past 8 days). 🐌 😢 |
Folks, This PR seems to be stalling (no activities for the past 7 days). 🐌 😢 |
1 similar comment
Folks, This PR seems to be stalling (no activities for the past 7 days). 🐌 😢 |
Part of #12329
Outline of Solution
Refactored all the three tables ( Active Courses, Archived Courses and Deleted Courses ) into sortable tables. Created custom components for course stats in the active courses, and actions column in all the three tables.
Currently I need some help regarding how to change the corresponding spec.ts file to update it.