This was originally going to just be a minor update. But I got carried away, so now it’s a major one.
The last update I pushed out introduced a collapsed view of the notes. It’s what I prefer, but after being requested to revert the change, I decided to make it an option.
Due to this change, I had to add the permission “storage” back into the extension. Unfortunately, Google does not list “storage” in its optional permissions page in the Chrome API documentation.
This change alone — requiring a new permission — makes it worthy, I think, for a major version bump (as opposed to a minor one). I also cleaned up several CSS bugs I’d introduced in the last update with the collapsed list view. I think they’re all squashed now, but by all means, let me know if you find something. (Feel free to submit feedback on the extension’s Chrome Store support page, raise an issue on Github, or submit a comment below.)
I posted a coupletimes about how Keep’s markup and CSS use obfuscated class names. A direct result of this is that my own CSS (which is loaded after the Keep website itself finishes loading) ends up looking like this:
font-weight: normal !important;
font-family: 'Roboto Slab', 'Times New Roman', serif !important;
padding: 15px !important;
In this update, I decided to make this a little more modular. I was already using Sass instead of vanilla CSS, so in places where it made sense, I split the stylesheet apart into separate files: one for variables, and one for the actual styles.