Commit Graph

350 Commits

Author SHA1 Message Date
311e435e2e rename folders prepping to move to new repos 2020-12-15 21:57:07 +11:00
CloudHill
b79a40777d topbar icons: more specific selectors
+ fixes compatibility with global links mod
2020-12-14 20:57:26 +07:00
CloudHill
e724fe7aef simpler databases: fix initialization of store variables 2020-12-14 20:42:39 +07:00
Emir
1b773a580a pinky boom theme: make the title lowercase (#350) 2020-12-14 10:11:20 +11:00
Emir
ae12bb81a7 global linking blocks: bug fix and new option (#347)
* global linking blocks: fix wrong appending

* global linking blocks: option: show the page link button

* global linking blocks: color changes, new icon, new button text
2020-12-14 04:58:52 +11:00
Ryo Hilmawan
a6bea11d93 new extension: simpler databases (#349) 2020-12-14 04:25:19 +11:00
mugiwarafx
f97ab060ce feat(theme): add pinky boom light theme (#348)
* feat(theme): add pinky boom theme

* fix: folder theme path

* fix: proper var syntax

* feat(theme): add pinky boom theme

* feat(theme): add pinky boom light theme

* add newline mod.js

* add newline variables.css
2020-12-14 04:18:13 +11:00
CloudHill
00014e402c notion-icons: add search bar (notion-enhancer/icons#4)
+ overall optimizations
2020-12-13 23:52:44 +07:00
Emir
6caffa14ae extension: global linking blocks (#345) 2020-12-13 09:03:38 +11:00
CloudHill
1478d44828 code-line-numbers: horizontal scroll bugfix
added background so that numbers no longer appear over the code
2020-12-11 17:15:35 +07:00
CloudHill
80d1694977 outliner optimizations, making use of fragments 2020-12-11 16:59:15 +07:00
Ryo Hilmawan
74641c8d6c update dracula theme variables (#341) 2020-12-10 23:00:04 +11:00
CloudHill
7b91dbcd85 fix scroll-db_toolbars tweak's selectors
stops unrelated elements from being selected
2020-12-10 18:15:25 +07:00
Ryo Hilmawan
4211bd6189 theming bugfixes and additional variables (#309)
* theming bugfixes and additional variables

* add theming code variables for constant and regex
2020-12-10 15:57:35 +11:00
Tom
81216b8a90 revert accidental merge of still-wip "tweak: hide empty sidebar arrow"
This reverts commit 5305c0b9b0.
2020-12-10 15:56:39 +11:00
Emir
5f69306429 tweak: hide empty sidebar arrow (#319) 2020-12-10 15:55:04 +11:00
MANNEN
64ba7c79a1 Add files via upload (#335) 2020-12-09 11:18:20 +11:00
CloudHill
bb9a0e197d outliner: refactor to increase performance
reduced the number of times the outliner has to refresh
in response to issue #333
2020-12-09 01:34:59 +07:00
CloudHill
b0430b4541 side-panel: detect keyboard events to navigate the panel switcher
(tab, arrows, enter, space, escape)
2020-12-08 00:24:01 +07:00
CloudHill
134fd074c2 outliner fix inline page links not rendering right 2020-12-07 16:52:14 +07:00
CloudHill
88bbff62fe outliner now follows the headers' inline styling 2020-12-07 16:26:40 +07:00
Emir
6fe02a710c remove tag, change avatar source, make curly braces consistent (#327) 2020-12-06 22:43:33 +11:00
Emir
e68f3c7b79 add font variables for headings, headings input for font chooser and fix quote variable (#322)
* add font variables for headings, headings input for font chooser and fix quote variable

* fix spaces for consistent code

* fix version number (semver)

* bring together all heading styles

* bring together all heading variables

* update font styling loop
2020-12-06 12:54:25 +11:00
Emir
24cb16c0e6 fix the sizing of avatars in enhancer menu (#324) 2020-12-06 12:54:10 +11:00
Ryo Hilmawan
38dded687e new extension: collapsible headers (#320) 2020-12-06 05:13:01 +11:00
caa2360a3d replace feature requests with feature proposals + prep changelog for v0.10.2 2020-12-05 12:37:02 +11:00
Ryo Hilmawan
406e6fa5d9 new extension: panel-sites (#313) 2020-12-05 10:19:34 +11:00
Emir
0476cd316f option: hide 'page details' text for word counter (#315)
* option: hide 'page details' text for word counter

* fix version number (semver)

* set camel case to snake case
2020-12-05 09:07:47 +11:00
Emir
74d95498ac add quote variable for themes and quote input for font chooser (#314)
* add quote variable for themes and quote input for font chooser

* fix version number (semver)
2020-12-05 09:06:40 +11:00
CloudHill
23c477232f fix 'littlepig-dark' typo (was 'littilepig-dark') 2020-12-04 14:24:31 +07:00
CloudHill
ba8a044e4f pass store() into panel mods' js file in the same way as other extensions 2020-12-04 14:19:20 +07:00
be40723e1c refactor __notion back to a function for error handling, replace missing executables with backups in check 2020-12-04 15:02:28 +11:00
CloudHill
894f2578df fix outliner lines not scrolling with the container 2020-12-04 10:54:26 +07:00
CloudHill
7d61ca130b prevent the outliner's styles from being overriden 2020-12-03 22:17:51 +07:00
70dd43bad4 #306 file explorer no longer opens when enhancer menu is opened 2020-12-03 23:27:45 +11:00
CloudHill
b598aa451e fix side panel mod being stuck outside the screen 2020-12-03 19:00:36 +07:00
f85f3b19e5 fix tabs for electron/notion update 2020-12-03 21:43:45 +11:00
f77f5040a4 add potential duplicates workflow
+ declare window variable with let as per https://github.com/notion-enhancer/notion-enhancer/issues/298#issuecomment-737749264
2020-12-03 20:40:49 +11:00
CloudHill
c410b14c19 minor style changes to code-line-numbers, outliner, side-panel 2020-12-03 16:31:24 +07:00
Kirakeru
23f823d6ef Fix White Window Bug #298 (#302) 2020-12-03 09:22:12 +11:00
CloudHill
5f096034c1 side-panel: bind toggling to Ctrl+Shift+Backslash 2020-12-02 22:33:20 +07:00
CloudHill
416a343809 side-panel: styling for reload button 2020-12-02 22:29:16 +07:00
CloudHill
03139a5e7c outliner: add option to show indentation lines 2020-12-02 22:10:05 +07:00
Ryo Hilmawan
b5bdeb108b move indentation lines from tweaks to its own mod (#287)
* move indentation lines from tweaks to its own mod

* changed indentation lines author to runargs

* refactor indentation lines to use the map function
2020-12-02 23:10:35 +11:00
Emir
c352cc9438 extension: truncated table titles (#292) 2020-12-02 23:09:31 +11:00
Ryo Hilmawan
c08f7cdb86 New extensions: side panel and outliner (#284)
* upload side panel core

* upload outliner extension

* add onLoad, onSwitch, and onResize functions to panel extensions

* Update panel.js

* Add onLock and onUnlock functions to panel extensions

* Reordered side panel content loading

* change panel switcher font color

* fix loading last opened panel

* use svg icon files instead of defining them inline

* outliner: add full height option
2020-12-02 23:05:33 +11:00
Ryo Hilmawan
44fe96a56f Modify the enhancer menu's toggle styles to follow notion's toggles (#283)
* notion-enhancer#261 modify toggle styles to look similiar to notion's toggle

* remove `dot` spans from toggles
2020-12-02 23:05:14 +11:00
Ryo Hilmawan
353a538585 notion-icons: fix toggle icon shrinking 2020-11-24 18:39:37 +07:00
CloudHill
9deb75361a notion-icons: toggleable community icon packs 2020-11-24 13:53:06 +07:00
Ryo Hilmawan
c86e2f7548 remove console logging 2020-11-21 22:38:25 +07:00
Ryo Hilmawan
aa46310b3a fix description capitalization 2020-11-21 22:37:50 +07:00
Ryo Hilmawan
cd9283dcd0 Fix visual issues and modal detection (#279) 2020-11-21 17:18:21 +11:00
Ryo Hilmawan
2fbe7a3798 Update mod.js (#276) 2020-11-19 22:44:51 +11:00
Ryo Hilmawan
9b644b3f86 Fix code line wrapping + other improvements (#275) 2020-11-19 20:00:15 +11:00
Ryo Hilmawan
3c5fd94c2e Notion-icons: better popup modal detection (#274)
* Update mod.js

* Fix modal detection on preview pages
2020-11-19 15:03:00 +11:00
Ryo Hilmawan
57bdccf7dc Update mod.js (#270) 2020-11-19 07:09:17 +11:00
ecc74244c4 prep changelog for pre/bugfix release, replace links 2020-11-18 23:08:59 +11:00
Emir
66b97450d4 add auto-shrink system for tabs (#262)
* add auto-shrink system for tabs

* decrease tab limit and minimum width of non-current tabs
2020-11-16 11:32:32 +11:00
Ryo Hilmawan
a53f5ad652 Patch Notion Icons Extension (#257)
* Remove console logging in mod.js

* Rename styles.css to app.css
2020-11-15 12:08:03 +11:00
Ryo Hilmawan
4cd612f92b Extension: Notion Icons (#250)
* Upload mod.js, styles.css, and icons.json

* Move icon.json to notion-enhancer/icons

* Update mod.js to work with the new icons repo
2020-11-14 09:29:50 +11:00
06b56538cf #211 remove z-index override preventing format dropdowns in table view from opening 2020-11-12 00:58:48 +11:00
a94f4165d0 tabs focus properly 2020-11-12 00:20:55 +11:00
0b29387c53 #220 stricter keyboard shortcut listeners 2020-11-12 00:05:03 +11:00
0acb214b19 #192 remove draggable-indicator dots from tabs ext. in menu 2020-11-11 23:39:42 +11:00
c43b4a14f1 #204 empty hotkeys won't trigger 2020-11-11 23:29:48 +11:00
81f539f65e don't try loading the default page if it doesn't exist 2020-11-11 23:04:23 +11:00
d919493094 less-broken loading of things 2020-11-11 22:55:35 +11:00
53d7472c5e load tabs.css and variables.css into notion container 2020-11-11 22:29:02 +11:00
fb88dc5a90 load menu.css and variables.css into enhancer menu 2020-11-11 22:14:05 +11:00
2fc1e66cff split app.css and variables.css, load both into main window + add relationship lines to numbered lists
fonts should now be added to variables.css instead of mod.js
2020-11-11 21:48:54 +11:00
imgbot[bot]
e7ad0fb51e [ImgBot] Optimize images (#241)
*Total -- 245.40kb -> 231.45kb (5.68%)

/mods/core/icons/question.svg -- 0.91kb -> 0.83kb (8.61%)
/notion-enhancer v0.10.0 banner.jpg -- 242.90kb -> 229.08kb (5.69%)
/mods/topbar-icons/icons/updates_on.svg -- 0.16kb -> 0.15kb (4.32%)
/mods/topbar-icons/icons/favorite_on.svg -- 0.19kb -> 0.19kb (4.04%)
/mods/topbar-icons/icons/updates_off.svg -- 0.20kb -> 0.19kb (3.48%)
/mods/topbar-icons/icons/share.svg -- 0.46kb -> 0.44kb (2.78%)
/mods/topbar-icons/icons/favorite_off.svg -- 0.36kb -> 0.35kb (2.71%)
/mods/scroll-to-top/arrow.svg -- 0.23kb -> 0.23kb (0.43%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-11 18:48:55 +11:00
efb20ebd19 add pull requests to changelog, rename styles.css to app.css 2020-11-11 18:44:23 +11:00
Ryo Hilmawan
2b41b0e82c Extension: Code Line Numbers (#231)
* Added extension folder with mod.js and styles.css

* Option to show numbering on single-lined blocks

Disabled by default

* Update styles.css

* Update mod.js

Changed class name from numbered to code-numbered

* Update styles.css

Changed class name from numbered to code-numbered
2020-11-11 12:06:05 +11:00
Ryo Hilmawan
3b997d3c73 Extension: Topbar Icons (#216)
* Add icons, mod.js, and styles.css files

* Added options to mod.js

Added the option to individually select which buttons (share, updates, favorite) to replace with icons

* Update styles.css to work with options
2020-11-06 14:01:38 +11:00
Ryo Hilmawan
285aae3227 Modified tweak: Indentation lines (#215)
* Update mod.js

Changed indentation lines to a select option

* Update styles.css

Styling for each line type

* Update mod.js

Re-added description

* Update mod.js

Added a description to the scroll database toolbars tweak
2020-11-06 14:01:19 +11:00
Alexa B
80ab7b7b92 bugfix: fix #187 and typo (#208)
* docs: Fixed link to dev build instructions

* docs: README installation clarification

* docs: README installation clarification

* update windows keystroke for task manager

* More README alterations

* Add bullet condensing & bullet lines tweaks

* Revert "Add bullet condensing & bullet lines tweaks"

This reverts commit 71bc6e2c30.

* interactive hover color fixes #187

* README revert

Co-authored-by: Tom <thedragonring.bod@gmail.com>
2020-11-05 20:47:31 +11:00
Ryo Hilmawan
a306fcea23 Changed the scroll-to-top extension to use an SVG icon (#205)
* Create arrow.svg

* Update mod.js

* Update styles.css
2020-11-05 20:47:00 +11:00
Ryo Hilmawan
ce6c58ef76 Property Layout Modification (#201)
* Update mod.js

* Update styles.css
2020-11-03 22:51:47 +11:00
Alexa B
faa4ed02ed tweaks: condensed bullets and indentation lines (#199)
* docs: Fixed link to dev build instructions

* docs: README installation clarification

* docs: README installation clarification

* update windows keystroke for task manager

* More README alterations

* Add bullet condensing & bullet lines tweaks

* Revert "Add bullet condensing & bullet lines tweaks"

This reverts commit 71bc6e2c30.

* Add bullet condensing & bullet lines tweaks

* Attempt to revert README back to normal lol

* Attempt 2 to revert README back to unmodified

Co-authored-by: Tom <thedragonring.bod@gmail.com>
2020-11-03 22:44:12 +11:00
Ryo Hilmawan
58297e35bf New tweak: Scroll Database Toolbars (#198)
* Update mod.js

Added an option for scroll database toolbars

* Update styles.css

Added styling for scroll database toolbars
2020-11-03 22:39:54 +11:00
1e1c536f7b disable fadein of selected block halo with snappy transitions 2020-11-02 17:10:00 +11:00
4d5754779a tabs: fallback if text name is undefined 2020-11-02 15:58:10 +11:00
9553a49bd0 add new theme screenshots + remove bgs of existing 2020-11-02 12:18:48 +11:00
c4a890ea91 README feature list updates: new mods + options 2020-11-01 22:53:11 +11:00
b985217611 #113 only open a new window from the dock if already visible 2020-11-01 21:04:26 +11:00
f4d269bcdc #113 reshow hidden windows when clicking app icon in dock 2020-11-01 15:00:22 +11:00
e24608f734 better selectors for detecting favicons in databases 2020-11-01 14:39:06 +11:00
17ceb88ed7 tab favicon fixes: support uploaded images, use emoji for window title, work on macos 2020-11-01 14:21:00 +11:00
f6ec94b46e show 'untitled' for new pages instead of empty space 2020-11-01 12:30:10 +11:00
293e5ce228 fix #183 make weekly calendar view name case insensitive 2020-11-01 12:16:31 +11:00
dccef7815f fix menu hotkey + tab title emojis on macOS 2020-11-01 12:04:04 +11:00
eeea1c6b53 make ctrl+f popover shadow less extreme 2020-11-01 00:03:18 +11:00
6a326a12be #177 made extra padding at the bottom in focus mode toggleable 2020-10-28 17:50:55 +11:00
dc60b3d9ae platform-specific option overrides for features not required on macOS 2020-10-28 12:19:39 +11:00
bf800a0889 tabs: #84 include page icons in title 2020-10-27 20:43:32 +11:00
9d3ab72eb7 tweaks: #155 more readable line spacing 2020-10-27 19:57:20 +11:00
5d439bbdc8 common tweaks ext: #168, #176 - scrollbars, thicker bold, responsiveness, hide help, snappy transitions, dragarea height 2020-10-26 23:38:46 +11:00
cbe505c374 macos bugfixes: #151 dark mode detection in night shift + adding menubar to extensions menu + padding-left with tabs to give traffic lights space 2020-10-24 22:25:05 +11:00
e79685a6e8 make dragarea transparent in new themes 2020-10-24 13:14:41 +11:00
230bc5e248 #146 dracula theme readability/contrast improvements 2020-10-24 11:05:04 +11:00
96e13a03f0 #175 neutral theme: contrast in calendar views 2020-10-23 19:41:44 +11:00
d307a2bedf additional menu option descriptions on hover 2020-10-23 16:49:58 +11:00
f3eda9a34b auto-resolve conflicts core option 2020-10-22 12:17:53 +11:00
c0f847949f clarity improvements for scroll to top extension 2020-10-22 08:54:06 +11:00
Ryo Hilmawan
d74eae1ebf new mod: scroll-to-top (#172)
* Basic Functionality

* Added smooth scrolling option

* Added scroll down distance option

* Button hide/show animation

* Add percentage distance option

* Calculate percentage every update (as opposed to every page change)

* Calculate percentage height based on scroller and content height

* Licensing and Conventions

* Hide button on initialization if top distance is set

* Fixed bug with button visibility when opening pages
2020-10-21 22:32:10 +11:00
394a891115 theme conflicts notice in menu 2020-10-21 22:30:58 +11:00
d94629d9ed update themes to new variables 2020-10-20 11:59:22 +11:00
ca30e70062 make block text colour apply to text with backgrounds 2020-10-20 09:55:38 +11:00
78667d16d6 fix theming primary-colour text + right-to-left text in columns 2020-10-19 22:50:25 +11:00
1618b5d966 use event communication instead of variable checking for cross-window dragging = less-buggy 2020-10-19 22:03:54 +11:00
a37fcb300e cross-window draggable tabs 2020-10-19 09:33:08 +11:00
4519409050 cherry cola adjustments + tab button hover fixes + closing tabs shouldn't create weird broken things anymore 2020-10-18 22:35:56 +11:00
Alexa B
0ac87603db theme: cherry cola updates (#165)
- added some contrast and new variables
- border colour brighter
2020-10-17 10:03:41 +11:00
c40e678974 ctrl+click open in new tab 2020-10-16 22:15:14 +11:00
088c4f746b middle click close tabs + better tab animations 2020-10-16 17:26:18 +11:00
ad645227d5 #164 fix width-stretching of collections in breadcrumbs 2020-10-16 10:14:58 +11:00
02fbd0e2bc better tab picking on close: find closest/next instead of jumping to first 2020-10-15 23:59:18 +11:00
63a88e1d66 fix tab reordering and animations 2020-10-15 23:48:54 +11:00
e3391f7017 fix tab opening/closing/titles 2020-10-15 22:34:51 +11:00
82e5db751f + left/right tab switching, + remove cmd/ctrl+w from menu, - break tab opening/closing/titles 2020-10-15 22:01:28 +11:00
Alexa B
db3f89e3c4 theme: cherry cola (#161) 2020-10-15 17:57:16 +11:00
d917c3aefd #161 removed typo in variable name for brown text. 2020-10-15 12:37:51 +11:00
4b464ca87c #160 patch opening by notion://url on linux + tab bugfixes 2020-10-15 12:19:21 +11:00
6a9f9bf79a add tab keybinds: alt+1...9 tab select, ctrl+t new tab, ctrl+w close tab
need to remove ctrl+w from the window menu so it doesn't override and close the whole window
2020-10-13 23:07:45 +11:00
Alejandro Romano
a26914fdbe Tweaking readability in text-blocks by adding new variables (#156)
add line-height and margin-top variables for text-block (see #155)
2020-10-13 07:04:43 +11:00
dee0a31283 accept url or id for default page, don't override direct notion:// opens 2020-10-12 22:06:03 +11:00
ee88c63f38 split tabs into separate mod, add opt for default page, load default settings when store()-ing another mod id 2020-10-12 21:44:12 +11:00
22b4153703 Revert "squashed last 5 commits together (#154)"
This reverts commit 9da9c2aee4.
2020-10-12 19:36:51 +11:00
cb4407279e un-break titlebar+menu (not sure how it was broken?) 2020-10-12 19:36:34 +11:00
Mimi Shahzad
01fe0d6782 squashed last 5 commits together (#154) 2020-10-12 19:30:58 +11:00
Alejandro Romano
d0f273381b Add font sizing to page previews (#153)
Font sizes remained the same as default for page previews. They are not affected by custom font sizes. This change takes the same variables the full open page and apply it. Tested and working 10/10

Full open pages: .notion-frame
Overlay, preview pages: .notion-overlay-container (and .notion-scroller.vertical WITHOUT .horizontal)
2020-10-12 06:34:44 +11:00
b69fa97572 change window title to match page name instead of just 'Notion Desktop' 2020-10-11 23:38:03 +11:00
1f38797cc4 enhancer icon next to tabs opens menu + less aggressive tab focusing so searching can actually work 2020-10-11 23:31:09 +11:00
4886bbbd3e use keyup listeners instead of a globalShortcut for the enhancements menu toggle 2020-10-11 16:02:45 +11:00
3d64a5e8c8 bugfixes: match up some styling better, EACCES dest chmodding, csp re-allow fonts 2020-10-11 15:28:56 +11:00
bb18f2a1e6 bugfixes so dracula will actually load 2020-10-09 20:56:21 +11:00
09d13f3ed3 Merge branch 'dev' of github.com:dragonwocky/notion-enhancer into dev 2020-10-09 20:46:23 +11:00
0472460161 draggable/nicer-looking tabs + icon 2020-10-09 20:42:34 +11:00
Mimi Shahzad
0448e8643e Dracula theme (#145)
A theme created based on the official Dracula Theme palette found https://draculatheme.com/contribute/.
2020-10-09 09:03:41 +11:00
f0232fea9e functional tabs: needs more ux work 2020-10-08 22:50:27 +11:00
51f7f564f6 #143 remove focus mode footer from neutral theme 2020-10-08 11:05:25 +11:00
51acd63748 menu will now respect integrated titlebar setting 2020-10-08 09:58:35 +11:00
c0d7d5170b replace dragarea with titlebar in tabbable mode 2020-10-07 23:58:22 +11:00
50b2ff180d separate search working for tabs 2020-10-06 22:12:25 +11:00
9ef6317529 attempt 3 at #66 2020-10-06 11:47:33 +11:00
7a6411ad23 catch EBUSY, potential csp fix for #66 2020-10-06 10:15:30 +11:00
ecdae521b4 tabs proof-of-concept (unusable) 2020-10-02 23:06:44 +10:00
45c2ebf340 #134 bypass preview operates more reliably when keyboard shortcuts are used 2020-10-02 15:46:11 +10:00
dbf1240034 improved responsiveness + snappier transitions mode 2020-10-02 13:44:16 +10:00
a2f23a850e bugfix: toc blocks can have text colours 2020-10-02 10:43:47 +10:00