Giter Site home page Giter Site logo

notion-enhancer / notion-repackaged Goto Github PK

View Code? Open in Web Editor NEW
886.0 14.0 50.0 134 KB

notion executables with the notion-enhancer embedded & a vanilla port of the official app to linux

Home Page: https://notion-enhancer.github.io/getting-started/installation

License: MIT License

Shell 79.50% JavaScript 20.50%
notion notion-enhancer app electron rebuild embed automate aur debian linux

notion-repackaged's Introduction

notion-enhancer/desktop

an enhancer/customiser for the all-in-one productivity workspace notion.so (app)

read the docs online

notion-repackaged's People

Contributors

arecsu avatar dragonwocky avatar jamezrin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notion-repackaged's Issues

Unnecessary blank space on Windows 11

On windows 11, the enhanced version displays an unnecessary blank space at the top.

Environment:

  • notion-app-enhanced version 2.0.16 r5
  • windows build 22000.282

Minimize, expand and exit button are huge

image
image
image
image

I have rebooted and changed the resolution and zoom of the screen and there is no change. It also appears to just be vanilla Notion. It is also running a bunch of processes for some reason, I definitely only opened it once.

Virus detected by Kaspersky

Trying to run the setup program of this vesion, and the Kaspersky on my computer won't allow it to start up, showing a virus detected.
Virus type: UDS:Trojan.Win32.Diztakun

App won't restart on Ubuntu 20.04

Hello,

when I run the app, and then close and try to start again, the app won't start.

I get

Error: Error: ENOENT: no such file or directory, open '/opt/Notion Enhanced/resources/app-update.yml'

Not sure if it's relevant. Any ideas?

integrated titlebar not working properly

when I patched notion manually I noticed it's not quite working well (alt-E doesnt do anything and integrated titlebar appeared slightly below and behind other buttons on top of the window), so I tried uninstalling all of that and downloading repackaged instead. nothing changed. didn't find a way to make it work.
Снимок
Снимок1

Themes not working on Linux

Setting a theme on the enhancer and relaunching the app sets the theme only on the enhancer window. I've installed it via AUR.

OS: Arch Linux

Linux | Manjaro | Getting Install error relating to Krita and seeing UI error in top right corner of notion-app-enhanced 2.0.16-4

Hi

When I build the notion-app-enhanced 2.0.16-4 package from the AUR I am experiencing 2 issues which maybe related:

  1. I see an error during the install of the package:

Error in file "/usr/share/applications/krita_jpeg.desktop": "jpeg/jfif" is an invalid MIME type ("jpeg" is an unregistered media type) Error while configuring notion-app-enhanced'

  1. I'm seeing some kind of misshaped controls in the top right hand corner (see screen shot):

image

To Try to Troubleshoot:

  • Verify Krita 4.4.3 is installed.
  • Krita can open both JPEG and JPG files by default when using File Manager in Gnome.
  • I can launch and sign into Notion.

All Build Messages:

`Preparing...
Cloning notion-app-enhanced build files...
Checking notion-app-enhanced dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building notion-app-enhanced...
==> Making package: notion-app-enhanced 2.0.16-4 (Thu 08 Jul 2021 03:14:01 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found notion-app-enhanced-2.0.16-1.pacman
==> Validating source files with md5sums...
    notion-app-enhanced-2.0.16-1.pacman ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting notion-app-enhanced-2.0.16-1.pacman with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "notion-app-enhanced"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: notion-app-enhanced 2.0.16-4 (Thu 08 Jul 2021 03:15:06 AM)
==> Cleaning up...

Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing notion-app-enhanced (2.0.16-4)...
Error in file "/usr/share/applications/krita_jpeg.desktop": "jpeg/jfif" is an invalid MIME type ("jpeg" is an unregistered media type)
Error while configuring notion-app-enhanced
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Updating icon theme caches...
Updating the desktop file MIME type cache...
Transaction successfully finished.`

Desktop Environment

System:
  Host: sol Kernel: 5.4.124-1-MANJARO x86_64 bits: 64 Desktop: GNOME 3.38.4
  Distro: Manjaro Linux
Machine:
  Type: Laptop System: LENOVO v: ThinkPad T450s
  serial: <superuser required>

Themes not working on MacOS

Themes not applying on MacOs.

Below is a dump of the console output from dev tools. I'd be happy to provide more input on the OSX port of this if you would like.

Some messages have been moved to the Issues panel.
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/renderer/preload.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/helpers/notionIpc.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/config.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/shared/constants.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/shared/notion-intl/index.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/macro/dist/index.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/index.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/diff.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/polyfill-utils.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/aliases.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/parentLocales.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/invariant.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/resolve-locale.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/get-canonical-locales.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/units.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/@formatjs/intl-utils/dist/number-types.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/intl-locales-supported/dist/index.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/helpers/localizationHelper.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/node_modules/notion-intl/index.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/shared/schemeHelpers.js.map: Unexpected end of JSON input
DevTools failed to load SourceMap: Could not parse content for notion://www.notion.so/Applications/Notion Enhanced.app/Contents/Resources/app/shared/urlHelpers.js.map: Unexpected end of JSON input
Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' <URL> <URL> <URL> <URL>". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' <URL> <URL> <URL> <URL>". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' <URL> <URL> <URL> <URL>". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' <URL> <URL> <URL> <URL>". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' <URL> <URL> <URL> <URL>". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' <URL> <URL> <URL> <URL>". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' <URL> <URL> <URL> <URL>". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

Refused to load the stylesheet '<URL>' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' <URL> <URL> <URL> <URL>". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

/Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77 Refused to load the stylesheet 'enhancement://core/app.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

(anonymous) @ /Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77
/Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77 Refused to load the stylesheet 'enhancement://core/variables.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

(anonymous) @ /Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77
/Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77 Refused to load the stylesheet 'enhancement://tweaks/app.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

(anonymous) @ /Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77
/Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77 Refused to load the stylesheet 'enhancement://topbar-icons/app.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

(anonymous) @ /Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77
/Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77 Refused to load the stylesheet 'enhancement://neutral/app.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

(anonymous) @ /Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77
/Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77 Refused to load the stylesheet 'enhancement://neutral/variables.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

(anonymous) @ /Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77
/Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77 Refused to load the stylesheet 'enhancement://code-line-numbers/app.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

(anonymous) @ /Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77
/Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77 Refused to load the stylesheet 'enhancement://bypass-preview/app.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://platform.twitter.com https://ton.twimg.com". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

(anonymous) @ /Applications/Notion Enhanced.app/Contents/Resources/app/embedded_enhancer/pkg/loader.js:77
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.708Z [info] FeatureFlagTransactionQueue preferIndexedDB {}
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.714Z [error] main securitypolicyviolation {data: {…}}
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.716Z [error] main securitypolicyviolation {data: {…}}
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.716Z [error] main securitypolicyviolation {data: {…}}
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.717Z [error] main securitypolicyviolation {data: {…}}
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.718Z [error] main securitypolicyviolation {data: {…}}data: miscDataToConvertToString: {blockedURI: "enhancement://neutral", violatedDirective: "style-src-elem", sourceFile: ""}blockedURI: "enhancement://neutral"sourceFile: ""violatedDirective: "style-src-elem"__proto__: Object__proto__: Object__proto__: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.719Z [error] main securitypolicyviolation {data: {…}}
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.727Z [error] main securitypolicyviolation {data: {…}}
vendors~main-496ae8b026b01936d504.js:1 2021-07-05T19:27:30.728Z [error] main securitypolicyviolation {data: {…}}
vendors~main-496ae8b026b01936d504.js:1 [Violation] 'requestAnimationFrame' handler took 85ms
vendors~main-496ae8b026b01936d504.js:1 [Violation] 'requestAnimationFrame' handler took 156ms
vendors~main-496ae8b026b01936d504.js:1 [Violation] 'requestAnimationFrame' handler took 85ms

Themes not working on Windows

I read various people have had similar issues on Linux and MacOS and it corrects itself after a few restarts so have tried doing that (50+ restarts, clearing the entire task in the memory, restarting the system and then trying to see if it works) but it hasn't YET worked for me, so just wanted to put it up here incase someone has a solution for Windows.

Screenshot 2021-08-04 142550

:)

Enhanced options not working

Captura de tela 2021-07-16 041657

in the left is the notion app (2.0.11), in the right is the enhanced (2.0.16), and in the middle is the enhanced mini window options. as you can see the enhanced options is not applying to the notion itself, nor the vanilla or the enhanced versions, but the options i choose, like the theme etc. are applying to the mini enhanced window, so idk, its kind working? i have no ideia to what to do, but i really want to test the enhanced version

i really suck at coding, so if there any line/row that i put there to give any info, pls tell me. i use the windows version

When clicking the icon on Dock it opens a second window

Running the repackaged .dmg on Intel MacOS Big Sur 11.6

When the app is opened and I click it's icon on the dock (to regain focus coming from another app) it loads a second Notion window. If I close one of the two windows and click the dock icon again the same thing happens.

Curiously, when two windows are open it stops spawning new windows (always 2, never 3 or more).

Only using the default enhancements and a theme (Neutral theme)

crash on start - gpu process isn't usable

Tried appimage and rpm and sadly I get a crash on start with this in the log:

FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.

I'm tried it running on OpenSUSE TW (Gnome 41) , Nvidia 470.74 .

Not showing any pages / SqliteError: no query solution

I'm trying to use this app on my linux desktop. It shows fine, and it logs in fine, but doesn't show any pages. The console shows the following error:

Uncaught (in promise) SqliteError: no query solution (sql: `
WITH RECURSIVE page_records AS (
SELECT * FROM records
WHERE record_table = 'block'
AND record_id = ?
AND user_id = ?

UNION

SELECT records.*
FROM
records INDEXED BY record_parent,
page_records INDEXED BY record_parent
WHERE
(
page_records.record_id = ?
OR json_extract(page_records.record_value, '$.value.type') NOT IN ('page', 'toggle')
)
AND records.record_table = 'block'
AND records.parent_table = page_records.record_table
AND records.parent_id = page_records.record_id
AND records.user_id = ?
)
SELECT * FROM page_records
`)

Apple M1: I do not have permission to open Notion Enhanced

Screen Shot 2021-08-21 at 3 34 09 PM

Hello, I have a MacBook Pro (M1) and downloaded the following file: Notion-Enhanced-2.0.16-1-mac.zip. However, upon opening it, I found out that I don't have permission (see screenshot) to access the application. I was wondering what the next steps are?

Initial effort

The idea is to package enhanced versions for Windows and Mac so that these users can just install that version without going through all the hoops as well as packaging both the regular and enhanced ported version for the most common Linux package formats (deb, rpm, pacman and AppImage)

Windows: package enhanced version into an installer (nsis)
Mac: package enhanced version into an installer (signed dmg)
Linux: package both normal and enhanced versions (deb, rpm, pacman and AppImage)

Since it needs to build native modules, this is probably need to use appveyor for Windows and Travis for Linux, MacOS.
Maybe it's possible to use GitHub Actions as they have support for Windows, but this is not documented on electron-builder's wiki.

https://www.electron.build/multi-platform-build#to-build-app-for-windows-on-linux

Cursor not showing

The cursor do not show at all, also if I start writing an inline Katex expression, the expression text insertion area is not focused.

Title Bar Icons Not Displaying Properly

After following all the recommendations prior to installing this version of Notion upon installation I face the following issue: minimize, maximize, close buttons are not displaying properly as well as the icon is missing in the task bar on the bottom of the screen.

Screenshot:
Screenshot_1

Sync not completing

I have had this experience several times where I type in content and that content stops syncing back to notion, the saving icon keeps on skipping but never completes its task eventually have to close the app and all progress is lost.

Use build config with variables for both local and CI builds

The idea is to have a file (notion-repackaged.env or notion-repackaged.sh) that has variables for things like the version and the revision, the upstream hash, notion-enhancer commit hash, etc.

This file should be used by the local build script and the CI pipeline. And the github actions workflow should only be triggered when a modification of this file is pushed to the repository https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths

Add option to open silently?

I know there is an option in the enhancer to open it minimized, but it'd be really helpful if it could take an option like --silent and open minimized instead of setting it to open minimized all the time. It could be used to open Notion on startup silently, and anytime the user opens it, it would open completely.

Implement caching

https://github.com/actions/cache

The installation of the modules and build of the packages are soooo slow. Most of the time is spent building the native modules. We can make use of an additional job step to cache and restore previous builds node_modules as well as the dist directory produced by electron-builder.

Making sure the cache is still relevant is crucial, we don't want stale data.

Permission problem on Notion Enhanced for Mac

Hi ! I tried to fix my problem, but already I don't find any solution so, I need your help :(
I have an error message when I try to open my Notion Enhance Application
image
Notion is ok, but this one doesn't work.
I have this message
image
In english : "You do not have the permissions to open the "Notion Enhanced" application. Contact your network or computer administrator for assistance."

Anyone can help me ?

Thank a lot !

Infinite Loading

I can only see the loading ring animation on launching Notion.

In the console log, I see error messages saying:

WebSocket connection to 'ws://localhost:37477/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

App Window Showing up with Cmd+Shift+A

Hi,

Whenever I press Cmd+Shift+A on my Mac, the Notion Enhanced app window shows up/hides.

I couldn't find where to change this shortcut and it's not a mac specific. It's also conflicting with another system-wide shortcut I have. Do you have any device on how to change this?

Default to dark theme

Hi! I've been a huge fan of Notion Enhanced and its features, and I really appreciate the work you're putting into this.

One thing I would really appreciate was an enhancement to set a default theme other than white. Every time I open Notion, I have to press the keyboard shortcut to switch to dark theme because the notes I take are designed with the dark background and white text in mind.
Would it be possible to set the dark theme as default through Notion Enhanced?
Thanks.

Can't install with package manager

After using the instructions in the readme to add your repository, I get the following error when I run sudo apt install notion-app-enhanced:
Repository is broken: https://apt.fury.io/notion-repackaged notion-app-enhanced 2.0.16-5 has no Size information.

.zip version for mac not able to open

Generated these details on the error:

Process: Notion Enhanced [21822]
Path: /private/var/folders/*/Notion Enhanced.app/Contents/MacOS/Notion Enhanced
Identifier: com.github.notion-repackaged
Version: 2.0.16-5 (2.0.16-5)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Notion Enhanced [21822]
User ID: 501

Date/Time: 2021-09-28 00:28:47.970 -0700
OS Version: macOS 11.5.1 (20G80)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: F287C13F-0D3F-779B-EE8D-8E9CCF8714F4

Sleep/Wake UUID: 476D5E63-3659-4C4E-AB17-54A31CAC5EF6

Time Awake Since Boot: 420000 seconds
Time Since Wake: 1000 seconds

System Integrity Protection: enabled

Notes: Translocated Process

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
dyld: Using shared cache: B936FA17-1090-3677-8A1A-0FB7DE3CEC6C
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
Referenced from: /private/var/folders/*/Notion Enhanced.app/Contents/MacOS/Notion Enhanced
Reason: no suitable image found. Did find:
/private/var/folders/qw/y5kjwlc52t95pqvpkx1q7k8h0000gn/T/AppTranslocation/53C1D01C-AD61-4C48-8E84-B3814BA7AA32/d/Notion Enhanced.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
/private/var/folders/qw/y5kjwlc52t95pqvpkx1q7k8h0000gn/T/AppTranslocation/53C1D01C-AD61-4C48-8E84-B3814BA7AA32/d/Notion Enhanced.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1

Binary Images:
0x1049fd000 - 0x104a24fff +com.github.notion-repackaged (2.0.16-5 - 2.0.16-5) <78B92786-16F2-3C2B-86DC-F633B22A7F09> /var/folders/*/Notion Enhanced.app/Contents/MacOS/Notion Enhanced
0x112edd000 - 0x112f78fff dyld (852.2) <57DB2053-BFD5-3683-97C6-F1DB2A1F1D09> /usr/lib/dyld

Model: MacBookPro14,3, BootROM 429.140.8.0.0, 4 processors, Quad-Core Intel Core i7, 2.8 GHz, 16 GB, SMC 2.45f5
Graphics: kHW_IntelHDGraphics630Item, Intel HD Graphics 630, spdisplays_builtin
Graphics: kHW_AMDRadeonPro555Item, Radeon Pro 555, spdisplays_pcie_device, 2 GB
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x173), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1680.8)
Bluetooth: Version 8.0.5d7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.0 Bus
USB Device: Apple T1 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4

Customised font colours not working

For a long time, I've been using a customised theme which I implemented by changing the colours in AppData\Local\Programs\Notion Enhanced\resources\app\embedded_enhancer\mods\dark+\variables.css. It's always worked fine. But recently, after trying out other themes, when I went back to dark+, the font colours became stuck to a certain theme (sorry I can't recognise which theme it is). The UI colours I defined in dark+\variables.css are still displaying correctly, though.

This is what the font colours now look like in Notion Enhanced when I use the dark+ theme:
image

These are the colours I defined in dark+\variables.css, which are different from the colours in the screenshot above:
image

Any help would be much appreciated~ Thanks a lot!

Window doesn't update unless window is resized

For both notion-app and notion-app-enhanced I have very similar problems:

  1. For notion-app, if I leave the current desktop and come back, the window does not update unless I resize it
  2. For notion-app-enhanced, the window does not update unless I resize it

By not update I mean if I input text or click on a page, the view does not represent the action performed, although the action is performed. For example, if I type "Hello there", it doesn't display, but if I resize the window, it appears. If I click on another page, it doesn't display, but if I resize the window, the view updates.

20.04.3 LTS (Focal Fossa)
Ubuntu GNOME on X11
notion-app-enhanced 2.0.16-5 amd64
notion-app 2.0.16-5 amd64

Enhancer not working porperly

i just installed this package from the AUR.
the enhancer does not work properly, most of the extensions are ignored. the only extension that partially works is the panel icons, even that is messed up, i launched the binary from terminal and this is the error it shows.

Log:

00:28:15.875 › {
  level: 'error',
  from: 'main',
  type: 'unhandledRejection',
  error: {
    name: 'TypeError',
    message: 'focused_window.isMaximized is not a function',
    stack: 'TypeError: focused_window.isMaximized is not a function\n' +
      '    at Object.__exports.createWindow (/opt/Notion Enhanced/resources/app/embedded_enhancer/mods/core/createWindow.js:42:43)\n' +
      '    at handleActivate (/opt/Notion Enhanced/resources/app/main/main.js:71:36)\n' +
      '    at startup (/opt/Notion Enhanced/resources/app/main/main.js:149:5)\n' +
      '    at processTicksAndRejections (internal/process/task_queues.js:97:5)'
  }
}

System:
Arch Linux with Plasma + BSPWM

Screenshots:
the theme is not applied to notion itself and panel icons are messed up, also no go to top button and help is still there despite being hidden from enhancer settings.1
image

List of enabled Mods:

{
  "conflicts": { "dark": false, "light": false },
  "e0700ce3-a9ae-45f5-92e5-610ded0e348d": { "enabled": true },
  "752933b5-1258-44e3-b49a-61b4885f8bda": { "enabled": true },
  "0a958f5a-17c5-48b5-8713-16190cae1959": { "enabled": true },
  "69e7ccb2-4aef-484c-876d-3de1b433d2b9": { "enabled": true },
  "548fe2d7-174a-44dd-88d8-35c7f9a093a7": { "enabled": true },
  "d61dc8a7-b195-465b-935f-53eea9efe74e": { "enabled": true }
}

Minimize/Maximize/Close Buttons Glitching

I am on Windows, and I am using the repackaged version through the exe file. For some reason, the buttons in the top right corner are glitching for me. They are usually all lined up next to each other. They're not supposed to be underneath one another like shown in the photo...
Screenshot 2021-09-03 123251
Also, like 90% of the time, if I hover my mouse over the Close button, they disappear.
Not sure what to do. I'm not familiar with coding, so I have no idea where to go to fix it.

windows taskbar wrong/missing icon

Hiya,

Love the project, and the extra tweaks in this one compared to the base version are A++ awesome.
I'll be going back to the non-pre-enhanced version though for now.

My main issue (which I know sounds trivial, but it bugs me a LOT) is that if I pin Notion Enhanced to the taskbar in windows 10, the application shows up as a separate item. Doesn't happen with the non-repackaged version.

Keep up the good work.

[deb] libappindicator is deprecated, please switch to AyatanaIndicator

libappindicator1 is deprecated (details here), and should be replaced with libayatana-appindicator3.

The former is unavailable in Debian Bullseye (as well as unstable), and makes installation impossible:

$ LANG=en_EN.utf-8 sudo apt install notion-app-enhanced
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 notion-app-enhanced : Depends: libappindicator3-1 but it is not installable
E: Unable to correct problems, you have held broken packages.

This bug is probably coming from Electron, so it should be linked to the corresponding upstream issue.

See how this was handled in Signal-Desktop: signalapp/Signal-Desktop#4761

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.