Skip to content

Commit

Permalink
Merge pull request #7001 from nocodb/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 16, 2023
2 parents 9ad7c89 + bc2cbbd commit 2586791
Show file tree
Hide file tree
Showing 366 changed files with 10,173 additions and 3,468 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: remove use-node-version from .npmrc
run: sed -i '/^use-node-version/d' .npmrc
- name: Get pnpm store directory
shell: bash
run: |
Expand Down Expand Up @@ -78,6 +80,8 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: remove use-node-version from .npmrc
run: sed -i '/^use-node-version/d' .npmrc
- name: Get pnpm store directory
shell: bash
run: |
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/playwright-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,21 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check node,pnpm Installation and set Path
shell: bash
working-directory: scripts/self-hosted-gh-runner
timeout-minutes: 1
run: |
./node-pnpm-check.sh
echo "make sure below mentioned versions are expected versions"
echo "If you are expecting the node and pnpm versions to be updated. Please update the node-pnpm-check.sh script"
env
- name: remove use-node-version from .npmrc
run: sed -i '/^use-node-version/d' .npmrc
- name: Setup Node
if: ${{ env.SETUP_NODE != 'false' }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NC_REQ_NODE_V }}
node-version: 18.14.0
- name: Setup pnpm
if: ${{ env.SETUP_PNPM != 'false' }}
uses: pnpm/action-setup@v2
with:
version: ${{ env.NC_REQ_PNPM_V }}
version: 8
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=/root/setup-pnpm/node_modules/.bin/store/v3" >> $GITHUB_ENV
- uses: actions/cache@v3
if: env.IS_NPM_CACHE_DOWNLOAD_REQUIRED == 'true'
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
Expand Down
26 changes: 5 additions & 21 deletions .github/workflows/pre-build-for-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,29 @@ name: pre-build-for-playwright

on:
workflow_call:
inputs:
FORCE_RUN_PRERQUISITE_STEPS:
description: 'FORCE_RUN_PRERQUISITE_STEPS'
required: false
type: string
default: 'false'


jobs:
playwright:
runs-on: [self-hosted, v3]
timeout-minutes: 100
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check node,pnpm Installation and set Path
shell: bash
working-directory: scripts/self-hosted-gh-runner
timeout-minutes: 1
run: |
./node-pnpm-check.sh
echo "make sure below mentioned versions are expected versions"
echo "If you are expecting the node and pnpm versions to be updated. Please update the node-pnpm-check.sh script"
env
- name: Setup Node
if: ${{ env.SETUP_NODE != 'false' }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NC_REQ_NODE_V }}
node-version: 18.14.0
- name: Setup pnpm
if: ${{ env.SETUP_PNPM != 'false' }}
uses: pnpm/action-setup@v2
with:
version: ${{ env.NC_REQ_PNPM_V }}
version: 8
- name: remove use-node-version from .npmrc
run: sed -i '/^use-node-version/d' .npmrc
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=/root/setup-pnpm/node_modules/.bin/store/v3" >> $GITHUB_ENV
- uses: actions/cache@v3
if: env.IS_NPM_CACHE_DOWNLOAD_REQUIRED == 'true'
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- name: Get pnpm store directory
shell: bash
run: |
sed -i '/^use-node-version/d' .npmrc
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: remove use-node-version from .npmrc
run: sed -i '/^use-node-version/d' .npmrc
- name: install dependencies
run: pnpm bootstrap
- name: run unit tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-sdk-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

fetch-depth: 0
- run: |
sed -i '/^use-node-version/d' .npmrc
pnpm bootstrap
- name: Create Pull Request
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart spreadshe
<a href="https://docs.nocodb.com/"><b>Documentation</b></a>
</p>

![All Views](https://user-images.githubusercontent.com/35857179/194825053-3aa3373d-3e0f-4b42-b3f1-42928332054a.gif)
![video avi](https://github.com/nocodb/nocodb/assets/86527202/e2fad786-f211-4dcb-9bd3-aaece83a6783)

<div align="center">

Expand Down Expand Up @@ -106,6 +106,8 @@ nocodb/nocodb:latest
> If you plan to input some special characters, you may need to change the character set and collation yourself when creating the database. Please check out the examples for [MySQL Docker](https://github.com/nocodb/nocodb/issues/1340#issuecomment-1049481043).
> Different commands just indicate the database that NocoDB will use internally for metadata storage, but that doesn't influence the ability to connect to a different database type.
## Binaries

##### MacOS (x64)
Expand Down Expand Up @@ -305,4 +307,4 @@ Thank you for your contributions! We appreciate all the contributions from the c

<a href="https://github.com/nocodb/nocodb/graphs/contributors">
<img src="https://contrib.rocks/image?repo=nocodb/nocodb" />
</a>
</a>
2 changes: 1 addition & 1 deletion packages/nc-gui/assets/nc-icons/check.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions packages/nc-gui/assets/nc-icons/file-image.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/nc-gui/assets/nc-icons/lock.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions packages/nc-gui/assets/nc-icons/sort.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 67 additions & 18 deletions packages/nc-gui/assets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
@import '@vue-flow/core/dist/style.css';
@import '@vue-flow/core/dist/theme-default.css';

html {
overflow: hidden;
}

body {
line-height: 1.3125rem;
}
Expand Down Expand Up @@ -54,7 +58,7 @@ main {
}

.mobile {
.nc-scrollbar-md, nc-scrollbar-dark-md, nc-scrollbar-dark-md, nc-scrollbar-sm-dark, nc-scrollbar-x-md {
.nc-scrollbar-md, .nc-scrollbar-x-md, .nc-scrollbar-dark-md, .nc-scrollbar-x-md-dark, .nc-scrollbar-x-lg {
&::-webkit-scrollbar {
width: 0px;
}
Expand All @@ -64,6 +68,7 @@ main {
.nc-scrollbar-md {
overflow-y: scroll;
overflow-x: hidden;
scrollbar-width: thin !important;

&::-webkit-scrollbar {
width: 4px;
Expand All @@ -77,16 +82,46 @@ main {
}
&::-webkit-scrollbar-thumb {
width: 4px;
@apply bg-gray-200;
}
&::-webkit-scrollbar-thumb:hover {
@apply bg-gray-300;
}
}

.nc-scrollbar-x-md {
overflow-x: scroll;
scrollbar-width: thin !important;


&::-webkit-scrollbar {
width: 4px;
height: 4px;
}
&::-webkit-scrollbar-track-piece {
width: 0px;
}
&::-webkit-scrollbar {
@apply bg-transparent;
}
&::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;


width: 4px;
@apply bg-gray-200;
}
&::-webkit-scrollbar-thumb:hover {
@apply bg-gray-400;
@apply bg-gray-300;
}
}

.nc-scrollbar-dark-md {
overflow-y: scroll;
overflow-x: hidden;
scrollbar-width: thin !important;


&::-webkit-scrollbar {
width: 4px;
Expand Down Expand Up @@ -115,13 +150,14 @@ main {
}
}

.nc-scrollbar-sm-dark {
overflow-y: scroll;
overflow-x: hidden;
.nc-scrollbar-x-md-dark {
overflow-x: scroll;
scrollbar-width: thin !important;


&::-webkit-scrollbar {
width: 2px;
height: 2px;
width: 4px;
height: 4px;
}
&::-webkit-scrollbar-track-piece {
width: 0px;
Expand All @@ -130,20 +166,26 @@ main {
@apply bg-transparent;
}
&::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;


width: 4px;
@apply bg-gray-300;
background-color: rgba(0, 0, 0, 0.3)

}
&::-webkit-scrollbar-thumb:hover {
@apply bg-gray-400;
background-color: rgba(0, 0, 0, 0.4)

}
}

.nc-scrollbar-x-md {
.nc-scrollbar-x-lg {
overflow-x: scroll;

&::-webkit-scrollbar {
width: 4px;
height: 4px;
width: 8px;
height: 8px;
}
&::-webkit-scrollbar-track-piece {
width: 0px;
Expand All @@ -152,18 +194,18 @@ main {
@apply bg-transparent;
}
&::-webkit-scrollbar-thumb {
width: 4px;
-webkit-border-radius: 10px;
border-radius: 10px;


width: 8px;
@apply bg-gray-200;
}
&::-webkit-scrollbar-thumb:hover {
@apply bg-gray-300;
}
}

html {
overflow-y: auto !important;
}

main {
@apply flex-0 w-full relative scrollbar-thin-dull;
overflow-x: hidden;
Expand Down Expand Up @@ -194,7 +236,7 @@ a {
}

.nc-base-menu-item {
@apply cursor-pointer flex items-center gap-2 py-2 after:(content-[''] absolute top-0 left-0 bottom-0 right-0 w-full h-full bg-current opacity-0 transition transition-opacity duration-100) hover:(after:(opacity-5));
@apply cursor-pointer flex items-center gap-2 py-2;

// &:hover {
// .nc-icon {
Expand Down Expand Up @@ -437,6 +479,9 @@ a {
.nc-toolbar-btn {
@apply !shadow-none rounded hover:(ring-1 ring-gray-200 ring-opacity-100 bg-gray-100 !text-gray-800) focus:(ring-1 ring-gray-300 ring-opacity-100 !text-gray-800 bg-gray-100) text-gray-600 text-xs font-medium px-2 border-0;
}
.nc-toolbar-btn[disabled] {
@apply !text-gray-400 !cursor-not-allowed !hover:ring-0;
}

.nc-warning-info {
@apply !shadow-none rounded ring-1 ring-red-600;
Expand Down Expand Up @@ -633,3 +678,7 @@ input[type='number'] {
@apply xs:(visible opacity-100 !text-gray-500)
}
}

.ant-message-notice-content {
@apply !rounded-md;
}
2 changes: 1 addition & 1 deletion packages/nc-gui/components/account/License.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { useNuxtApp } from '#app'
import { useNuxtApp } from '#imports'
import { message } from 'ant-design-vue'
import { extractSdkResponseErrorMsg, useApi, useGlobal } from '#imports'
Expand Down
2 changes: 1 addition & 1 deletion packages/nc-gui/components/account/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const onValidate = async (_: any, valid: boolean) => {
<div class="flex text-gray-500" data-rec="true">{{ $t('labels.controlAppearance') }}</div>
<div class="flex flex-row mt-4">
<div class="flex h-20 mt-1.5">
<GeneralUserIcon size="xlarge" :email="user?.email" />
<GeneralUserIcon size="xlarge" :email="user?.email" :name="user?.display_name" />
</div>
<div class="flex w-10"></div>
<a-form
Expand Down

0 comments on commit 2586791

Please sign in to comment.