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

Implement Maker page #15

Open
wants to merge 7 commits into
base: feature/main-page
Choose a base branch
from
Open

Conversation

chessurisme
Copy link
Member

@chessurisme chessurisme commented Jul 23, 2024

❓ What type of PR is this?

  • Refactor ♻️
  • Feature ✨
  • Bug Fix 🛠️
  • Optimization 🚀
  • Documentation Update 📄
  • CI/CD 🤖

💬 Description

This PR includes Maker page, one of the pages that Main page handles. This page is responsible for quiz creation.

🎟️ Related Tickets & Documents

🃏 Added/updated tests?

We encourage you to keep the code coverage percentage at 90% and above.

  • Yes
  • No, because this is not necessary.
  • No, and this is why: I haven't write it yet.
  • I need help with writing tests

🌿 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?

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.
@chessurisme chessurisme added the ✨ enhancement New feature or request label Jul 23, 2024
@chessurisme chessurisme added this to the Quiz Manager 1.0 milestone Jul 23, 2024
@chessurisme chessurisme self-assigned this Jul 23, 2024
@chessurisme chessurisme mentioned this pull request Jul 23, 2024
10 tasks
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.
@chessurisme chessurisme mentioned this pull request Jul 23, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant