-
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
[#12658] Instructor Home Page: Dropdown buttons on mobile #12662
Conversation
Hi @Tejasker, can you check out the failing tests? You might need to check out the relevant I've taken a quick look and it seems that the tests can't find the archive and delete buttons by the There are also a couple of snapshot tests that are failing. You can update the snapshots by running |
hii @weiquu, I have made updates in the snapshot by running the npm test & checked with the component test failing cases. These component tests are now passed after updating the snapshot & also E2E tests . |
Hi @Tejasker, thanks for fixing the snapshot tests. Note that the other tests are still failing - please refer to the first 2 paragraphs of my previous comment for some guiding info. In particular, the |
hii @weiquu , i have manged to solve the Component test that are causing test cases to fail in CI , I will be further working on the E2E test that Is making CI fail , if possible I required your help in solving this issue if you can guide to over come the E2E test it would be much appreciated. Anyhow i will try my best to solve the E2E test failure. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Tejasker, great work on the tests! Almost good to go, just a few small nits.
src/web/app/pages-instructor/instructor-home-page/instructor-home-page.component.html
Outdated
Show resolved
Hide resolved
src/web/app/pages-instructor/instructor-home-page/instructor-home-page.component.html
Outdated
Show resolved
Hide resolved
src/web/app/pages-instructor/instructor-home-page/instructor-home-page.component.html
Outdated
Show resolved
Hide resolved
src/web/app/pages-instructor/instructor-home-page/instructor-home-page.component.html
Outdated
Show resolved
Hide resolved
src/web/app/pages-instructor/instructor-home-page/instructor-home-page.component.html
Outdated
Show resolved
Hide resolved
src/web/app/pages-instructor/instructor-home-page/instructor-home-page.component.spec.ts
Outdated
Show resolved
Hide resolved
src/web/app/pages-instructor/instructor-home-page/instructor-home-page.component.spec.ts
Outdated
Show resolved
Hide resolved
src/web/app/pages-instructor/instructor-home-page/instructor-home-page.component.spec.ts
Outdated
Show resolved
Hide resolved
Hii @weiquu once you are OK with my above responses for the change requested, Then I can raise a PR |
Hi @Tejasker, replying to the E2E and component tests comments here: I think my suggestion of Let me know if the above makes sense. If it's okay, please go ahead and make the changes to the same branch (i.e. use this same PR) |
Hii @weiquu as mentioned by you above regarding the changes, I have made the necessary changes ( ie small adjustments & alignments in the code) and merged the 2 commits ahead of the my main repo #12671, #12667, and made my forked repo in- sync with the original . I Have raised PR with the same branch as earlier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Great work, and thank you for your contribution!
…EAMMATES#12662) * fixed changes & made responsive drop down for the indtructor home page * resolved the issues that are causing test cases that are failing * resolved the Component testing issues that is causing test cases fail. * resolved the E2E testing issues. * resolved the E2E testing issues. * resolved the E2E testing issues. * resolved the E2E testing issues. * resolved the E2E testing issues. * resolved the E2E testing issues. * modified & made small adjustments in the code as required --------- Co-authored-by: Jason Qiu <[email protected]> Co-authored-by: Dominic Lim <[email protected]>
Fixes #12658
Outline of Solution
Made Responsive Drop-down Menu for the Instructor Home Page
Before there was an Overflow of the drop-down buttons on the home page
After making it Responsive according to the size of the screen, I am able to fix the overflow(spilling out) issue
Modified Screens