Skip to content

Conversation

@levadadenys
Copy link
Contributor

[AITT-1252] Add progress bar to the personalization quiz

2025-10-20.16.57.09.mov

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Creation Checklist:

  • Tests provide adequate coverage
  • Privacy impacts have been documented
  • Security impacts have been documented
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Follow-up work items (including potential tech debt) are tracked and linked

@levadadenys levadadenys requested review from a team, cearachew, Copilot and etaderhold October 20, 2025 14:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements a progress bar for the personalization quiz to provide users with visual feedback on their completion progress. The progress bar displays the current question number, total questions, and percentage complete.

  • Adds a new PersonalizationProgressBar component with question tracking and percentage calculation
  • Updates layout styling to accommodate the progress bar at the top of the quiz
  • Integrates the progress bar into the main quiz container with conditional rendering

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
PersonalizationProgressBar.tsx New component implementing progress bar with question count and percentage display
PersonalizationCollectorContainer.tsx Integrates progress bar component and updates layout structure
personalization-information.module.scss Adds styling for progress bar container and updates page layout
personalization_information.html.haml Removes center justification to accommodate new layout

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

import style from './personalization-information.module.scss';

type PersonalizationProgressBarProps = {
/** Current question number */
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if these comments are needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is a nice to have, not a need to have. This is intentional documentation for easier support in the future. While this is more straight forward example, I still try to add docs as a rule so that I don't forget to add it where it's less straight forward.

@tess323
Copy link

tess323 commented Oct 22, 2025

LGTM!

@tess323
Copy link

tess323 commented Oct 22, 2025

@MollyPeredo @kobryan0619 - tapping you in as well

Copy link
Contributor

@cearachew cearachew left a comment

Choose a reason for hiding this comment

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

👍

@MollyPeredo
Copy link

This looks great. Love how smooth the animation is!

@levadadenys levadadenys merged commit 9f6d877 into staging Oct 23, 2025
6 checks passed
@levadadenys levadadenys deleted the denys/aitt/aitt-1252 branch October 23, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants