LearnNewsExamplesServices
Frontmatter
id5288
titlePortal.view.learn.MainContainerController: EditorConfig.json
stateClosed
labels
bugstale
assigneesmaxrahder
createdAtMar 2, 2024, 5:41 PM
updatedAtSep 12, 2024, 4:28 AM
githubUrlhttps://github.com/neomjs/neo/issues/5288
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 12, 2024, 4:28 AM

Portal.view.learn.MainContainerController: EditorConfig.json

Closed v8.1.0 bugstale
tobiu
tobiu commented on Mar 2, 2024, 5:41 PM

We are getting errors when loading the learning section:

Screenshot 2024-03-02 at 16 04 57

Screenshot 2024-03-02 at 16 05 41

This file is missing inside the repo. @maxrahder: i think this is your node service for opening files inside your IDE.

We either need a flag to not trigger:

    onConstructed() {
        super.onConstructed();

        let me = this;

        // ...

        fetch('../../../../resources/data/deck/EditorConfig.json')
            .then(response => response.json()
                .then(data =>
                    me.getModel().setData('editorConfig', data)
                ))
    }

for all users, or the service needs to get into the repo. it could get modified to create a fork and a PR to submit changes to us.

tobiu added the bug label on Mar 2, 2024, 5:41 PM
tobiu assigned to @maxrahder on Mar 2, 2024, 5:41 PM