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

Fixes issue #138 #150 #151 #152

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ishaanxgupta
Copy link

Solves issues #138 #150 #151


Description

This PR implements two significant enhancements to the History Page:

  1. Sidebar for Easy Navigation: Introduced a sidebar to provide quick access to quiz history, enabling users to navigate through past quizzes without clutter.
  2. Addition of Description and Context: Included context fields for each quiz, offering users more insights into their previously generated quizzes.

Changes Made

Sidebar Implementation

  • Added a SidePanel View for organized and enhanced navigation of quiz history.
  • Implemented a toggle mechanism to open/close the sidebar.
  • Styled the sidebar for seamless integration with the platform’s theme.

Description and Context in History

  • Updated the quiz structure to include description and context fields during quiz generation.
  • Displayed these fields on the History Page under each quiz entry.
  • Truncation mechanism for long text with a "Read More" toggle.

Additional Enhancements

  • Adjusted the getQuizzesFromLocalStorage function to accommodate the new fields.
  • Ensured both the sidebar and context-related changes are responsive and visually consistent.

Implementation Details

Sidebar Features

  • The sidebar is accessible via a menu icon on the top-right corner of the Home Page.
  • Displays a list of past quizzes, clickable to navigate directly.

Context and Description Display

  • Added description and context fields under each quiz in the History Page.
  • Each field is truncated to maintain a clean layout with an option to expand.

Screenshots

image

Sidebar.added.mp4

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.

1 participant