Skip to content

Added right-click context menu#12

Open
saiflakhani wants to merge 47 commits intoschezfaz:masterfrom
saiflakhani:master
Open

Added right-click context menu#12
saiflakhani wants to merge 47 commits intoschezfaz:masterfrom
saiflakhani:master

Conversation

@saiflakhani
Copy link
Contributor

@saiflakhani saiflakhani commented Nov 2, 2020

I've theoretically been able to add a context menu.

You can now highlight a word and search with spot.

Screenshot 2020-11-02 200356
Screenshot 2020-11-02 200532

Current issues:

@saiflakhani
Copy link
Contributor Author

Ping.

});
});
});
}
Copy link
Owner

@schezfaz schezfaz Nov 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a smart workaround! However, I have been working on this simultaneously on my local, instead of opening this pop-up, what I figured we could do was:

  • Highlight text on webpage --> Right click --> Open context menu --> Select SPOT
  • We'll send just the data that was highlighted to the extension, probably trigger a notification on the bottom right corner (not sure if this is feasible - but looking into it)
  • User will manually open the SPOT extension
  • Search results of most recent highlighted text should be present

does this make sense?
I'll push these changes to a new branch, and have you review them if you'd like. Post which we can figure what is the most optimum way of proceeding with this functionality!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely, the notification idea sounds great. The new window was making the css quite grotesque anyway.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Truu haha, will push to the new branch in a bit and ping you for a review!!

@schezfaz
Copy link
Owner

schezfaz commented Nov 6, 2020

Ping.

Apologies haha, busy week at work!

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

Comments