-
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
[#11150] Search page: Remove unnecessary panel #11679
[#11150] Search page: Remove unnecessary panel #11679
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
1 similar comment
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
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.
Hello, thank you for contributing to TEAMMATES. It seems like some linting tests are failing too
You can refer to the documentation for linting . To update the snapshots, you can run npm run test -- --updateSnapshot
, or alternatively, run npm run test
, and then press the button "u".
From your screenshot, it looks like all your tests are failing. Have you executed this before you run the test:
If that is the case, you will need to execute this before you run the test. This command generates frontend types from backend description files. After that, you can run test and update snapshot based on displayed information (see @FergusMok 's comment above).
Even though the change is minor, it is still suggested to follow steps in Development Guide to run the development server and test the functionality. |
Hi @tamrakarsweta220, these parts of your pull request do not appear to follow our contributing guidelines:
|
I followed the instructions as suggested above by @fsgmhoward and @FergusMok and updated the snapshot, so the component tests have passed. I am still having issues with lint though. I tried running the Also, the teammates bot keeps telling me that my PR "Should contain GitHub keyword to auto-close issue it fixes: Refer here for a list of accepted keywords." I wrote "fixes" based on the documentation but it's still showing me this error. I capitalized the "f" in "fixes" and then put it in lowercase too, but the error didn't go away. So, I am not sure what is causing the error. Is there something else that I am missing? |
This comment was marked as resolved.
This comment was marked as resolved.
Usually we do with "Fixes". I am not sure whether it is accepted or not in lower case. For the lint issue, I see that all checks passed already. It fails on your local machine because the lint program takes auto-generated files, which will fail it. You have to take a look at which file fails the linting test. If it is not those you made changes, then you are fine. If you are interested, the related issue is this: #11564 |
Hi @tamrakarsweta220, these parts of your pull request do not appear to follow our contributing guidelines:
|
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.
Good job, the table looks good. Just some small considerations, and remember to update the branch to master
...instructor/instructor-search-page/instructor-search-bar/instructor-search-bar.component.html
Outdated
Show resolved
Hide resolved
...instructor/instructor-search-page/instructor-search-bar/instructor-search-bar.component.html
Outdated
Show resolved
Hide resolved
Issue solved, need to merge branch with master
@FergusMok Hi, I just made the changes you suggested. So, I'm commenting for code review again. 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.
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! 👍
Fixes #11150
PR Checklist
Ensure that you have:
master
andrelease
./gradlew lint
andnpm run lint
Outline of Solution
I made two changes to the instructions on the student search page.
I also removed the "student" header and the outer panel from the search result table.
This is how the changes currently look like: