-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Collection of SecretNote Improvement (until 0829) (#57)
* feat: baseline version * feat: add about bar * feat: stable node color for same name * feat: add metrics panel * feat: support metrics monitoring of nodes * feat: add more docs * feat: support get versions * feat: misc changes * feat: add more comments * fix: clear outputarea when restart kernel * feat: more node info and supports LSP * feat: use customized drive to take over contents manager's * feat: make customized drive simple * fix: download notebook file * refactor: format all * feat: support ws auth in lsp connection * fix: format all * fix: encode token * feat: support file viewing when no kernel is available * fix: top toolbar run is invalid * feat: use markdown to render welcome docs * feat: toolbar run button and show loading when uploading * fix: the time sequence of defaultServerManager's launch * chore: misc changes to the toolchain * feat: correct file path for new drive and add busy status for file list * fix: stream stderr being missing * fix: rename welcome * fix: sanitize code * chore: sanitize deps * fix: remove debug settings * refactor: format all * chore: optimize packaging
- Loading branch information
Showing
70 changed files
with
3,321 additions
and
1,190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@alipay/secretnote-lite", | ||
"version": "0.0.34", | ||
"version": "0.0.42", | ||
"license": "Apache-2.0", | ||
"author": "[email protected]", | ||
"repository": "https://github.com/secretflow/secretnote/tree/main/packages/secretnote", | ||
|
@@ -9,25 +9,27 @@ | |
"dist", | ||
"src" | ||
], | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm.js", | ||
"types": "dist/typing/index.d.ts", | ||
"main": "dist/index.js", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"setup": "tsup src/index.tsx", | ||
"build": "tsup src/index.tsx", | ||
"build": "tsup src/index.tsx --inject ./react-shim.js", | ||
"dev": "tsup src/index.tsx --watch", | ||
"lint:eslint": "eslint src", | ||
"lint:stylelint": "stylelint 'src/**/*.{css,less}'", | ||
"pb": "pnpm publish --no-git-checks --filter @secretflow/secretnote-lite" | ||
}, | ||
"dependencies": { | ||
"@antv/s2": "^1.52.0", | ||
"@difizen/libro-jupyter": "^0.1.22", | ||
"@difizen/mana-app": "^0.1.10", | ||
"@difizen/mana-common": "^0.1.10", | ||
"@difizen/mana-l10n": "^0.1.10", | ||
"@difizen/mana-react": "^0.1.10", | ||
"@difizen/libro-jupyter": "^0.2.20", | ||
"@difizen/libro-language-client": "^0.2.20", | ||
"@difizen/mana-app": "^0.1.19", | ||
"@difizen/mana-common": "^0.1.19", | ||
"@difizen/mana-l10n": "^0.1.19", | ||
"@difizen/mana-react": "^0.1.19", | ||
"@kanaries/web-data-loader": "^0.1.7", | ||
"@lumino/polling": "^2.1.3", | ||
"@tiptap/core": "^2.1.11", | ||
"@tiptap/extension-color": "^2.1.11", | ||
"@tiptap/extension-highlight": "^2.1.11", | ||
|
@@ -43,11 +45,13 @@ | |
"@tiptap/starter-kit": "^2.1.11", | ||
"@tiptap/suggestion": "^2.1.11", | ||
"ahooks": "^3.7.8", | ||
"canvas-confetti": "^1.9.0", | ||
"classnames": "^2.3.2", | ||
"d3-dsv": "^3.0.1", | ||
"highlight.js": "^11.9.0", | ||
"lodash-es": "^4.17.21", | ||
"lucide-react": "^0.284.0", | ||
"markdown-it": "^14.1.0", | ||
"monaco-editor": "^0.45.0", | ||
"monaco-editor-webpack-plugin": "^7.1.0", | ||
"styled-components": "^6.1.0", | ||
|
@@ -57,8 +61,7 @@ | |
"xterm-addon-canvas": "^0.5.0", | ||
"xterm-addon-fit": "^0.8.0", | ||
"xterm-addon-search": "^0.13.0", | ||
"xterm-addon-web-links": "^0.9.0", | ||
"canvas-confetti": "^1.9.0" | ||
"xterm-addon-web-links": "^0.9.0" | ||
}, | ||
"peerDependencies": { | ||
"antd": "^5.10.1", | ||
|
@@ -71,7 +74,9 @@ | |
"@types/react": "^18.2.28", | ||
"@types/react-dom": "^18.2.13", | ||
"colorette": "^2.0.19", | ||
"esbuild-plugin-svgr": "^1.1.0" | ||
"esbuild-plugin-svgr": "^1.1.0", | ||
"tsup": "^8.2.4", | ||
"typescript": "^5.5.4" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.antgroup-inc.cn" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import React from 'react'; | ||
export { React }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
import type { LanguageBundles } from '@difizen/mana-l10n'; | ||
import { l10n, L10nLang } from '@difizen/mana-l10n'; | ||
// Multilingual support | ||
|
||
import lang_en_us from './bundle.l10n.en-US.json'; | ||
import lang_zh_cn from './bundle.l10n.zh-CN.json'; | ||
import { l10n, L10nLang } from '@difizen/mana-l10n'; | ||
|
||
export const langBundles: LanguageBundles = { | ||
'zh-CN': lang_zh_cn, | ||
'en-US': lang_en_us, | ||
}; | ||
import bundleENUS from './bundle.l10n.en-US.json'; | ||
import bundleZHCN from './bundle.l10n.zh-CN.json'; | ||
|
||
l10n.loadLangBundles(langBundles); | ||
l10n.loadLangBundles({ | ||
'zh-CN': bundleZHCN, | ||
'en-US': bundleENUS, | ||
}); | ||
l10n.changeLang(L10nLang.zhCN); |
Oops, something went wrong.