update changelog, add webFrame to electronApi

This commit is contained in:
dragonwocky 2021-12-04 13:11:17 +11:00
parent a9a6c33436
commit d3b4461b49
Signed by: dragonwocky
GPG Key ID: 86DFC3C312A56010
3 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,7 @@
### v0.11.0 (dev)
a complete rework of the enhancer, with new features and a port to the browser as a chrome extension.
a complete redesign & rewrite of the enhancer, with new features and a port to the browser as a chrome extension.
#### new
@ -16,7 +16,8 @@ a complete rework of the enhancer, with new features and a port to the browser a
- a rainbow indentation lines style.
- border & background style options for the code line numbers extension.
- an icon sets option to encode images to data urls to prevent quality reduction.
- customisation of integrated titlebar window buttons
- customisation of integrated titlebar & always on top window buttons.
- an open on startup option under the tray mod.
#### improved
@ -39,6 +40,8 @@ a complete rework of the enhancer, with new features and a port to the browser a
- renamed "notion icons" to "icon sets" with new support for uploading/reusing custom icons
directly within the icon picker.
- cli can now detect and apply to user-only installations on macOS.
- moved the tray to its own configurable and enable/disable-able mod, with window management enhancements
that follow more sensible defaults and work more reliably.
#### removed
@ -69,6 +72,7 @@ a complete rework of the enhancer, with new features and a port to the browser a
- "global block links" = easily copy the global link of a page or block.
- "collapsible headers" = adds toggles to collapse header sections of pages.
- "simpler databases" = adds a menu to inline databases to toggle ui elements.
- "view scale" = zoom in/out of the notion window with the mousewheel or a visual slider (`ctrl/cmd +/-` are available in-app by default).
#### tweaks

View File

@ -18,6 +18,7 @@ window.__enhancerElectronApi = {
removeChangeListener: api.storage.removeChangeListener,
},
browser: require('electron').remote.getCurrentWindow(),
webFrame: require('electron').webFrame,
sendMessage: (channel, data = undefined) => {
const { ipcRenderer } = require('electron');
ipcRenderer.send(`notion-enhancer:${channel}`, data);

@ -1 +1 @@
Subproject commit 3be5874229d9ea366f89854070b06848901a8d4f
Subproject commit 4d414da3fa577d1581ae0f5cd2f7cf2774589027