diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 00000000..42f0557b --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,40 @@ +name: Studio RPM Package +on: + push: + branches: + - master +jobs: + package: + name: build package + runs-on: ubuntu-latest + strategy: + matrix: + os: + - centos7 + container: + image: vesoft/nebula-dev:${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + with: + ref: 'master' + path: source/nebula-graph-studio + - uses: actions/checkout@v2 + with: + repository: vesoft-inc/nebula-http-gateway + path: source/nebula-http-gateway + - uses: actions/checkout@v2 + with: + repository: vesoft-inc/nebula-importer + path: source/nebula-importer + - uses: actions/setup-go@v2 + with: + go-version: '^1.13.1' + - uses: actions/setup-node@v2 + with: + node-version: '10' + - name: Package + run: bash ./source/nebula-graph-studio/scripts/rpm-package.sh ${{ secrets.GA_ID }} + - name: Upload oss + run: cd ./source/nebula-graph-studio/tmp/ && ossutil64 -e ${{ secrets.OSS_ENDPOINT }} -i ${{ secrets.OSS_ID }} -k ${{ secrets.OSS_SECRET }} -f cp ./ ${{ secrets.OSS_TEST_URL }} --include "nebula-graph-studio-*.rpm*" --only-current-dir -r + + diff --git a/README.md b/README.md index a971c71e..1a4ce8f4 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ $ npm run dev ## Documentation [中文](https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/) +[ENGLISH](https://https://docs.nebula-graph.io/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/) ## Contributing Contributions are warmly welcomed and greatly appreciated. Please see [Guide Docs](https://github.com/vesoft-inc-private/nebula-graph-studio/blob/master/CONTRIBUTING.md) \ No newline at end of file diff --git a/app/assets/App.tsx b/app/assets/App.tsx index 0073611d..87e4f544 100644 --- a/app/assets/App.tsx +++ b/app/assets/App.tsx @@ -152,15 +152,15 @@ class App extends React.Component { const nGQLHref = locale === 'ZH_CN' ? 'https://docs.nebula-graph.com.cn/2.5.0/3.ngql-guide/1.nGQL-overview/1.overview/' - : 'https://docs.nebula-graph.com.cn/2.5.0/3.ngql-guide/1.nGQL-overview/1.overview/'; // TODO update english mannual + : 'https://docs.nebula-graph.io/2.5.0/3.ngql-guide/1.nGQL-overview/1.overview/'; const mannualHref = locale === 'ZH_CN' ? 'https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/' - : 'https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/'; // TODO change english mannual + : 'https://docs.nebula-graph.io/2.5.0/nebula-studio/about-studio/st-ug-what-is-graph-studio/'; const versionLogHref = locale === 'ZH_CN' ? 'https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-release-note/' - : 'https://docs.nebula-graph.com.cn/2.5.0/nebula-studio/about-studio/st-ug-release-note/'; // TODO change english mannual + : 'https://docs.nebula-graph.io/2.5.0/nebula-studio/about-studio/st-ug-release-note/'; return ( <> { } viewDoc = () => { - window.open( - 'https://docs.nebula-graph.com.cn/2.5.0/3.ngql-guide/16.subgraph-and-path/2.find-path/', - '_blank', - ); + window.open(intl.get('explore.docForFindPath'), '_blank'); }; handleInquiry = async () => { diff --git a/app/assets/modules/Schema/index.less b/app/assets/modules/Schema/index.less index ba68d546..42c1f709 100644 --- a/app/assets/modules/Schema/index.less +++ b/app/assets/modules/Schema/index.less @@ -3,6 +3,7 @@ background: #fff; padding: 20px; height: 100%; + overflow: auto; .header { display: flex;