crossnote-app
crossnote-app copied to clipboard
Upload and Download is not working
我配置了GitHub库, 最初建立笔记本时候,可以看到crossnote把readme.md已经下载到本地了。
后来在crossnote里面建了几个note后,点击Upload和Download都没有反应。 看chrome的network里面,也没看到浏览器向网络发出请求。
我使用的当前的develop分支,在本地运行的。
yarn start时候,有不少warning,不知道是否有关系。
Compiled with warnings.
./src/editor/widgets/timer/index.tsx
Line 10:10: 'themeManager' is defined but never used @typescript-eslint/no-unused-vars
./src/components/AuthDialog.tsx
Line 113:10: 'loggedIn' is assigned a value but never used @typescript-eslint/no-unused-vars
./src/editor/widgets/widget/WidgetTopPanel.tsx
Line 116:5: 'resUpdateWidget' is assigned a value but never used @typescript-eslint/no-unused-vars
./src/components/ExplorePanel.tsx
Line 11:3: 'Cog' is defined but never used @typescript-eslint/no-unused-vars
Line 13:3: 'SortVariant' is defined but never used @typescript-eslint/no-unused-vars
Line 14:3: 'SortDescending' is defined but never used @typescript-eslint/no-unused-vars
Line 15:3: 'SortAscending' is defined but never used @typescript-eslint/no-unused-vars
./src/components/NoteCard.tsx
Line 125:21: 'setGitStatus' is assigned a value but never used @typescript-eslint/no-unused-vars
./src/components/PushNotebookDialog.tsx
Line 13:3: 'fade' is defined but never used @typescript-eslint/no-unused-vars
Line 93:6: React Hook useCallback has a missing dependency: 'crossnoteContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/components/NotebookPanel.tsx
Line 147:10: 'forceUpdate' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 149:5: 'resStarNotebook' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 153:5: 'resUnstarNotebook' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 203:6: React Hook useCallback has a missing dependency: 'cloudContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/pages/Privacy.tsx
Line 150:53: Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener react/jsx-no-target-blank
Line 156:11: Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener react/jsx-no-target-blank
./src/components/NotesPanel.tsx
Line 16:3: 'Hidden' is defined but never used @typescript-eslint/no-unused-vars
Line 29:3: 'Cog' is defined but never used @typescript-eslint/no-unused-vars
Line 30:11: 'MenuIcon' is defined but never used @typescript-eslint/no-unused-vars
Line 34:3: 'Pencil' is defined but never used @typescript-eslint/no-unused-vars
Line 35:3: 'ChevronDown' is defined but never used @typescript-eslint/no-unused-vars
Line 36:3: 'TrashCan' is defined but never used @typescript-eslint/no-unused-vars
Line 42:8: 'Headroom' is defined but never used @typescript-eslint/no-unused-vars
Line 43:10: 'TabHeight' is defined but never used @typescript-eslint/no-unused-vars
./src/editor/widgets/audio/index.tsx
Line 19:3: 'fade' is defined but never used @typescript-eslint/no-unused-vars
./src/utilities/history.ts
Line 1:10: 'createHashHistory' is defined but never used @typescript-eslint/no-unused-vars
./src/components/MainPanel.tsx
Line 1:17: 'useState' is defined but never used @typescript-eslint/no-unused-vars
Line 3:3: 'fade' is defined but never used @typescript-eslint/no-unused-vars
Line 7:3: 'useTheme' is defined but never used @typescript-eslint/no-unused-vars
Line 8:3: 'lighten' is defined but never used @typescript-eslint/no-unused-vars
Line 11:10: 'Box' is defined but never used @typescript-eslint/no-unused-vars
Line 12:22: 'Model' is defined but never used @typescript-eslint/no-unused-vars
Line 12:38: 'Actions' is defined but never used @typescript-eslint/no-unused-vars
Line 74:6: React Hook useCallback has missing dependencies: 'props.toggleDrawer' and 't'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/lib/graphView.ts
Line 1:20: 'Note' is defined but never used @typescript-eslint/no-unused-vars
./src/components/NotePopover.tsx
Line 1:27: 'useCallback' is defined but never used @typescript-eslint/no-unused-vars
Line 1:40: 'useEffect' is defined but never used @typescript-eslint/no-unused-vars
Line 1:51: 'useRef' is defined but never used @typescript-eslint/no-unused-vars
Line 3:3: 'fade' is defined but never used @typescript-eslint/no-unused-vars
./src/components/Notes.tsx
Line 1:38: 'useCallback' is defined but never used @typescript-eslint/no-unused-vars
Line 11:10: 'Box' is defined but never used @typescript-eslint/no-unused-vars
Line 11:27: 'Button' is defined but never used @typescript-eslint/no-unused-vars
Line 15:10: 'CloudDownloadOutline' is defined but never used @typescript-eslint/no-unused-vars
Line 16:8: 'Noty' is defined but never used @typescript-eslint/no-unused-vars
Line 20:7: 'is' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 70:10: 'forceUpdate' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 72:27: 'setMasonryInstance' is assigned a value but never used @typescript-eslint/no-unused-vars
./src/editor/widgets/comment/CommentEditor.tsx
Line 1:38: 'useCallback' is defined but never used @typescript-eslint/no-unused-vars
./src/utilities/client.ts
Line 1:42: 'subscriptionExchange' is defined but never used @typescript-eslint/no-unused-vars
./src/editor/widgets/kanban/index.tsx
Line 218:11: 't' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 258:6: React Hook useEffect has missing dependencies: 'card.description' and 'isPreview'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 398:9: 'classes' is assigned a value but never used @typescript-eslint/no-unused-vars
./src/containers/cloud.ts
Line 26:17: 'setToken' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 35:9: 'settingsContainer' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 147:6: React Hook useEffect has a missing dependency: 't'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/editor/widgets/github_gist/index.tsx
Line 2:40: 'useEffect' is defined but never used @typescript-eslint/no-unused-vars
./src/containers/settings.ts
Line 33:11: 't' is assigned a value but never used @typescript-eslint/no-unused-vars
./src/editor/widgets/comment/CommentDialog.tsx
Line 33:3: 'EmptyPageInfo' is defined but never used @typescript-eslint/no-unused-vars
./src/components/LanguageSelectorDialog.tsx
Line 37:6: React Hook useCallback has a missing dependency: 'settingsContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/pages/Home.tsx
Line 39:8: 'SplitPane' is defined but never used @typescript-eslint/no-unused-vars
Line 42:3: 'SelectedSectionType' is defined but never used @typescript-eslint/no-unused-vars
Line 45:8: 'Editor' is defined but never used @typescript-eslint/no-unused-vars
Line 47:8: 'NotesPanel' is defined but never used @typescript-eslint/no-unused-vars
Line 49:10: 'Settings' is defined but never used @typescript-eslint/no-unused-vars
Line 54:10: 'Notifications' is defined but never used @typescript-eslint/no-unused-vars
Line 57:10: 'PrivacyPolicy' is defined but never used @typescript-eslint/no-unused-vars
Line 61:10: 'Actions' is defined but never used @typescript-eslint/no-unused-vars
Line 61:19: 'DockLocation' is defined but never used @typescript-eslint/no-unused-vars
Line 62:7: 'is' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 65:7: 'notesPanelWidth' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 66:7: 'notesPanelMinWidth' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 67:7: 'notesPanelMaxWidth' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 212:9: 'isMobile' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 216:27: 'setAddNotebookRepo' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 217:29: 'setAddNotebookBranch' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 292:6: React Hook useEffect has a missing dependency: 'crossnoteContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 461:9: 'explorePanel' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 467:9: 'notebookPanel' is assigned a value but never used @typescript-eslint/no-unused-vars
./src/components/NotePanel.tsx
Line 3:3: 'fade' is defined but never used @typescript-eslint/no-unused-vars
Line 25:3: 'ChevronLeft' is defined but never used @typescript-eslint/no-unused-vars
Line 36:3: 'EditorChangeLinkedList' is defined but never used @typescript-eslint/no-unused-vars
Line 42:3: 'printPreview' is defined but never used @typescript-eslint/no-unused-vars
Line 215:10: 'cursorPosition' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 259:6: React Hook useCallback has a missing dependency: 'crossnoteContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 327:6: React Hook useEffect has a missing dependency: 'crossnoteContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 368:6: React Hook useEffect has a missing dependency: 'settingsContainer.keyMap'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 472:6: React Hook useEffect has missing dependencies: 'crossnoteContainer' and 'postprocessPreview'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/components/Notebooks.tsx
Line 41:10: 'notebooksListElement' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 61:6: React Hook useEffect has a missing dependency: 'cloudContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 80:6: React Hook useEffect has a missing dependency: 'executeNotebooksQuery'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 107:6: React Hook useEffect has a missing dependency: 'cloudContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/utilities/image.ts
Line 4:10: 'Notebook' is defined but never used @typescript-eslint/no-unused-vars
./src/utilities/preview.ts
Line 4:10: 'SelectedSection' is defined but never used @typescript-eslint/no-unused-vars
Line 4:27: 'SelectedSectionType' is defined but never used @typescript-eslint/no-unused-vars
./src/containers/crossnote.ts
Line 4:8: 'Noty' is defined but never used @typescript-eslint/no-unused-vars
Line 19:10: 'browserHistory' is defined but never used @typescript-eslint/no-unused-vars
Line 20:13: 'qs' is defined but never used @typescript-eslint/no-unused-vars
Line 23:10: 'sanitizeTag' is defined but never used @typescript-eslint/no-unused-vars
Line 26:10: 'Emitter' is defined but never used @typescript-eslint/no-unused-vars
Line 76:29: 'setIsPushingNotebook' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 77:29: 'setIsPullingNotebook' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 375:5: React Hook useCallback has an unnecessary dependency: 'crossnote'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
Line 479:5: React Hook useCallback has an unnecessary dependency: 'crossnote'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
Line 524:5: React Hook useCallback has an unnecessary dependency: 'crossnote'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
Line 569:5: React Hook useCallback has an unnecessary dependency: 'crossnote'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
Line 622:5: React Hook useCallback has an unnecessary dependency: 'crossnote'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
Line 634:5: React Hook useCallback has an unnecessary dependency: 'crossnote'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
./src/components/PublishNotebookDialog.tsx
Line 55:6: React Hook useEffect has a missing dependency: 't'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/components/GitHubOAuthCallback.tsx
Line 66:14: 'i18n' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 95:6: React Hook useEffect has missing dependencies: 'executeLinkWithGitHubAccount' and 'executeSignInWithGitHubAccount'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 111:6: React Hook useEffect has a missing dependency: 't'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 152:6: React Hook useEffect has a missing dependency: 't'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/components/Settings.tsx
Line 6:3: 'Hidden' is defined but never used @typescript-eslint/no-unused-vars
Line 26:11: 'MenuIcon' is defined but never used @typescript-eslint/no-unused-vars
Line 43:10: 'browserHistory' is defined but never used @typescript-eslint/no-unused-vars
./src/editor/widgets/comment/index.tsx
Line 74:10: 'forceUpdate' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 87:5: 'resAddReactionToCommentWidget' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 91:5: 'resRemoveReactionFromCommentWidget' is assigned a value but never used @typescript-eslint/no-unused-vars
./src/components/ConfigurePublishedNotebookDialog.tsx
Line 78:6: React Hook useEffect has a missing dependency: 't'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 93:6: React Hook useEffect has a missing dependency: 't'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/components/NotebookTreeView.tsx
Line 7:3: 'fade' is defined but never used @typescript-eslint/no-unused-vars
Line 15:3: 'Cog' is defined but never used @typescript-eslint/no-unused-vars
Line 16:3: 'Upload' is defined but never used @typescript-eslint/no-unused-vars
Line 17:3: 'Download' is defined but never used @typescript-eslint/no-unused-vars
Line 21:3: 'SelectedSectionType' is defined but never used @typescript-eslint/no-unused-vars
./src/lib/notebook.ts
Line 7:8: 'AES' is defined but never used @typescript-eslint/no-unused-vars
Line 8:10: 'getHeaderFromMarkdown' is defined but never used @typescript-eslint/no-unused-vars
./src/containers/notifications.ts
Line 80:6: React Hook useCallback has an unnecessary dependency: 'executeNotificationsQuery'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
./src/components/ConfigureNotebookDialog.tsx
Line 86:6: React Hook useCallback has a missing dependency: 'crossnoteContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 104:6: React Hook useCallback has missing dependencies: 'crossnoteContainer' and 'props'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useCallback call and refer to those specific props inside useCallback react-hooks/exhaustive-deps
Line 112:6: React Hook useCallback has missing dependencies: 'crossnoteContainer' and 'props'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useCallback call and refer to those specific props inside useCallback react-hooks/exhaustive-deps
./src/components/AddNotebookDialog.tsx
Line 90:6: React Hook useCallback has missing dependencies: 'close', 'crossnoteContainer', and 't'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/components/GraphView.tsx
Line 9:3: 'GraphViewLink' is defined but never used @typescript-eslint/no-unused-vars
Line 12:10: 'Box' is defined but never used @typescript-eslint/no-unused-vars
Line 236:6: React Hook useEffect has a missing dependency: 'crossnoteContainer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.