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

#10 add option to popup menu #11

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

Conversation

vanduc1102
Copy link

What does this PR do?

add option to popup menu

screenshots?

image

@henices
Copy link
Owner

henices commented Feb 1, 2018

Thank you for your contribution, but did you notice that we have a shortcut Alt +O to go to the option page directly.

@vanduc1102
Copy link
Author

hi @henices , i haven't noticed the option.
but Alt + O may conflicts with other hotkey.

Copy link

@pepijnmm pepijnmm left a comment

Choose a reason for hiding this comment

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

You can also right click on the extention and then click on options to get the option screen.
But I indeed think that this pr should be included because most people are used to finding the option menu by just left clicking it.

@@ -42,6 +42,11 @@
<span id="direct" class="text" data-i18n-content="direct_proxy">DIRECT</span>
</div>
</li>
<li id="option-page" title="Open options page">
<div class="menu">
<span id="option" class="text" data-i18n-content="direct_proxy">OPTIONS</span>

Choose a reason for hiding this comment

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

the data-il18n is wrong. I would expect "option_page"

@@ -65,6 +65,9 @@
"direct_proxy" : {
"message" : "直接连接"
},
"option-page" : {

Choose a reason for hiding this comment

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

for consistency I would use a _ instead of a -

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.

3 participants