Commit Graph

75 Commits

Author SHA1 Message Date
Anbarasu
da150f8efd Feat: support createdAt, updatedAt, formula for calendar (#8904)
* feat: support system datetime cols for calendar view

* feat: formula support

* fix: custom priority sort fix: error if formula is invalid

* fix: coderabbit suggestions

* fix: selectedDate not updating
2024-07-02 10:43:15 +05:30
Ramesh Mane
b224397656 fix: Audit records only available for super user (#8882)
* fix(nc-gui): audit record access issue for oss base creator

* fix(nocodb): use user created_at instead of project user created_at

* fix(nc-gui): show comment from start instead of bottom

* fix(nc-gui): enable record audit logs for all user roles

* fix: enable comment & audit list for viewer

* fix(nc-gui): enable grid row comment count

* fix(nc-gui): update empty comment state text

* chore(nc-gui): lint

* Update en.json

* chore(nc-gui): lint

* fix(nc-gui): remove padding and add hover effect in audit record logs

* fix(nc-gui): comment/audit user role info issue

* fix(test): update share base comment drawer test case

* fix(nc-gui): record audit item line height issue

* fix(nc-gui): truncate record comment/audit user name

* fix(nc-gui): text truncate issue

* fix(nc-gui): update base user map on updating base user role

* fix(nc-gui): update grid row count on adding/removing comment

* fix(nc-gui): skip loading row audits in ee & after adding/updating comment

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-06-28 17:56:41 +05:30
Ramesh Mane
6e2cfdc20b feat: Use lookup over attachment field as cover image in gallery & kanban view (#8801)
* feat(nc-gui): Use lookup over attachment field as cover image in gallery & kanban view

* chore(nc-gui): lint

* fix(nc-gui): nested attchment lookup cell issue

* fix(nc-gui): pr review changes
2024-06-26 14:10:13 +05:30
Ramesh Mane
50f287f215 Nc Refactor: dialog modals (#8743)
* fix(nc-gui): update view create modal for grid & kanban

* fix(nc-gui): update calendar view create modal

* feat(nc-gui): add support to select gallery cover image while creating/duplicating view

* fix(nc-gui): update view icon size in view create modal

* fix(nc-gui): add input shadow effect

* refactor(nc-gui): dlg ui

* chore(nc-gui): lint

* fix(nc-gui): small changes

* fix(nc-gui): review changes

* chore: revert display message

* chore: lint

* fix(nc-gui): truncate field name

* fix(nc-gui): ignore empty lines at the end in form view #3104

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-06-15 07:08:27 +05:30
Ramesh Mane
f49bf52abf Nc fix/resolve console warnings (#8715)
* fix(nc-gui): some ts warnings

* fix(nc-gui): columnFilter file warnings

* fix(nc-gui): fix ts errors

* fix(nc-gui): pr review changes

* fix(nc-gui): update NcCheckbox change event

* fix(nc-gui): pr review changes
2024-06-14 11:43:26 +05:30
Anbarasu
fb67cafde7 feat: remove calendar top bar (#8379)
* feat: remove calendar top bar

* fix: remove debug logs

* fix: update styles

* fix: update styles

* fix: posthog telementry

* fix: calendar tests

* fix: updates ui

* test: reorder options

* fix: month view - use local time with timezone

* fix: update styles and move components fix: tests

* fix: update styles and move components

* fix: update styles

* test: fix tests

* fix: update toolbar styles

* fix: failing tests

* fix: cmd f search shortcut

* fix: change side menu sizes

* fix: calendar test corrections

* fix(nc-gui): update size logic

* fix(nc-gui): update styles

* fix(nc-gui): update some more styles

* fix(nc-gui): update toolbar styles

* fix(nc-gui): update select component

* fix: update styles

* fix: calendar test

* fix: ux changes

* fix: final changes

* fix: calendar tests
2024-05-14 11:47:08 +05:30
Mert E
89f0895de3 fix: experimental frontend optimizations (#8427)
* fix: get rid of barrel files

* chore: get rid of explicit imports

* fix: use explicit import for classes and enums

* fix: use explicit import for enum & class & aliases

* fix: build issues
2024-05-08 15:55:09 +05:30
Ramesh Mane
9cc1f3cb30 Nc Fix: UI improvements - left sidebar (#8244)
* fix(nc-gui); update toolbar menu text grom GroupBy to Group

* fix(nc-gui): move sidebar base, table expand icon to the right side

* fix(nc-gui): sidebar base, table, view menu options padding issue

* fix(nc-gui): add background color for row on hover in grid view

* fix(nc-gui): reduce width of index column

* fix(nc-gui): on hover grid row bg opacity issue

* fix(nc-gui): reduce font size and grid cell height

* fix(nc-gui): sidebar view menu alignment issue on mobile screen

* fix(nc-gui): reduce font size

* fix(nc-gui): set column default width to 180px

* fix(nc-gui): keep only sidebar changes & revert all other changes

* fix(nc-gui): change table icon

* fix(nc-gui): trim base, table, view title while saving it

* fix(nc-gui): increate left sidebar max width

* fix(nc-gui): show truncated base/table/view name until standard end

* fix(nc-gui): oss sidebar base menu options alignment issue

* fix(nc-gui): use valid classname

* fix(nc-gui): sidebar external db source menu ui fixes

* fix(nc-gui): small changes

* chore(nc-gui): lint

* fix(nc-gui): pw test fail issue

* fix(nc-gui): trim title while creating base, table, view

* fix(nc-gui): some of the sidebar pw test fail issues

* fix(test): sidebar test fail issue

* fix(test): projectCollaboration test fail issue

* fix(nc-gui): change font size of view menu option view mode chip text

* fix(nc-gui): grayed out create view dropdown plus icon color

* fix(nc-gui): grayed out table icon and reduce width of default view context menu

* fix(nc-gui): remove copyright text from user menu

* fix(nc-gui):  chevron icon and show/hide sidebar icon should be gray in color
2024-04-15 09:11:12 +05:30
DarkPhoenix2704
e808dd2b9f fix(nc-gui): view filters not applying 2024-03-06 10:54:35 +00:00
DarkPhoenix2704
891e357877 fix(nc-gui): disable ranges 2024-03-06 10:54:34 +00:00
DarkPhoenix2704
c4be7305d6 feat(nc-gui): enable ranges 2024-03-06 10:54:33 +00:00
DarkPhoenix2704
fed7b2bb2d fix(nc-gui): invalid docs link 2024-02-29 11:35:18 +00:00
Anbarasu
81ccf61de2 fix: lint errors (#7685)
* fix(nc-gui): lint issues

* fix(nc-gui): lint issues
2024-02-22 20:10:30 +08:00
DarkPhoenix2704
ab2802c11d fix(nc-gui): pr review changes 2024-02-20 07:16:22 +00:00
DarkPhoenix2704
2737da405a fix(nc-gui): pr review changes 2024-02-20 07:16:17 +00:00
DarkPhoenix2704
bcfdb1e479 fix(nc-gui): calendar duplication not copying all ranges 2024-02-20 07:16:06 +00:00
DarkPhoenix2704
dfa72c6486 fix(nc-gui): prevent selecting mixed Date types 2024-02-20 07:16:03 +00:00
DarkPhoenix2704
bd2f150fb7 fix(nc-gui): view create error 2024-02-20 07:16:03 +00:00
DarkPhoenix2704
e0bced0dfc fix(nc-gui): enable multiple range creation 2024-02-20 07:16:03 +00:00
DarkPhoenix2704
7b534ee1ff fix(nc-gui): view create modal design fix 2024-02-20 07:15:56 +00:00
Raju Udava
afb1b1863e misc: lable text correction 2024-02-20 07:15:56 +00:00
DarkPhoenix2704
59ce391bde feat(nc-gui): show active dates 2024-02-20 07:15:49 +00:00
DarkPhoenix2704
4ff0993491 feat(nc-gui): calendar view (wip) 2024-02-20 07:15:49 +00:00
DarkPhoenix2704
fd6c8f3df9 fix(nc-gui): calendar range alwats empty 2024-02-20 07:15:48 +00:00
DarkPhoenix2704
1ca038ff64 chore: run lint 2024-02-20 07:15:48 +00:00
DarkPhoenix2704
1a0b288f7c fix(nc-gui): calendar toolbar 2024-02-20 07:15:48 +00:00
DarkPhoenix2704
27e2c935dc fix(nc-gui): create, update calendar range 2024-02-20 07:15:47 +00:00
DarkPhoenix2704
4d32a66717 feat(nc-gui): create calendar view 2024-02-20 07:15:45 +00:00
DarkPhoenix2704
55f9a0b82b feat(nc-gui): create calendar view 2024-02-20 07:15:41 +00:00
Muhammed Mustafa
4901517aae fix: Fixed disabled col select in view create 2023-11-10 10:54:45 +00:00
Muhammed Mustafa
35df7e7cdb fix: Fixed kanban duplicate issue 2023-11-10 10:54:42 +00:00
Muhammed Mustafa
5d6a7b2560 fix: Removed Untitled from default name in View, table and base create 2023-10-30 15:41:26 +00:00
DarkPhoenix2704
bfacd80715 fix: refresh cmd palette 2023-10-06 12:44:45 +00:00
WK Wong
8f09668d0f fix(nc-gui): lint issues 2023-10-03 11:31:26 +08:00
Muhammed Mustafa
eb6f230d24 fix: Fixed issue with create and duplicate view view 2023-10-02 11:43:08 +00:00
Muhammed Mustafa
ca5495d147 fix: Fixed issue with view create modal 2023-10-02 11:43:06 +00:00
Muhammed Mustafa
6f10bda94a fix: Added events for Sidebar table and view node and all the modals assosiated with it 2023-10-02 11:43:04 +00:00
Muhammed Mustafa
289fd708db fix: i18n for View node, create and duplicate modal 2023-09-28 12:28:20 +05:30
Muhammed Mustafa
ea4ca3b691 feat: Typo 2023-09-25 13:39:10 +00:00
DarkPhoenix2704
bda7939236 fix: lint issues 2023-09-23 13:39:07 +05:30
Muhammed Mustafa
fedfdb59f8 fix: Added views in left sidebar 2023-09-22 15:23:15 +00:00
mertmit
9b20269d08 fix: warnings in ui
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-09-06 16:41:50 +03:00
Pranav C
33ee9bfa62 feat: Improved UI (#6222)
* feat: Improved ui (#6156)

* refactor: revert

Signed-off-by: Pranav C <pranavxc@gmail.com>

feat: shared base

Signed-off-by: Pranav C <pranavxc@gmail.com>

fix: remove duplicate import statement

Signed-off-by: Pranav C <pranavxc@gmail.com>

fix: disable starred & license menu

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: fix airtable wait issue

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: enable mysql in ci

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: fix checkbox order for sqlite

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: disable quick tests

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: fix dbType env variable for CI

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: workspace API access error fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: enable SQLite CI CD

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: use DB_TYPE env variable

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: enable SQLite UT

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: isHub cleanup

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: add check for EE Timezone spec

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

chore: cleanup

Signed-off-by: Pranav C <pranavxc@gmail.com>

chore: cleanup

Signed-off-by: Pranav C <pranavxc@gmail.com>

test: EE check fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

chore: test correction

Signed-off-by: Pranav C <pranavxc@gmail.com>

chore: sync latest changes

Signed-off-by: Pranav C <pranavxc@gmail.com>

test: set EE=false

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

test: set NC Edition to community in workflow file

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

chore: update sdk build command

Signed-off-by: Pranav C <pranavxc@gmail.com>

refactor: i18n and other changes

Signed-off-by: Pranav C <pranavxc@gmail.com>

feat: new ui

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: sync tests

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: lint

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: shared view/base related bugs

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: checkbox verification sort order fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: fix sqlite reset

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: enable selfhosted runners

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: table ops (draft)

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* Docs: screenshots for table-operations.md

* refactor: introduce missing buttons

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: get all fields

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: UT fix- new data API response

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: EE is false

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: webhook lookup as string in CE

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* fix: include created_at and updated_at

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: fix UT newDataAPI response for PG

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* fix: separate api for webhook related plugins

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: msyql filter corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: mysql group by test corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: fix datatype for rating field in groupby spec for pg

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: kanban datatype correction

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: column edit for mysql- rating field

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: misc fixes

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: enable 4 workers

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: enable 2 workers per shard only

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: table CRUD

* Rename table-operations.md to table-crud.md

* Create column-crud.md

* docs: row CRUD

* Rename row.md to row-crud.md

* docs: project crud

* docs: toolbar (skeleton)

* refactor: single page UI and bug fixes

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: sync tests playwright

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: add missing dependency

Signed-off-by: Pranav C <pranavxc@gmail.com>

* feat: single page ui, test corrections

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: tests

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: project rename test correction

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: remove only

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: remove wrong import statement

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: delete option not visible in project context menu

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: move ws access within isEE()

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: fix groupby

* test: groupby fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: signup & landing page

* docs: project crud

* docs: project-crud misc

* docs: toolbar fields

* docs: toolbar / filters

* docs: toolbar / group by

* docs: toolbar / sort

* docs: toolbar / row height

* docs: filters additional options

* docs: file re-order

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: add links to column types

* docs: code snippets

* docs: links

* docs: lookup

* docs: rollup

* docs: formula

* docs: primary key

* docs: display value

* docs: development setup

* docs: swagger

* fix(nc-gui): encodeURIComponent for row id

- closes: #6202

* docs: language

* docs: expanded record

* docs: import airtable

* docs: airtable

* docs: webhook

* docs: revert file rename

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* docs: account settings

* docs: audit

* docs: meta management

* docs: project settings

* docs: shared base

* docs: shared view

* docs: meta sync

* docs: team-auth

* docs: views

* docs: fix URL

* docs: URL corrections

* fix:  shared base, view related bugs

Signed-off-by: Pranav C <pranavxc@gmail.com>

* test: EE check for WSaccess

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* test: exclude EE tests

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>

* fix: missing project delete

closes #6215

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: merge existing project meta  if found

closes #6216

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: merge existing project meta  if found

closes #6216

Signed-off-by: Pranav C <pranavxc@gmail.com>

---------

Signed-off-by: Pranav C <pranavxc@gmail.com>
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>

* refactor: docs and other bug fixes

Signed-off-by: Pranav C <pranavxc@gmail.com>

* feat: populate default project on super admin signup

Signed-off-by: Pranav C <pranavxc@gmail.com>

* fix: include created project details in signup response if avail, missing Dockerfile

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: use custom function for resolving ts path aliases

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: add missing generate script

Signed-off-by: Pranav C <pranavxc@gmail.com>

* chore: webpack build correction - ts path resolve

Signed-off-by: Pranav C <pranavxc@gmail.com>

---------

Signed-off-by: Pranav C <pranavxc@gmail.com>
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
Co-authored-by: mertmit <mertmit99@gmail.com>
Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
Co-authored-by: Wing-Kam Wong <wingkwong.code@gmail.com>
2023-08-24 02:58:19 +05:30
Wing-Kam Wong
c74516592a chore(nc-gui): lint 2023-05-18 19:39:45 +08:00
DarkPhoenix2704
623d1a5d74 feat: updated some dialogs 2023-05-16 14:49:01 +05:30
Wing-Kam Wong
ea860b9c11 fix(nc-gui): remove alias validation as it doesnt exist 2023-03-16 16:11:45 +08:00
flisowna
b7887c2d34 geodata: fix naming of message 2023-01-18 12:25:10 +01:00
flisowna
c2220c6a6b fix issues from PR 2023-01-11 14:22:09 +01:00
flisowna
ea4332f4ed resolve merging conflicts 2022-12-19 14:59:39 +03:00
Wing-Kam Wong
1231b0bfed feat(nc-gui): add active class to <a-modal/> 2022-11-29 20:13:16 +08:00