Since discovering the API for creating panels in Chrome, I’ve written a few different extensions to leverage it for specific services. The most downloaded of these (and the one that I use on a daily basis) is for Google’s note-taking service, Keep.
Panel View for Keep has gone through several iterations, simply because it runs on a service and website out of my control. As Google updated Keep, I have had to rewrite and even scrap entire blocks of code. That said, Keep is still a worthwhile service, and in my (not quite unbiased) opinion, turning it into a panel — instead of a separate app window — improves it.
Install the extension Browse the code
- I don’t get it. This just opens Google Keep in a new tab.
Not so! This extension serves as a shortcut to keep.google.com, but also much more. You’ll find at the bottom of Keep’s sidebar (click the hamburger icon ( ) to open it), a new link entitled “Send to Panel.” Click that and you’re on your way.
- When I click “Send to Panel,” it opens a popup window, not a panel.
Unfortunately, Chrome disables the panel API by default. To override this, you’ll need to enable it in chrome:flags and restart Chrome. Now you’re ready to use panels.
- Why can’t I upload an image when Keep is in panel view?
This is a known bug with panels. Read more about this issue on crbug.com.
This is just a panelized shortcut to keep.google.com. If Google releases an API for interacting with Keep, I will be more than happy to incorporate it! Until then, it’s a hack. A hack I’m proud of, but a hack nonetheless.
Made reminder notes’ schedule icon visible in collapsed view.
Fixed scroll area for share screen.
Fixed height of list settings screen.
Hid label in search result.
Restructured toolbar in collapsed view.
Complete rewrite of the override stylesheet!
Moved the “Add note” area to the bottom of the panel, to match the Android app. It creates a new note in full-screen, again just like the Android app.
Modified the toast to match the Android app.
Fixed Share Note screen in the panel.
The panel view now persists across sessions.
Fixed bug where Keep in a tab would not close when switching to a panel.
Fixed console errors due to invalid window and tab IDs.
Fixed bug where reminders were not visible in single note view.
Fixed bug where checklist notes without a title were being hidden in the collapsed list view.
Reverted to default list view.
Added an option (below “Send to Tab”) to enable collapsed list view.
Added the “storage” permission so the extension remembers the option.
Cleaned up source styles.
Changed list view to show collapsed notes.
Updated individual note view to take up the full height of the window (only for small window sizes).
Fixed CSS bug when the Share button on a note is clicked without first opening the note.
Fixed toolbar icon. The 2.4 update had the wrong icon by accident.
Added keep-sharing.google.com to permissions.
Cleaned up remaining unused options dialog code.
No longer opens existing tab ID if the tab is not on Keep anymore.
Removed permissions for storage and context menus, and associated scripts.
Removed options, because the only option was to enable context menus, which are now removed.
Removed storage for whether to open in tab or panel. By default, Panel View will now always open in a tab, in a new browser session.
Added keep.google.com to the list of permissions. (keep.google.com previously redirected to drive.google.com/keep, but it doesn’t.)
Changes to reflect Google’s updated look for the Keep website.
Fixed some wonky styling. Yes, “wonky” is a word, because I said so.
Added a “Send to” icon on the rightmost side of the black bar, which enables easy switching between tab and panel.
User account switching!
Options page moved to an in-window dialog. The only option for now is the context menu toggle. The extension itself will remember in which view you last opened Keep.