-
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
Instructor home page: Improve display of card header on mobile #12279
Comments
This comment was marked as outdated.
This comment was marked as outdated.
@zhaojj2209 I can work on this issue please assign it to me. |
@mud1tx You have requested to work on multiple issues with the We do not assign issues to contributors, feel free to submit a PR. |
@zhaojj2209 I can work on this issue. |
@zhaojj2209 Can you please tell me where I can find these card codes and where can I see these cards in the localhost environment? I have already started the localhost. |
Hi @mud1tx, as mentioned in the issue title, the cards can be found in the instructor home page (log in as instructor and click on the Home tab). Regarding the code itself, do try inspecting the webpage to find out what component is causing the issue, and afterwards find the relevant files. Do let us know if you run into any further issues, as well as what you've tried to resolve them so that we can better assist. |
Hello, if this issue is still open can I create a PR for fixing it? |
@aorlandou Thank you for your interest in contributing to TEAMMATES! Someone has started working on this issue. Thus, I would suggest that you pick another good first issue to work on 👍🏻 |
hi, this issue still open? |
Hi @matiasJoao, feel free to submit a PR for this issue |
@weiquu Thank you, i will do it |
hi, i have a question, |
Hi @matiasJoao, sorry for the late reply. If you've still facing this issue, could you open a discussion and post the error message? Thanks! |
The file will be auto-generated once you set up the frontend dev server. As @weiquu has mentioned, please open a discussion thread for help requests next time instead of commenting on an issue. |
if this issue is still open can i create a PR ? |
Hi @AnkitaPatil2002, sure feel free to submit a PR for this issue |
Anyone working on this issue ?? |
Hi, @AnkitaPatil2002 has already expressed interest, so do find another issue to work on |
Hi, I'd be interested in tackling this issue. Is it still open? I saw that @AnkitaPatil2002 created a PR but closed it without merging it. |
…ttps://github.com/Mex7180/teammates into TEAMMATES#12279-mobile-display-course-card-header
…le (#12567) * Update instructor-home-page.component.scss Change to the mobile look. Displaying the options under the course title. * Update instructor-home-page.component.html * Update instructor-home-page.component.scss * Update instructor-home-page.component.html * Update instructor-home-page.component.html remove border-0 class (included as div was changed to button) * Changed card-header to button and tm-panel-chevron inside toolbar with styling * Refactor code for lint tests and update snapshots * Change header back to div * Update snapshots * Update panel-chevron.component.html - change to button - add accessibility attributes * Add type attribute and update snapshots * Update tests - card-header to div (nested interactivity) - remove invalid aria-attr. * Resolve axe-tests * Update snapshots * Change button styling and aria-label - set background color to inherit - change aria-label - update snapshots for testing * Change active styling * tm-rich-text-editor add role and aria-labels
The row display format of the card header for each course works well on desktop, but not on mobile:
Suggestion: switch to column format on mobile screen sizes, similar to the card headers for the instructor edit page (example below).
The card header should also be changed to be buttons semantically so that they can be picked up by screen readers. For the approach, do refer to the card headers in the instructor edit sessions page.
The text was updated successfully, but these errors were encountered: