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

Added quick generate options in Extension context menu #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

manthanabc
Copy link

Adds three new options to context menu

  • Generate MCQ questions
  • Generate true/ false type questions
  • Generate short questions

Each options use default value for difficulty and question numbers and effectively skips the text-input page, to allow users to quickly generate questions.

Video demo-

recording.1.mp4

This PR also does some cleanup from other extension related code like

  • Removes the contentScript
    justification: It was redundant since chrome.storage.local is specific to extension it can be directly accessed by the background service worker script (background.js) and there is no need to pass around messages to a content script for it to just do the same again
  • Fixes indentation in background.js file

@Roaster05
Copy link
Contributor

@Aditya062003 this PR seems fine to me , have a look at it once

@Roaster05 Roaster05 mentioned this pull request Dec 20, 2024
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