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

[Improvement] Adding Context-Menu option for Generating Quiz #18

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

Conversation

Roaster05
Copy link
Contributor

@Roaster05 Roaster05 commented Mar 19, 2024

The PR associated with issue #17 introduces a context-menu option to facilitate quiz generation for selected text, enhancing user experience.

Implementation:

The addition begins with incorporating the background script, also known as the Service Worker file (service_worker.js), into the extension directory, and mapping it within the manifest.json file. This script defines the context menu option metadata and installs it during runtime, specifying the behavior of the extension. The highlighted text is stored in the browser's local storage.

Subsequently, the text_input.js file retrieves this stored variable and sets it as the value within the input box, displayed within the extension's popup window after the context menu operation.

Current Output:

Screencast.from.2024-03-19.13-19-01.webm

Reviewers:

@prarabdhshukla
@MiHarsh

@Roaster05 Roaster05 changed the title added context menu option Added context menu option Mar 19, 2024
@Roaster05 Roaster05 changed the title Added context menu option [improvement] Adding Context-Menu option for Generating Quiz Mar 26, 2024
@Roaster05 Roaster05 changed the title [improvement] Adding Context-Menu option for Generating Quiz [Improvement] Adding Context-Menu option for Generating Quiz Mar 26, 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.

1 participant