Skip to content

Conversation

@Bihan-Banerjee
Copy link

This pull request introduces a significant overhaul of the Stacky application, modernizing its state management, expanding its features, and improving the overall user experience. The primary goal was to refactor the codebase for better scalability and maintainability while adding valuable new functionality for users.

Changes Made:

  1. State Management Refactor with Zustand- Replaced the original useStacky custom hook with a centralized Zustand store (src/store/quizStore.js). This simplifies state logic and makes the components cleaner and more focused on rendering.

  2. Expanded Career Paths- Added two new roles: "DevOps" and "App Developer," making the quiz more comprehensive. Updated the questions in src/data/questions.js to support the new roles.

  3. Centralized Role Data- Created a new src/data/roles.js file to store all role titles and descriptions for easy future inclusions/exclusions. The Zustand store now dynamically pulls from this file, making it easy to add or modify roles in the future without touching the application logic.

  4. Added UI Progress Bar- Implemented a new ProgressBar component to give users a visual indication of their progress through the quiz.

image

This is a screenshot of the ui with the progress bar.

@mauelito3 mauelito3 force-pushed the main branch 25 times, most recently from e13b74a to 8ab06e8 Compare October 14, 2025 00:12
@mauelito3 mauelito3 force-pushed the main branch 30 times, most recently from b65bf0f to df1de35 Compare November 24, 2025 17:34
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.

2 participants