Skip to content
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

Add calendar to mentor attendance view #475

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smartspot2
Copy link
Member

The current calendar has a few annoyances, which could benefit from some QOL improvements.

In particular, the date selection is a horizontal scroll at the top, which is not the easiest to navigate---users are more used to vertical tabs, especially in situations where there are many options, as horizontal scrolling becomes unwieldy. In this new version of the page, the tabs are displayed vertically, on the left of the attendance form.

Additionally, a calendar has been added for better visual representation and selection of the attendance date. This calendar also provides some information about attendance history at a glance, listing the number of present students out of the total students for every section occurrence. The calendar can be toggled on or off with a button on the top left of the container.

Old calendar:
image

New calendar:
image

@smartspot2 smartspot2 added the enhancement New feature or request label Jun 6, 2024
@smartspot2 smartspot2 self-assigned this Jun 6, 2024
Copy link

cypress bot commented Jun 6, 2024

csm_web    Run #360

Run Properties:  status check failed Failed #360  •  git commit 44ce9555fd: Add calendar to mentor attendance view
Project csm_web
Branch Review feat/mentor-attendance-calendar
Run status status check failed Failed #360
Run duration 02m 23s
Commit git commit 44ce9555fd: Add calendar to mentor attendance view
Committer Alec Li
View all properties for this run ↗︎

Test results
Tests that failed  Failures 2
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 76
View all changes introduced in this branch ↗︎

Tests for review

Failed  cypress/e2e/section/mentor-section.cy.ts • 1 failed test • Tests on Chrome

View Output

Test Artifacts
attendances > should be able to navigate to and view section attendances Test Replay Screenshots
Failed  cypress/e2e/section/mentor-section.cy.ts • 1 failed test • Tests on Firefox

View Output

Test Artifacts
attendances > should be able to navigate to and view section attendances Screenshots

@smartspot2 smartspot2 force-pushed the feat/mentor-attendance-calendar branch from 8d149c9 to f62efe4 Compare September 4, 2024 08:14
@smartspot2 smartspot2 force-pushed the feat/mentor-attendance-calendar branch from f62efe4 to 44ce955 Compare September 11, 2024 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant