update changelog, add clipboardwrite perm to manifest

This commit is contained in:
dragonwocky 2021-10-18 17:29:18 +11:00
parent 00090853b9
commit 7048abaedd
4 changed files with 7 additions and 4 deletions

View File

@ -10,6 +10,7 @@ a complete rework of the enhancer including a port to the browser as a chrome ex
- new: simplify user installs by depending on the chrome web store and [notion-repackaged](https://github.com/notion-enhancer/notion-repackaged).
- new: separate menu profiles for mod configurations.
- new: a hotkey option type that allows typing in/pressing a hotkey to enter it, instead of typing.
- new: a rainbow indentation lines style.
- improved: split the core mod into separate mods for specific features.
- improved: theming variables that are applied more specifically, less laggy, and less complicated.
- improved: merged bracketed-links into tweaks.
@ -18,6 +19,8 @@ a complete rework of the enhancer including a port to the browser as a chrome ex
- improved: font chooser option for heading fonts.
- improved: renamed "property-layout" to "collapse properties", added per-page memory of collapse state.
- improved: chevron icon instead of arrow for scroll to top.
- improved: moved word counter to display in the side panel instead of within the page,
implemented a more accurate word counter method.
- removed: integrated scrollbar tweak (notion now includes by default).
- removed: js insert. css insert moved to tweaks mod.
- removed: majority of layout and font size variables - better to leave former to notion and use `ctrl +` for latter.
@ -36,7 +39,8 @@ a complete rework of the enhancer including a port to the browser as a chrome ex
- tweak: responsive columns breakpoint (%).
- tweak: accented links.
- tweak: full width pages.
- bugfixes: many. like many many. all the bugfixes. (mostly a side effect of completely rewriting everything.)
- bugfixes: many. like many many. all the bugfixes. (mostly a side effect of completely rewriting everything,
but reported extension-specific bugs were all intentionally fixed.)
**below this point the enhancer was desktop-only. in v0.11.0 it was been ported to also**
**run as a chrome extension. changes made to both are indicated above.**

View File

@ -21,7 +21,6 @@ const _queue = [],
* @returns {Promise} value ?? fallback
*/
export const get = (path, fallback = undefined) => {
if (typeof path === 'string') path = [path];
if (!path.length) return fallback;
return new Promise((res, rej) =>
chrome.storage.local.get(async (values) => {
@ -45,7 +44,6 @@ export const get = (path, fallback = undefined) => {
* @returns {Promise} resolves when data has been saved
*/
export const set = (path, value) => {
if (typeof path === 'string') path = [path];
if (!path.length) return undefined;
const precursor = _queue[_queue.length - 1] || undefined,
interaction = new Promise(async (res, rej) => {

View File

@ -29,6 +29,7 @@
"permissions": [
"tabs",
"storage",
"clipboardWrite",
"unlimitedStorage",
"https://*.notion.so/*",
"https://*.notion.site/*",

@ -1 +1 @@
Subproject commit 5e4232c047e5a89c3664c2a4f77e0c4f81142508
Subproject commit 540c9dfb477eecaa2b7362f9daba281d8abb7ed6