Skip to content

Sharadha taking over for Manvitha- Phase 4 – Timer Functionality#4432

Open
myeeli wants to merge 27 commits into
developmentfrom
Manvitha-Student-ActivityLog-Timer
Open

Sharadha taking over for Manvitha- Phase 4 – Timer Functionality#4432
myeeli wants to merge 27 commits into
developmentfrom
Manvitha-Student-ActivityLog-Timer

Conversation

@myeeli

@myeeli myeeli commented Nov 21, 2025

Copy link
Copy Markdown
Contributor

Description

image image

Related PRS (if any):

This frontend PR is related to the #1916 backend PR.

Main changes explained:

  • Delete file A for removing unused components …
  • Update file B for including new pattern …
  • Create file C for introducing new components …

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. go to localhost:5173/studentportal

Screenshots or videos of changes:

1.mp4

Note:

Include the information the reviewers need to know.

@netlify

netlify Bot commented Nov 21, 2025

Copy link
Copy Markdown

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 8fbc442
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6950589da013620008f2c3ff
😎 Deploy Preview https://deploy-preview-4432--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@myeeli myeeli changed the title Manvitha student activity log timer Manvitha- Phase 4 – Timer Functionality Dec 6, 2025
@one-community one-community added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Dec 19, 2025

@Anusha-Gali Anusha-Gali left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Manvitha,

I have reviewed your PR locally and have posted my comments on the frontend pr: OneCommunityGlobal/HGNRest#1916 (review)

@VijayAnirudh VijayAnirudh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello!

  1. Functionality works.
  2. Font color made the text camouflaged (my browser rendered it differently, I'm assuming!)
  3. Dark mode isn't supported.
image image

@rohanrastogi311 rohanrastogi311 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice implementation.

Few issues: 1) Point 4 on your "How to test" is an incorrect URL.
2) Dark Mode functionality isn't implemented well.
3) The seconds has no up or down arrows and neither functionality respectively.

PR 4432 screenshot PR 4432 Screenshot 2 PR 4432 Screenshot 3

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@SharadhaKasiviswanathan SharadhaKasiviswanathan changed the title Manvitha- Phase 4 – Timer Functionality Sharadha taking over for Manvitha- Phase 4 – Timer Functionality Apr 10, 2026
- Remove unused imports (KeyboardArrowUpRoundedIcon, KeyboardArrowDownRoundedIcon)
- Remove unused msToHMS function
- Wrap event handlers and API helpers in useCallback
- Replace empty catch blocks with error state updates
- Add complete popup content (time editor grid, seconds up/down, quick presets, progress circle, controls)
- Add seconds state with increment/decrement and input
- Add dark mode font colors for colon separator in timer.module.css
- Remove broken :global(.dark-mode) CSS nesting from StudentDashboard.module.css
@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit e5f0c9e
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a5a4e4a120951000844167f
😎 Deploy Preview https://deploy-preview-4432--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

- TaskTimer.jsx: add onKeyDown to backdrop for keyboard a11y
- TaskTimer.jsx: use optional chaining for optional chain rule
- TaskTimer.jsx: remove unused loading state variable
- timer.module.css: darken #3b82f6 to #2563eb for WCAG AA contrast
- StudentDashboard.module.css: same contrast fix, remove commented code
- StudentDashboard.jsx: replace empty catch blocks with console.error
@SharadhaKasiviswanathan
SharadhaKasiviswanathan dismissed stale reviews from Anusha-Gali, rohanrastogi311, and VijayAnirudh July 9, 2026 07:37

Dismissing review as the feedback on this PR and the associated backend PR (#1916) has been resolved. The quality gate and ESLint accessibility warnings have also been cleared.

@sonarqubecloud

Copy link
Copy Markdown

@kzou55 kzou55 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Sharadha,

I ran and tested the PR locally alongside the associated backend.

Verfied

  • "-" and "+" button are responsive and work as intended

    Image Image
  • Dark Mode looks fine
    image

Issues

  1. Can't seem to start and reset the timer. Getting blocked by CORs policy
  • Note: I can't test the stop button either since the timer is never started so I can't verify the behavior

    Image
  1. The pop up timer component causes the screen to grey out and it seems like it's not clickable as clicking anywhere causes the component to disappear so the component cannot be verified. And it's not centered

    Image

@HemanthNidamanuru HemanthNidamanuru left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

I tested this PR locally. The Start and Reset timer buttons are not working, so I was also unable to verify the Stop button functionality.

Additionally, the timer popup greys out the screen and disappears when clicking anywhere, which prevents proper testing. The popup is also not centered on the page.

Image Image

@one-community one-community added Needs New Developer This is a PR that is partially developed but needs someone new to take it over and finish it. and removed High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible labels Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs New Developer This is a PR that is partially developed but needs someone new to take it over and finish it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants