briskine / briskine Goto Github PK
View Code? Open in Web Editor NEWWrite faster with templates and keyboard shortcuts.
Home Page: https://www.briskine.com/
License: GNU General Public License v3.0
Write faster with templates and keyboard shortcuts.
Home Page: https://www.briskine.com/
License: GNU General Public License v3.0
On youtube
(In the pop out compose view of gmail) escape propagates with the new compose.
Right now it is used underscore.js default _.template compilation. It has few problems and good parts:
So there are few things here:
There is basic HTML gmail for slow connections. It will be handy if plugin will work with that too.
You can switch to basic HTML while gmail is loading or probably it is at the bottom of the page.
Sometimes the Autocomplete Dialog shows when it's not needed. For example, if I use this quicktext:
kr + Tab
-> completes with:
Kind regards,
Alex.[[CURSOR POSITION]]
After a second another Autocomplete Dialog pops up because I have a quicktext that simply inserts Alex.
and it matches with the word Alex.
from the previous Quicktext. It shouldn't show at all.
As a solution to this, after the quicktext was completed, don't show the Autocomplete Dialog again (probably using a global var that resets each time the user types something).
Another related improvement would be: Don't propose quicktexts in the autocomplete dialog that matche with the text that is under the cursor. If I have a quicktext that compiles to Text
then for sure I don't need to propose a quicktext that only has Text
in it...
The idea is to display the whole content of the quicktext when hovering other the quicktext item in the autocomplete dialog.
This will allow users to quickly make a decision whenever they have the right quicktext or not.
The field which is bothering me is Subject. It gets me confused.
Right now there are these fields available:
I propose first to get rid of subject.
Then there are few ways to simplify the fields:
In a really minimalistic way we can stay only with Subject and Quicktext.
Test Quicktext extension inside a live Gmail
Hello, does quicktext for gmail allow synchronizing of quicktexts across different instances of chrome? (ie, different machines, same google user).
When I click on "synchronize" is toggles start/stop but doesn't seem to accomplish the sync. When I try to go to "manage sharing settings," it takes me to a login/register page and when i try to register with google it gives me a 502 bad gateway error.
Thanks in advance.
P.S.: this is extension is EXACTLY what I need if I can just get the sync to work across multiple computers... thanks for the awesome utility extension.
If synchronization is not used, quicktexts are not saved. I guess it should be possible to use the extension without the synchronization feature, shouldn't it? Couldn't the quicktexts be saved in the user profile?
I am using Quicktext for Gmail 0.4.0 on Ubuntu Chromium version 25.0.1364.160-0ubuntu3.
Thanks again!
Even though I have TAB completion turned of in: "Unchecking this will disable TAB completion", it seems that when I'm in the Gmail pane and composing a mail, I can no longer hit the tab button to change the focus to the "Send" button.
The existing Autocomplete Dialog's design is rather crude. It's not very clear what is the shortcut and what is the title. Something like Gmail's contact list layout would be much more clear and natural.
Here's a proposal. Note that the screenshot shows editing the To field - that's because I did a screenshot of the contacts dialog in Gmail (it should be active only in the Body as before):
I think that it's safe to say that limiting the list of matches to 5 quicktexts should be enough. However I think the user should be able to scroll to see more..
Also since the Autocomplete Dialog is going to be triggered ONLY by a keyboard shortcut and not on timeout. The timeout never worked for me and probably never will. It's just bad UX. The thing pops when you don't expect it to, etc..
And so the first line of the dialog should be a input[type=text] which would search for the quicktexts. That would reduce the need to click around in the popup dialog searching for quicktexts.
Is there a tag I can use to position the cursor in a specific part of my quicktext once I've executed it?
I'm thinking I'd like to have some email templates, and after I've auto-completed, have the cursor move to after the "Hi" field so I can just start typing rather than needing to re-position the cursor.
Some sort of FAQ should be added to the website - preferably a hosted service.
There is a feature in the Labs that allows user to split the gmail vertically. Perhaps test multiple inboxes?
I am using the extension in Ubuntu Chromium. Unfortunately, I get an error on the console when I open https://mail.google.com:
Uncaught TypeError: Cannot call method 'addListener' of undefined (handlers.js:1)
Additionally, if I try to use a shortcut in the compose message window, I get the following error:
Uncaught TypeError: Object #<Object> has no method 'sendMessage' (utils.js:6)
Thanks for your awesome work!
I use the following quicktext body (mind the two newlines!):
Hello,
If I use the shortcut, the text which is inserted is only (mind the one newline):
Hello,
In general, you can add as much newlines as you want - only one newline will be inserted.
There may be people like me who do not need the pro version (or for whom it is too expensive), but who want to give you some money anyway. Therefore, it would be cool to have a donate option (e.g. via PayPal donate).
The idea is that a quicktext has [some-text-here] in it's title then on import it should automatically have the right label: som-text-here.
This task may stay open (or it may have subtasks).
First 2 that came in mind are isViewBasic and isViewStandard for the cases when Gmail is open as a standard or basic HTML (old legacy) application.
When creating quicktexts, sometimes it's useful to duplicate the same quicktext.
Template variables like [TO=Firstname] should be replaced by correct variables (underscore.js vars).
It seems there is an issue on reply windows. It doesn't seem to work at all.
When the user is authenticated in the website it will display a small part of his user profile on the left sidebar. A little bit of cleanup (spacing, font adjustment, etc.. )of the text and the gravatar is required.
Also at the bottom of the sidebar a small well should appear displaying the last time the synchronisation was done and a small button with: "Sync now". It's still in the markup, but it's hidden at the moment.
Tab is a very common keyboard key when editing/navigating in gmail. Replacing the shortcut completion trigger with ctrl+space makes more sense and should avoid conflicts such as TAB capturing.
After using quicktext for a while it seems that the page-action icon just disappears. Reloading Gmail doesn't seem to do anything. chrome.tabs.onUpdated doesn't seem to be called either (it should display the pageAction). This issue is reproduced when using the production (chrome webstore exception).
https://developer.chrome.com/extensions/tabs#event-onUpdated
Note: Do this only if there is an impending doom of WebSQL, my guts say that it's IndexDB who's gonna die first. Death by specification it's called.
Since WebSQL is deprecated and probably completely removed from future versions of Chrome a migration to IndexDB might be in order.
Since it's API is rather ugly, there are nice libraries such as https://github.com/aaronpowell/db.js that have a much nicer API.
As it is stated in documentation:
Don't use browser actions for features that make sense for only a few pages. Use page actions instead.
The default quicktext example is something like
Hello <%= to[0].first_name %>,
which should probably insert something like
Hello Firstname,
Unfortunately, it does only insert
Hello ,
The first name is not inserted probably.
Using Quicktext 0.4.1 on Chromium Version 25.0.1364.160 Ubuntu 13.04 (25.0.1364.160-0ubuntu3). There is no error message on the JS console.
Seems like sometimes the messaging protocol is not working correctly. I was able to reproduce this issue a few times, but I don't know the cause of it.
As a workaround I reload the extension (in development mode). In production, enabling and disabling doesn't fix the issue.
More investigation to be done.
Version of Chrome: 36.0.1985.125
As the documentation says the default sizes are 19px and 38px. And if the icons are not of the this size than they are resized accordingly. But resizing very often adds blur to images. So the icons may look much better (sharper) at proper sizes.
If I compose a new mail in a new tab (not a browser tab, a Gmail email tab at the bottom), my cursor is in the message field and I press Shift+TAB, I would expect that the cursor jumps back to the subject field. This is the normal behaviour which works when Quicktext is disabled. But if Quicktext is enabled, nothing happens. I would kindly ask you to fix this.
Thanks for this awesome extension!
When you type a text like this:
Best wishes,
and there is a quicktext that contains wishes in the title it will pop-up the dialog and when the user types enter it will autocomplete automatically which is not the correct behavior.
The user should hit the 'down' arrow in order to select the first item and then hit enter. This way it will not mess with the new lines.
Also change the horrible text next to it's label.
I am using Chromium Version 34.0.1847.116 Ubuntu 14.04 aura (260972), which is the current standard Ubuntu version of Chromium and the extension does not work at all with it. Neither the autocomplete dialog nor the tab completion is working. Unfortunately, there is no output in the console. Do you have any idea?
Should migrate to Google Universal Analytics: https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs
Can't reproduce this bug at the moment, but encountered it a few times and is really annoying.
It should be possible to delete all quicktexts from the website
Failures:
Finished in 12.595 seconds
12 tests, 16 assertions, 1 failure
[launcher] Runner Process Exited With Error Code: 1
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
These may be 2 different tasks (or even more if we'll divide tasks into different modules for different parts, so subtasks may be an option).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.