-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement Maker
page
#15
Open
chessurisme
wants to merge
7
commits into
feature/main-page
Choose a base branch
from
feature/maker-page
base: feature/main-page
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added maker page class with comprehensive configuration. The constructor defines header and body elements, including title and various buttons. Configured z-index for layer management. Implemented create and remove methods for handling page lifecycle.
Introduced the Title component to handle the creation and removal of a title element on the page. The `create` method generates a div with specified attributes and text content, while the `remove` method clears the element from the DOM.
Implemented the smart assistant button component which creates a button for the smart assistant and handles its click events. On tap, it creates a Page instance with specified configuration, including header and body elements, and sets a z-index for display in future implementation.
Created the config quiz button component for a button with configuration settings. On click, it creates a wrapper element for further use. The class integrates with the Button component for initialization and handling button-specific functionality.
Implemented the preview button component for a button that triggers a quiz preview. On click, it creates a Page instance for future implementation. The class utilizes the Button component for button creation and event handling.
Added the save button component, which creates a button for saving quiz packs. On click, it initializes a Page instance configured for saving functionality. The class uses the Button component for button creation and event handling.
Introduced the add quiz form component to create a button that adds a quiz form to the page. On click, it initializes a quiz form instance, appends it to the page body, and sets up additional features such as Lucide icons and textarea event listeners. The class uses the Button component for button functionality and event handling.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
❓ What type of PR is this?
💬 Description
This PR includes
Maker
page, one of the pages thatMain
page handles. This page is responsible for quiz creation.🎟️ Related Tickets & Documents
Main
Page #14 and ImplementManager
page #16🃏 Added/updated tests?
We encourage you to keep the code coverage percentage at 90% and above.
🌿 What branch would you like to merge this into?
feature/main-page
📷 [optional] What gif best describes this PR or how it makes you feel?