pageAction button okay?Pros:
Cons:
So, not a lot of points, but strong equivocal. To complicate things, in Chrome (unlike Firefox) you can't have both a pageAction and a browserAction -- gotta pick one.
Second question:
The original feature requester suggested that the button be put inline, rather than in the browser chrome. I fooled around with this for a while, but never got it working satisfactorily, so I put it aside an stuck with the less technically challenging in-chrome implementation.
But since then I've seen how Mailvelope does it:
...And it's pretty cool. (I see that my fatal mistake -- or one of them -- was trying to make the button element a child of the contenteditable, whereas Mailevelope makes it a sibling.) But is it too intrusive? It will certainly be a lot more complicated than a standard button, and will surely be a testing hassle (and may not work at all with Thunderbird/Postbox).
Is it worth it? Is it a lot better?
Again, any feedback welcome. Thanks in advance.
p.s.: I haven't shown Thunderbird, since it doesn't have the same pageAction question. Here's what it looks like:
I think it should really be in the email.
It's possible to have multiple rich-text fields on a page, where each of them can be used with markdown-here. That alone is enough to warrant that tight textbox-association.
For example, the "new GMail compose experience" (one description here) can have multiple email compose windows open simultaneously, on the same page.
pageAction in the abstract is a great idea, but I always find its use a little jarring. And I agree it's not button-like at all, more just informational. Most people don't find browser buttons offensive in any way, especially since you can disable it from showing.
I also asked this on the UX StackExchange:
http://ux.stackexchange.com/questions/33987/browser-extensions-page-action-or-browser-action
And in the Chrome App and Extensions Development G+ community:
https://plus.google.com/u/0/112228900913862544865/posts/9HbUjid2UvV
Not many replies yet, but it seems to be going the same way as Casey's opinion.
This quote from the official browserAction documentation is worth repeating:
Don't use browser actions for features that make sense for only a few pages. Use page actions instead.
Uh huh.
I've committed changes go from pageAction to browserAction. (Conveniently, I could refer to the code from when I went to pageAction from browserAction. Ugh.)
As long as we want the buttons to be unobtrusive, we still need the user to place the button himself, so the user has to choose where it goes anyway. Why not allow to "place" it as a "pageAction" button too?
To me the "pageAction" seems a lot more logical, but I agree that not many users will know what this is. However, the same is true for keyboard shortcuts (where probably more users know them, but many wont remember the "exact" combination).
In combination with the context menu toggle, i would prefer the "pageAction". The toggle would be only a right-click away and it would be there whenever needed. I think that the pageAction could even be enabled by default, as it is very unobstrusive and also "informs" the user about the fact that markdown-here can be used in the selected field.
There's another firefox addon that puts a button next to the text-fields: https://addons.mozilla.org/de/firefox/addon/its-all-text/ (however i don't know its license)
PS: I'm the "original feature requester".
Why not allow both or even all three variants?
There's another firefox addon that puts a button next to the text-fields: https://addons.mozilla.org/de/firefox/addon/its-all-text/ (however i don't know its license)