Desktop: Folders component is not working and there are no errors in console

Created on 26 Jun 2020  路  3Comments  路  Source: standardnotes/desktop

Hi there,

I'm trying to add folders extensions (what I will say has same results with autocomplete tags and no distraction as well) and adding it works as expected.

My NGINX code is:

       location /folders.json {
            root /opt/notes_web/public/extensions;
        }

        location /extensions/folders-component/ {
            root /opt/notes_web/public;
        }

(tried with CORS and X-Frame-Options as well)

My json file is:

   {
    "identifier": "com.domain.folders",
    "name": "Folders",
    "content_type": "SN|Component",
    "area": "components",
    "version": "1.0.0",
    "url": "https://domain.com/extensions/folders-component/",
    "download_url": "https://domain.com/extensions/folders-component/folders-component.zip"
   }

The content of /opt/notes_web/public/extensions/folders-component is same as: https://github.com/standardnotes/folders-component

I can add it to web, I can even see it in the extensions section and I can even activate it but nothing happens.
There are no errors in console at all

Regards,
Dallas

Most helpful comment

Woooooww ... Thanks ... Yes that fixed the problem ... Nice nice nice ... love NS (Personal use as I don't want to keep my data anymore on Notes iOS).

Thank you

All 3 comments

Hey there @ciprianproton, it looks like you're almost there: just need a fix in the ext.json file. Change the area property from "components" to "tags-list" because otherwise it won't show up in the sidebar.

Here's the link if you want more details.

Let us know if that works!

Woooooww ... Thanks ... Yes that fixed the problem ... Nice nice nice ... love NS (Personal use as I don't want to keep my data anymore on Notes iOS).

Thank you

I'll move this to the Desktop repo as @baptiste-grob requested originally.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ErikBjare picture ErikBjare  路  5Comments

kevquirk picture kevquirk  路  5Comments

kyletolle picture kyletolle  路  4Comments

derkommandant picture derkommandant  路  5Comments

dymdipi picture dymdipi  路  5Comments