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

[benchmarking] Implement message listeners across appropriate modules #158

Closed
lynchee-owo opened this issue May 3, 2024 · 0 comments
Closed

Comments

@lynchee-owo
Copy link
Contributor

lynchee-owo commented May 3, 2024

This does not add new features to user side, but only for benchmarking.

Ensure that all necessary message listeners are implemented in the correct components or modules within the WebWand architecture.

  • Identify and document where each listener should reside based on their functionality. For example, openSidePanel might be in background/index.js, but others like runTask might be in a different part of the extension.
  • Implement a simple response mechanism for each listener to confirm receipt of messages by sending back a "heard" message to the Python script.
  • For each listener identified, develop the specific functionalities they need to execute. For example, storeAPIKey should securely store the received key, runTask should handle task execution, and fetchScreenshot should capture and send back a screenshot.

Note:
think about how to deal with the state manament.

@lynchee-owo lynchee-owo changed the title Implement message listeners across appropriate modules [benchmarking] Implement message listeners across appropriate modules May 3, 2024
@lynchee-owo lynchee-owo closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 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

No branches or pull requests

1 participant