Commit Graph

139 Commits

Author SHA1 Message Date
Pranav C
849c4a746e fix: extract base id from model meta since it can belongs to npn-active base 2024-07-12 18:22:02 +00:00
Ramesh Mane
bba72a08fe fix(nc-gui): reload audit & scroll in real time 2024-07-05 16:47:00 +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
Anbarasu
9109e7adc2 fix(nc-gui): update the audits design in expanded form (#8867)
* fix(nc-gui): update the audits design for ce

* fix(nc-gui): ui fix

* fix(nc-gui): left padding
2024-06-26 22:08:01 +05:30
Anbarasu
dcf0896505 fix: comments of prev row loading in ui (#8799) 2024-06-19 20:54:16 +05:30
Anbarasu
88278a77a0 fix: comment delete not working (#8714)
* fix: missing ui acl

* fix: remove unwanted ref fix: wrap condition in template
2024-06-13 14:29:47 +03:00
Raju Udava
5b7c788048 Nc fix/comments UI (#8711)
* fix: minor fixes

* fix: minor fixes

* fix: minor fixes

* fix: hover on comment

---------

Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
2024-06-13 13:22:17 +05:30
Anbarasu
55425f57de feat: Notifications (#8622)
* feat: notifications wip

* feat: wip

* feat: longpoll and notifications.controller.ts

* feat: longpoll and notifications.controller.ts

* feat: enable email notifications

* fix: notification styles and list

* fix: update swagger feat: connect poller to frontend

* fix: minor ui corrections

* feat: move notifications to ee feat: scroll to commentId fix: polling fail on network error fix: unreadcount not updating fix: add workspace to comment mention event

* fix: pubsub for notifications

* fix: warning maxListeners

* fix: update ui

* fix: minor fixes

* chore: move pub-sub to redis folder

* fix: update ui and schema feat: optimistic comment update and create

* fix: row empty during inital load causing row not loading

* fix: build

* fix: some updated

* fix: minor ui corrections

* fix: manage local state manually for interactivity

* fix: remove prev notifcation data

* fix: review comments

* fix: code rabbit comments

* fix: code rabbit comments

* feat: delete notifications

* fix: code rabbit comments

* fix: row RowMeta manipulation fix: overflow notifications

* fix: invalid offset

* fix: updated widths

* fix: tests

* fix: playwright

* feat: resolved by comments

* feat: update layout

* fix: wait 5 seconds before polling start, after polling starts, reload the notifications

* fix: bug fixes

* fix: disable long polling for playwright

* fix: update migration

* fix: lint

* fix: code rabbit comments

* fix: resolve tooltip

* feat: resolve ee

* fix: build failing

* fix: review comments

* fix: dependency synx

* fix: update notification style
2024-06-07 11:40:54 +05:30
rohittp
e02e2f15b1 chore: ignore empty new lines at the end of comments 2024-06-03 11:34:40 +00:00
Anbarasu
3a951118bc fix: expanded view not working on shared view and shared bases (#8596)
* fix: expanded view not working on shared view and shared bases

* fix: expanded record not working on calendar shared

* fix: review commenys

* fix: calendar unwanted data mutattion fix: kanban update changed Columns

* fix: move try catch to inner block

* fix: coderabbit comments
2024-05-30 11:42:22 +05:30
Anbarasu
5b968efa2b feat: richtext Comments (#8564)
* feat: richtext Comments

* fix: minor corrections

* fix: minor corrections

* fix: minor corrections

* fix: update carat color

* fix: improved comment upgrader

* fix: coderabbit comment fixes

* fix: update some behaviours

* fix: build

* fix: test flaky

* fix: test flaky

* fix: test failing

* fix: remove tasks list. fix: update enter handling using lists

* fix: update icons

* fix: update dependencies
fix: mysql index name long
fix: generate API.ts
2024-05-25 11:43:06 +05:30
Ramesh Mane
7a08488c30 Nc fix/expanded for UI changes (#8452)
* fix(nc-gui): expanded form new UI changes setup

* fix(nc-gui): update expanded form fields panel style

* fix(nc-gui): update expanded form header

* fix(nc-gui): update expanded form footer

* fix(nc-gui): update expanded form comment section

* fix(nc-gui): expanded form comment section ui changes

* fix(nc-gui): incorrect duplicate icon

* fix(nc-gui): add table icon & title in expanded form header

* fix(nc-gui): allow multiline comment display in expanded form

* fix(nc-gui): add column header menu & edit column option in exapanded form

* fix(nc-gui): updated header cell component

* fix(nc-gui): update field context menu for expanded form

* fix(nc-gui): expanded form column duplidate issue

* fix(nc-gui): pr review changes

* fix(nc-gui): update expanded form field menu option icon & text

* fix(nc-gui): expanded form field rename, show hidden field data update issue

* fix(nc-gui): small changes

* fix(nc-gui): update comment section

* fix(nc-gui): show expanded form field menu only if user has the permission

* fix(nc-gui): add expanded form comment input shadow

* fix(nc-gui): hide expanded form field menu options in mobile screen

* fix(nc-gui): use drawer insted of modal for expanded form in mobile view

* fix(nc-gui): expanded form responsive issue

* fix(nc-gui): expanded form skeleton issue

* fix(nc-gui): some review comments

* fix(nc-gui): increase font size of field label from expanded form

* fix(nc-gui): reduce expanded form field width

* fix(nc-gui): add comment and audit icons

* fix(nc-gui): comment box style

* fix(nc-gui): some pr review comments

* fix(nc-gui): add tooltip for navigation btns

* fix(nc-gui): expanded form field menu placement issue

* fix(nc-gui): add box shodow on expanded form input boxes

* fix(nc-gui): reduce height of field icon from expanded form

* fix(nc-gui): expanded form test fail issue

* chore(nc-gui): lint

* fix(nc-gui): role access test fail issue

* fix(nc-gui): review changes

* fix(nc-gui): small changes

* fix(nc-gui): overflow issue

* fix(nc-gui): navigation btn style issue

* fix(nc-gui): expanded form field row max width

* fix(nc-gui): update comment item user name color and font weight

* fix(nc-gui): increase comment input box padding
2024-05-11 20:07:12 +05:30
Rohit
fd3e5b21ac Nc fix/expanding rows for view (#8423)
* fix: handle the case when sharedView is not set

* chore: revert file change
2024-05-10 16:40:51 +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
Mert E
2d1c743f84 chore: sync (#8378)
* fix: unique per column for databricks

* fix: id invisible for databricks

* fix: PR requested changes

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-06 14:19:21 +05:30
mertmit
dd573ac84d fix: avoid saving if from expanded record
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-05-01 03:22:06 +03:00
mertmit
45be9e436a fix: skip load row only for new rows 2024-04-30 17:12:26 +00:00
mertmit
0f673c5973 fix: allow nested create for new records 2024-04-30 17:12:25 +00:00
mertmit
41e2dc090d fix: composite pk expanded form new record 2024-04-30 17:12:23 +00:00
Mert E
fed1c7ba5c feat: virtual scroll for grid (#8356)
* feat: virtual scroll for grid

* feat: improve virtual scroll

* fix: remove unused expose & ref

* feat: move row ltar helpers to parent level

* fix: use shared composable for useMetas

* fix: column add issue

* fix: reload issue

* feat: move cell state to computed

* chore: lint

* fix: null check for sticky field

* fix: PR requested changes

* fix: shared views

* fix: provide row store calls

* test: avoid all rows selector

* fix: group by

* fix: include isVirtualCol in cellMeta

* fix: split colMeta and cellMeta

* chore: lint

* test: edit column flakiness

* test: renderColumn for dashboard grid

* test: user column test flakiness
2024-04-29 14:22:21 +05:30
Ramesh Mane
47a08e9e60 fix(nc-gui): Cannot read properties of undefined (reading 'id') 2024-03-13 21:16:15 +00:00
DarkPhoenix2704
05d1502406 fix(nc-gui): wire new apis 2024-02-29 10:15:27 +00:00
Ramesh Mane
5784071489 fix: small changes 2024-01-18 12:45:58 +00:00
Ramesh Mane
b10f8e5ae8 fix(nc-gui): shared gallery & kanban view expanded form issue 2024-01-18 12:45:57 +00:00
Pranav C
ddc3686a59 fix: reload only virtual column value in expanded form when triggered by links 2024-01-03 12:46:16 +00:00
աɨռɢӄաօռɢ
88c8d06673 chore(nc-gui): lint 2023-11-10 00:46:18 +08:00
Pranav C
faaaff3a90 feat: use nested insert for row insert
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-10-27 23:31:14 +05:30
աɨռɢӄաօռɢ
4f44177f82 chore(nc-gui): remove unused vars / imports 2023-10-20 14:18:03 +08:00
Muhammed Mustafa
8fa83969f2 fix: Added loading for adding comment 2023-10-19 11:31:17 +00:00
Muhammed Mustafa
39ad60a519 fix: Comments are adding to FE state before api calls 2023-10-19 11:31:15 +00:00
Muhammed Mustafa
dcc24fef10 fix: Comments are adding to FE state before api calls 2023-10-19 11:31:13 +00:00
Pranav C
6afc439ffc refactor: rename row to record 2023-10-09 13:53:35 +00:00
Muhammed Mustafa
4806b52ee1 fix(nc-gui): Fixed issue with kanban expanded form for newly created kanabn view 2023-10-08 20:05:10 +00:00
sreehari jayaraj
3f2efaa40e fix: pagination on previos page load 2023-10-06 12:56:48 +00:00
Muhammed Mustafa
a8f96c70b4 fix(nc-gui): Fixed issue with comment not loadning and syncing with the grid comment count 2023-10-04 14:11:34 +00:00
DarkPhoenix2704
72a3c42fb8 fix: expanded record 2023-10-03 13:21:09 +00:00
WK Wong
55259c89b9 chore(nc-gui): lint 2023-10-03 11:24:03 +08:00
Pranav C
e790abdbaf refactor: rename project and base
- Rename `Project`  => `Base`
- Rename `Base` => `Source`
- Remove `db` from data/meta api endpoints
- Add backward compatibility for old apis
- Migrations for renaming table and columns

Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-10-02 23:52:18 +05:30
DarkPhoenix2704
c4f52bbb10 feat: audit log 2023-09-24 17:13:55 +05:30
DarkPhoenix2704
54df112662 fix: shared view issues 2023-09-23 13:37:26 +05:30
DarkPhoenix2704
35acb1e0b3 fix: refactor expanded form 2023-09-23 13:03:12 +05:30
DarkPhoenix2704
317f09bcd2 fix: shared gallery view 2023-09-23 13:03:12 +05:30
mertmit
b2eadae74f fix: refactor isUIAllowed and move to useRoles composable 2023-09-19 12:12:36 +00:00
DarkPhoenix2704
a988acbfc7 feat: links modal revamp 2023-09-19 09:22:45 +05:30
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
Pranav C
8290478d1d refactor: limit display value in message to 20chars
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-06-24 12:15:23 +05:30
Wing-Kam Wong
55f9281c25 refactor(nc-gui): revise audit description 2023-04-04 20:06:18 +08:00
Wing-Kam Wong
d85e01f336 refactor(nc-gui): remove audit calls from frontend side 2023-04-03 19:51:23 +08:00
mertmit
2de2a2852f fix: kanban undo/redo card insert
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-03-28 21:41:12 +03:00
mertmit
565af37583 fix: revise undo/redo scopes
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-03-28 21:41:11 +03:00