Chrome: Make button a page action #45

Closed
Peeja opened this Issue Feb 6, 2013 · 3 comments

Projects

None yet

2 participants

@Peeja
Peeja commented Feb 6, 2013

#34 added a button to the Chrome toolbar. That button is often disabled, because we're not in a rich-text field it can operate on. Chrome has an even better system for this called Page Actions.

http://developer.chrome.com/extensions/pageAction.html

A Page Action is like a Browser Action (the current type of button), but it only shows up conditionally, and it appears inside the URL bar. You can use chrome.pageAction.show() and chrome.pageAction.hide() to show and hide it as applicable.

This way, the button gets out of the way when it's not useful, and appears when it can help.

@adam-p
Owner
adam-p commented Feb 7, 2013

I first implemented the button as a pageAction, since that seemed like the obviously correct thing to do. But after showing it to a few people, I realized that no one knows that pageActions are interactive -- everyone just thinks they're informational.

I asked for other people's thoughts in the Markdown Here Google Group...
https://groups.google.com/d/topic/markdown-here/NjQRYcD1mgY/discussion

...and in the UX StackExchange...
http://ux.stackexchange.com/questions/33987/browser-extensions-page-action-or-browser-action

...and in the Chrome Extension Dev Google+ community...
https://plus.google.com/u/0/112228900913862544865/posts/9HbUjid2UvV

...and the general consensus seems to be that, indeed, people just don't know that they can click pageActions.

That being the case, I'm forced to conclude that if I have to choose between the button being a browserAction or a pageAction (and in Chrome I do have to decide), the best choice is browserAction.

Sorry, dude. I feel you -- I don't like toolbar clutter either -- but it's not going to be a pageAction. I recommend that you remove it -- right-click and then "Hide Button" -- and use the context menu or hotkey.

@adam-p adam-p closed this Feb 7, 2013
@Peeja
Peeja commented Feb 7, 2013

Wow. Due diligence done. 😳

I hadn't considered that it wouldn't read as an action. Considering Chrome calls it a "page action", I call that a UX bug on Chrome's part. Dang.

"Hide Button" it is. Thanks.

@adam-p
Owner
adam-p commented Feb 8, 2013

Yeah, I think the pageAction design is a UX bug (for both Chrome and Firefox). There are virtually no affordances indicating that they're clickable: they're not raised like most buttons, they don't change appearance if you hover over them (or most don't, or not enough), and the mouse cursor doesn't change to hand. The tooltip text often isn't even an action-verb phrase.

Ah well. Onward and upward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment