Commit Graph

1268 Commits

Author SHA1 Message Date
Ramesh Mane
5fe1be1d8a test(nc-gui): fix user management flaky test (#9180) 2024-08-08 14:27:17 +05:30
Ramesh Mane
0fb4c4878d fix(nc-gui): source erd test fail issue 2024-08-07 21:11:14 +05:30
Raju Udava
7ba227736e Nc feat/webhook UI (#9141)
* feat: webhook wip

* feat: webhook wip custom theme

* fix: handle scroll

* chore: clean up

* fix: ux fixes

* fix: font corrections

* fix: webhook docs links fix: pr review comments

* fix: box-shadow

* fix(nc-gui): webhook css fixes

* fix(nc-gui): reduce btn width from webhook modal

* fix(nc-gui): update webhook page json editor

* fix(nc-gui): add webhook docs link

* fix(nc-gui): webhook parameter, headers input gap

* fix(nc-gui): update webhook list table

* fix(nc-gui): remove beautify json btn

* fix(nc-gui): webhook header, parameters styles

* fix(nc-gui): warning issue

* fix(nc-gui): upate test webhook btn icons and enable save changes btn by default

* fix(nc-gui): update hook type text in table

* fix(nc-gui): focus webhook title on modal open

* fix(nc-gui): minor changes

* fix(nc-gui): update filter and params btn type

* fix(nc-gui): update webhook oss ui

* fix(nc-gui): add sortby webhook operation type option

* fix(nc-gui): update webhook notification type icons

* fix(nc-gui): invalid props issue

* fix(nc-gui): update webhook condition text

* fix(nc-gui): update monaco editor font color

* test: webhook class name fix

* fix(nc-gui): add missing webhook header key dropdown options

* fix(nc-gui): update webhook header key placeholder text color

* fix(nc-gui): update webhook modal min width

* test(nc-gui): update some of the webhook related test

* test(nc-gui): update create webhook test case

* text(nc-gui): fixed some of the webhook test cases

* test(nc-gui): update webhook conditional test cases

* docs: update

* fix(nc-gui): small changes

---------

Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
Co-authored-by: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
2024-08-06 21:59:46 +05:30
Pranav C
9de25471b8 Nc feat/integrations (#8903)
* feat: integrations backend (WIP)

* feat: migration - source table

* feat: updated migration

* feat: integration APIs - WIP

* feat: integration - crud, acl, api tests

* feat: integration - crud, acl, api tests

* feat: integration - GUI integration

* feat: private integration config

* feat: integration GUI

* feat: delete api and source creation

* feat: add hint for input fields

* fix: source creation bugs

* refactor: placeholder text correction

* refactor: include context

* feat: integration delete with transaction

* refactor: permission scope correction and move ee logic

* refactor: migration correction and improvements

* feat: confirm dialog

* refactor: review comments

* refactor: meta service changes

* feat: add oss support - WIP

* feat: add oss support

* refactor: coderabbt suggestions

* refactor: exclude config from api response

* refactor: coderabbit review comments

* refactor: rename migration names

* fix: method name correction

* fix(nc-gui): integration ui changes

* fix(nc-gui): add edit integration ui changes

* fix(nc-gui): add shared badge in integrations list

* feat(nc-gui): duplicate integration

* fix(nocodb): add copy from id integration support in create integration api

* fix(nc-gui): update useIntegration store

* fix(nc-gui): test connection btn style update

* fix(nc-gui): update new integration modal

* feat(nc-gui): add sort integration list support

* fix(nc-gui): integration table to be center aligned

* fix(nc-gui): move form item required mark to right side

* fix: remove divider

* fix(nc-gui): add input shadow

* fix(nc-gui): base name validator error message

* fix(nc-gui): add border if search connection input has some value

* fix(nc-gui): add close btn in integration modal

* chore(nc-gui): lint

* fix(nc-gui): pr review changes

* chore(nc-gui): cleanup unused code

* chore(nc-gui): lint

* fix(nc-gui): integrationsType not found issue

* fix(nc-gui): update data source table

* fix(nc-gui): populate integration name only on input value change

* fix(nc-gui): create data source form update

* fix: type correction

* fix: label correction

* fix: font corrections

* fix: remove help text

* fix: grammar in help text

* fix(nc-gui): edit source ui changes

* fix(nc-gui): base settings modal changes & datasource search feat

* fix(nc-gui): update data source table

* fix(nc-gui): move integrations outside team & settings

* fix(nc-gui): make connections table full width

* fix(nc-gui): modal height issue in small screen

* fix(nc-gui): disable editing selected connection in edit data source

* fix(nc-gui): add data sources in base settings tab

* fix(nc-gui): ant design multiple warnings issue

* fix(nc-gui): create source page scrollbar issue

* feat(nc-gui): create connection from create source page

* chore(nc-gui): lint

* fix(nc-gui): update project members tab content margin

* chore: label text change

* fix: font changes

* chore: font corrections

* chore: integration => connection

* fix(nc-gui): disable auto editing database name on changing connection name

* fix(nc-gui): table header overflow issue

* fix(nc-gui): show connection crud operation messages in toast

* feat(nc-gui): request new integration ui

* fix(nc-gui): text area height adjust issue

* fix(nc-gui): add connection from source create issue

* fix(nc-gui): show data source details in modal

* fix(nc-gui): hide private connection option

* fix(nc-gui): user should able to edit & save connection without test connection if only title updated

* fix(nc-gui): add integration page in oss

* fix(nc-gui): typo currection

* fix(nc-gui): oss create base ui changes

* misc: minor formatting changes

* misc: formatting corrections

* fix(nc-gui): overlay close btn issue

* fix(nc-gui): some review changes

* fix(nc-gui): remove link beetween connection name & database name

* fix(nc-gui): update edit base/source modal oss

* fix(nc-gui): add db type icon in select connection

* chore(nc-gui): lint

* fix: integration list - allow access based on base level role

* fix(nc-gui): load integrations on creating integration from source create issue

* fix(nc-gui): add connection count in tab

* fix: correction in soft delete logic

* fix(nc-gui): reset use ssl on panel collapse

* fix(nc-gui): reduce select input font weight

* fix(nc-gui): update connection edit access control

* fix: integration read api correction

* fix(nc-gui): some review changes

* fix(nc-gui): labels update

* fix(nc-gui): udpate text in delete modal integration -> connection

* fix: remove permission from wrong scope

* refactor: swagger description correction

* fix(nc-gui): remove connection between source name & database name

* fix(nc-gui): test connection is not needed form source name. inflection field changes

* refactor: include integration title with source

* feat: integration pagination

* fix: remove unused prop

* fix(nc-gui): update all tables tab btns tooltip

* feat: new integration request

* refactor: replace delete statement and use assigning undefined for better performance

* feat(nc-gui): sync data support in project page

* fix(nc-gui): all sync data type list

* fix(nc-gui): close sync data modal issue

* fix(nc-gui): add bg gray color on db icon of tooltip

* fix(nc-gui): make connection as required field

* fix(nc-gui): show connection name if not found and reload page

* fix(nc-gui): show connection name in ds list

* fix(nc-gui): ssl related changes

* fix: oss permission

* fix(nc-gui): active tab issue on clicking source

* feat: include source count and sources in api response

* fix(nc-gui): add getIntegration fun in useIntegrationStore

* fix(nc-gui): source list udpate issue on updating source details

* fix(nc-gui): fix external source icon alignment

* feat: include base name and source count

* fix: query correction

* fix(nc-gui): show liked sources list in delete connection modal

* fix(nc-gui): display connection usage information in list

* fix(nc-gui): add sync data types icons

* fix(nc-gui): add pagination support in connection list

* fix(nc-gui): connection pagination issue

* fix(nc-gui): connection tab count update issue

* test(nc-gui): some of test cases updated

* fix(nc-gui): some minor review changes

* fix(nc-gui): minor ui changes

* fix(nc-gui): Cannot read properties of undefined (reading 'sub_type')

* fix(nc-gui): udpate all tables btn text

* fix(nc-gui): ui changes

* fix(nc-gui): overflow issue

* fix(nc-gui): add connection icon & back btn in modal

* fix(nc-gui): some minor ui changes

* test(nc-gui): update source restriction test cases

* chore(test): remove only from test

* fix(nc-gui): update style of delete connection modal

* test(nc-gui): update acl pw test cases

* fix(test): ws collaboration role accss test fail issue

* fix(nc-gui): add connection successfully added modal

* fix(nc-gui): update connection added modal

* fix(nc-gui): trigger sync request event on upvote

* chore(nc-gui): lint

* fix(nc-gui): add learn more btn in connection successfull modal

* fix(nc-gui): add integration docs link support

* fix(nc-gui): integration table name field text truncate issue

* fix: misc corrections

* misc: button width change

* fix(nc-gui): update icons

* fix(nc-gui): update test connection btn icons

* fix(nc-gui): all tables btn gap issue

* feat(nc-gui): search option in sync data modal

* feat(nc-gui): search connection through api

* fix(nc-gui): add base and source icon in delete connection modal

* fix: update sync request event

* fix(nc-gui): rebase conflict issue

* fix: connections text length

* fix(nc-gui): enable integration/create source supported docs option

* fix(nc-gui): update advanced option header style

---------

Co-authored-by: mertmit <mertmit99@gmail.com>
Co-authored-by: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-08-04 15:36:20 +05:30
Ramesh Mane
388b9d9590 Nc fix: replace ant design table (#9113)
* fix: replace ant design table

* feat(nc-gui): custom table component

* fix(nc-gui): udpate UIAcl table

* fix(nc-gui): table scrolling issue

* feat(nc-gui): sticky first column of custom table component

* fix(nc-gui): update meta sync ant table with new table

* fix(nc-gui): update import data table

* fix(nc-gui): update import & upload data modal table

* chore(nc-gui): lint

* fix(nc-gui): update all table tab table

* fix(nc-gui): update project members table

* fix(nc-gui): update collaborators list table

* fix(nc-gui): table list search section alignment issue

* fix(nc-gui): collaborators list overflow issue

* fix(nc-gui): small changes

* fix(nc-gui): update project home page tables height

* fix(nc-gui): update oss user table

* fix(nc-gui): small changes

* test(nc-gui): update ant table related test cases

* test(nc-gui): update oss user list test cases

* chore(nc-gui): lint

* chore(nc-gui): cleanup unused css

* fix(nc-gui): add missing invite team image state

* fix(nc-gui): user management test fail issue

* fix(test): oss user management test fails issue

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

* fix(nc-gui): handle empty object entries destructuring case

* fix(nc-gui): pr review changes

* fix(nc-gui): disable ui acl header checkbox is list is empty

* fix(nc-gui): update oss user management pw test

---------

Co-authored-by: Pranav C <pranavxc@gmail.com>
2024-08-01 20:52:29 +05:30
Anbarasu
a5fc9be175 feat: Formula colouring and improved suggestions (#9072)
* feat: formula language

* feat: formula coloring and ux improvements

* fix: suggestions generation

* fix: handle undefined editor

* fix: handle formula errors

* fix: update imports

* fix: minor corrections

* fix: test corrections

* fix: increase timeout

* fix: clear existing formulas before pasting

* fix: ux improve

* fix: ux improve

* fix: coloring issue

* fix: remove styles

* fix: handle wrapping

* fix: bug fixes

* fix: strict suggestion handling

* fix: update indent strategy

* fix: handle formula in nested state and unbalanced parens

* fix: formula fix

* chore: sync dependencies
2024-07-30 13:47:07 +05:30
Anbarasu
7e750a92be feat: groupby bulk apis (#9040)
* feat: bulk groupby api

* feat: bulk dataList api

* feat: bulk dataList api

* feat: bulk data load

* feat: bulk data load

* fix: load Data

* feat: custom pagination limit

* feat: public bulkapis(wip)

* fix: bug fixes

* fix: ui bug fixes

* fix: issues with strings

* fix: case when alias is empty string

* fix: cleanup

* fix: datetime

* fix: mysql group apis failing

* fix: sqlite3 groupby fixes

* fix: grouoby tests

* fix: grouoby tests

* fix: invalid page size fix: issue with bulkAggregation fix: aggregation duplicate query

* fix: duplicate api call

* fix: duplicate aggregation api call

* fix: large data-api calls on reload

* fix: tests

* fix: update bulkapis to use post

* fix: page size not updating
2024-07-25 15:45:14 +05:30
DarkPhoenix2704
1be7d6a6da tests: update attachments tests 2024-07-25 10:07:22 +05:30
DarkPhoenix2704
99207aee57 tests: update attachments tests 2024-07-25 10:07:22 +05:30
Raju Udava
711ef06f48 test: fix mm-hm order 2024-07-12 18:22:05 +00:00
Raju Udava
bc1bbfa7de test: disable advance options 2024-07-12 18:22:05 +00:00
Raju Udava
412def2947 test: fix typo 2024-07-12 18:22:03 +00:00
Pranav C
a21c2fd6cf test: playwright test - WIP 2024-07-12 18:22:03 +00:00
Pranav C
ea7c0d26b0 test: playwright test - WIP 2024-07-12 18:22:03 +00:00
Raju Udava
dce7bf8502 Nc chore/menu titles (#8961)
* fix: menu items

* test: fix menu item name change

* fix: menu items in expand record, kanban & mfe
2024-07-08 18:26:54 +05:30
Ramesh Mane
5cfe0f781b Nc feature: Import CSV - skip field mapping during import (#8915)
* fix(nc-gui): import csv changes

* fix(nc-gui): tooltip alignment issue

* fix(nc-gui): duplicate table name issue

* fix(nc-gui): uncheck auto select field type checkbox

* fix(nc-gui): skip field mapping during csv import

* chore(nc-gui): lint

* fix(nc-gui): small changes

* fix(nc-gui): remove auto mapping option

* fix(test): update import excel test cases

* fix(nc-gui): review changes

* fix(nc-gui): quick import modal width issue

* fix(nc-gui): w.replace is not a function
2024-07-06 07:08:44 +05:30
Ramesh Mane
aca5658cbb Merge pull request #8914 from nocodb/test/mfe
test: disable MFE tests for SQLite & MySQL
2024-07-05 16:45:31 +05:30
Anbarasu
64a66b48a0 feat: attachments by url, webcam (#8921)
* fix: attachment fixes

* feat: support camera, local rewrite uploads feat: url, wip

* fix: upload url

* fix: import useAttachmentCell

* fix: handle invalid urls, edge cases

* fix: handle stopping all active streams

* fix: styling

* fix: styling

* fix: tests correction

* fix: bulk updates tests

* fix: thumbnail support, fix: icons for all fix: url with redirect not working fix: overflow issue fix: scope style modals fix: expanded form design broken

* fix: clear all active streams

* fix: mirror camera

* fix: update colors fix: enable upload-via-url in shared views

* fix: upload-via url

* fix: typo

* fix: update styles fix: added localization fix: issues with camera

* fix: update translation

* fix: show error inline fix: icon hover effect not working fix: reuse media stream

* fix: slowui

* fix: don't load if the filetype does not starts with image/video

* fix: translation

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-07-05 16:43:51 +05:30
Ramesh Mane
5041a10533 Fix: Persist the left sidebar width and use pixels instead of percentage to configure the sidebar width (#8931)
* fix(nc-gui): use px to configure left sidebar width instead of percentage

* fix(nc-gui): ai review changes

* fix(nc-gui): use 256px sidebar default width in pw testing

* fix: use constant sidebar width

* fix(test): airtable import test fail issue

* chore(test): remove console

* chore(nc-gui): update comment
2024-07-05 16:43:13 +05:30
Raju Udava
00376535e9 test: UI ACL 2024-07-03 14:50:31 +00:00
Raju Udava
f6bd147d36 test: disable MFE tests for SQLite & MySQL
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-07-03 11:31:52 +05:30
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
Anbarasu
bd00e8e243 feat: groupby aggregation (#8838)
* feat: groupby aggregation

* fix: reload data

* fix(nc-gui): fix: better aggregate update condition

* fix(nc-gui): limit api aggregation calls

* fix(nocodb): aggregation api refactor feat(nocodb): bulk aggregate apis

* feat(nocodb): update swagger.json fix(nocodb): parse aggregation json feat(nocodb): public endpoint

* fix: get first res

* fix: swagger bugs

* fix: integrate bulk aggregation

* fix(nc-gui): bulk agg not triggering in shared view

* fix(nc-gui): avoid agg load inside table in groupby

* fix(nc-gui): issue when key is decimal

* fix(nc-gui): trigger aggregate before ui update

* fix(nc-gui): update triggering bulk api calls

* fix(nc-gui): custom label in pagination

* test: unit tests

* chore: move to ee

* fix: gui separation

* fix: pagination gui

* fix: summary flicker

* fix: pr review

* fix: groupby pagination

* fix: aggregation alias handling

* fix:  agg not updating

* fix: expanded-form broken

* fix: unit tests

* fix: playwright tests

* fix: playwright tests

* fix: user select, groupby tests

* fix: groupby inner pagination alignment

* fix: stddev sqlite value

* fix: review changes

* fix: ui flicker
2024-07-01 17:02:41 +05:30
Raju Udava
ddc8cdcd45 Update Filter.ts 2024-06-29 05:17:21 +00:00
Raju Udava
aa2be0cd8f test: multi select filter fix 2024-06-29 05:17:21 +00:00
Raju Udava
7b7e3270b1 test: considerations for open modal scenario 2024-06-29 05:17:21 +00:00
Raju Udava
a2883f8125 test: dont wait for filter rsp for first filter 2024-06-29 05:17:21 +00:00
Raju Udava
00e5fe9b81 test: insert filter wait again 2024-06-29 05:17:21 +00:00
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
Raju Udava
53a0486364 test: ensure submit message configured is saved 2024-06-28 12:24:07 +00:00
Raju Udava
954e1b919e fix: column ops- scroll into view before insert 2024-06-28 12:24:06 +00:00
Raju Udava
dd99060f04 test: use API to prep beforeEach work 2024-06-28 12:24:06 +00:00
Raju Udava
b817a7ee6a fix: increase wait for kanban show-all 2024-06-28 12:24:06 +00:00
Raju Udava
4899e2815e test: fix-sort-order (#8849)
* test: fix-sort-order

* test: pass params explicitly
2024-06-25 17:53:15 +05:30
Ramesh Mane
c6ad09b89c fix(test): pw test fail issue 2024-06-24 08:28:54 +00:00
Anbarasu
b7acf202e8 feat: Field aggregation (#8786)
* feat: basic ui for aggregation

* feat: update aggregation in ui

* feat: aggregation api implementation

* feat: attachment aggregation.ts

* fix: some changes

* fix: rebase

* feat: aggregation for links, rollup, ltar, formula, lookup

* fix: type errors

* fix: move from data-alias controller, service to data-table service, controller

* chore: inline docs for aggregations

* fix: handle edge cases

* fix: ui bugs

* feat: working ui aggregation

* fix: minor issue

* fix: rollup and links fix count

* fix: handle ID Column

* fix: minor fixes

* fix: update aggregation on data change

* fix: round to 2 decimal places

* fix: stddev computation error replace with stddev_pop

* fix: use pg age function

* feat: new record layout

* fix: shared view aggregations

* feat: aggregations based on formula result

* fix: temp pagination

* feat: ncpagination v2

* feat: ncpagination v2

* fix: playwright tests

* fix: pending changes

* fix: failing tests

* feat: mysql2 aggregations

* fix: build

* fix: record count

* fix: cleanup

* fix: disable count aggregation

* feat: expiremental sqlite3 aggregation

* fix: mysql2 median

* fix:minor issues

* refactor: rename column to column_query fix: remove default aggregations fix: disable aggregation for specific dbtype and Foreign Key

* fix: remove unwanted else case

* fix: aggregation not loading

* fix: rebase

* fix: rebase

* fix: pagination fixed height

* fix: respect locked mode for aggregations

* fix: pagination component

* fix: pagination component

* fix: replace Math.random
2024-06-24 11:55:54 +05:30
Ramesh Mane
5dda4c7d37 Nc fix: misc UI fixes (#8827)
* fix(nc-gui): external source text bold issue

* fix(nc-gui): make new record btn sticky to left in groupby

* fix(nc-gui): add some padding after add column header btn

* fix(nc-gui): links cell margin issue

* fix(nc-gui): groupby table footer issue

* chore(nc-gui): lint

* fix(test): pw test fail issue

* fix(test): pw test fail issue

* fix(test): remove only from test
2024-06-22 20:28:26 +05:30
Pranav C
d4e5ede2d3 Nc feat/Readonly source followup (#8795)
* feat: allow partial column update (GUI)

* feat: allow partial column update (backend)

* refactor: swagger schema description correction

* feat: allow edit from multi field editor

* fix: allow meta update in api level

* fix: add tooltip and docs link

* fix: multi field editor corrections

* fix: allow table meta update

* fix: allow table meta update

* fix: allow column validation update

* fix: block adding new option directly from cell

* fix: add tooltip for column menu options

* refactor: tooltips

* test: replace index with count as parameter

* fix: corrections

* refactor: hint text update
2024-06-21 20:44:40 +05:30
Raju Udava
be38b8f2f5 chore: add support for hungarian
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-06-21 20:13:13 +05:30
Pranav C
652a1676d8 test: extract title from base in context 2024-06-18 19:06:19 +00:00
Pranav C
212488b1c1 fix: review comments 2024-06-18 19:06:18 +00:00
Pranav C
d62f2cccfc tests: playwright 2024-06-18 19:06:18 +00:00
Raju Udava
88e2d40d9b Nc UI/groupby (#8781)
* feat: groupby design update

* fix: add groupby icons

* fix: misc

* fix: groupby

* fix: update groupBy menu

* fix: remove unwanted addnl widths

* fix: grouopby fixes

* fix: updated styles

* fix: updated styles

* fix: updated styles

* fix: remove data manipulation in fe

* fix: update groupby menu design

* fix: test

* fix: flaky tests

* fix: pagination border fix: left margin fix: shared view and base, incorrect width

* fix: minor fixes

* fix: width calculation

* fix: better width calculation

* fix: refactor group by width caluclation

* fix: tests fix

* fix: groupby tests fix

* fix: pagination bg color

* fix: group by

* fix: group by

* fix: update scrollBump calculation

* fix: updated color

* fix: updated text

* fix: meu margins

* fix: hover effect for elements

* fix: overflow

* fix: coderabbit comments

---------

Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
2024-06-18 20:56:54 +05:30
Raju Udava
70b31392cd test: fix mfe toggle (trial) (#8740)
* test: fix mfe toggle (trial)

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

* test: retain timeout wait after save

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

---------

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-06-14 10:18:03 +03:00
Ramesh Mane
7dc4319dc7 Nc Refactor: Kanban view (#8689)
* fix(nc-gui): update kanban view stack ui

* feat(nc-gui): add collapse all stack option

* fix(nc-gui): add empty stack placeholder

* fix(nc-gui): add loading state support for ncSwitch

* fix(nc-gui): swap edit card and stacked by toolbar menu

* fix(nc-gui): update stacked by toolbar menu

* fix(nc-gui): update kanban view height

* fix(nc-gui): add stack bg color

* feat(nc-gui): add support to hide empty stack

* fix(nc-gui): stack loader issue

* fix(nc-gui): checkbox alignment in kanban view

* fix(nc-gui): update stack drag handler and hide it if user does not have permission

* fix(nc-gui): stack title overflow issue

* fix(nc-gui): allow inline rename stack

* fix(nc-gui): advance color picker tab warnings

* fix(nc-gui): rename stack option issues

* fix(nc-gui): small changes

* fix(nc-gui): review changes

* feat(nc-gui): add new stack support

* fix(nc-gui): small changes

* fix(nc-gui): add loading state for rename & add new stack

* fix(nc-gui): reduce width of stack

* fix(nc-gui): make ncSwitch placement prop optional

* fix(nc-gui): some review changes

* fix(nc-gui): remove only from test

* fix(nc-gui): add error handling part in kanban stack update

* fix(nc-gui): update localstate while updating kanban stack meta

* fix(nc-gui): some review changes

* fix(nc-gui): add expand all stack option

* fix(nc-gui): add condition to append new stack obj

* fix(nc-gui): update card field label style

* fix(nc-gui): remove top & bottom padding from stack

* fix(nc-gui): drag stack test update

* fix(nc-gui): console warning issues

* text(nc-gui): update kanban view test

* fix(nc-gui): remove last added empty row from stack if it is not saved

* fix(nc-gui): duplicate column insert issue on rename stack

* fix(nc-gui): update field menu

* fix(nc-gui): add new stack duplicate issue

* feat(nc-gui): add expand record option in context menu of gallery

* fix(nc-gui): delete record fail issue #3111

* fix(nc-gui): hide grouping field by default in kanban view

* chore(nc-gui): lint

* fix(nc-gui): ui review changes

* fix(nc-gui): select option focus issue in edit state

* fix(nc-gui): add bottom border for stack

* fix(nc-gui): ui review changes

* fix(nc-gui): update color picker btn text from select option

* fix(nc-gui): delete default value stack #8212

* fix(nc-gui): stack data offset an drag card issue

* chore(nc-gui): lint
2024-06-13 14:27:22 +05:30
Anbarasu
a292e7c32d fix: flaky tests (#8713) 2024-06-13 11:33:34 +05:30
Raju Udava
58e70afaac Nc feat/type conversions rebased (#8680)
* feat: created inferTypes.ts

* chore: switch to sdk types

* feat: convert string to given type

* feat: convert string to rating

* fix: handle the case with multiple .

* feat: numeric decimal type conversion in postgres

* feat: add cast for non text fields

* refactor: move type casts to separate file

* feat: add casts for date, date-time and time

* doc: added function docs

* feat: added cast for year and rating

* feat: added cast for duration

* fix: cast for multi-select

* fix: cast for multi-select

* fix: cast for year

* feat: date conversion on best effort basis

* fix: single line text to select

* fix: any field to select

* lint: simplified expressions

* fix: user conversion

* fix: user conversion

* fix: date time conversion

* test: added test cases for type casts

* fix: SLT to User field

* fix: SLT to Long text, single select and multiselect

* chore: handle True/False & TRUE/FALSE in checkbox

* lint: fixed eslint issues

* chore: remove system fields as destination type when converting a field

* feat: show warning when changing column type

* fix: toned down edit modal

* test: click on update button during warning popup

* test: update selector

* test: fix type change flag

* fix: handle date format

* chore: auto focus update button

* fix: parameterize columnName and other values

* chore: removed number of digits limit for hour

* test: fix add-edit modal label

* fix: fixed missing column reference

* fix: handle missing date format

* fix: handle missing date format

* test: fix save routine mux

* test: fix barCode & QRCode save

* refactor: combined uiType filters

* fix: sanitise column name

* refactor: switch to some instead of find

* feat: created inferTypes.ts

* chore: switch to sdk types

* feat: convert string to given type

* feat: numeric decimal type conversion in postgres

* feat: add cast for non text fields

* refactor: move type casts to separate file

* feat: add casts for date, date-time and time

* doc: added function docs

* feat: added cast for year and rating

* feat: added cast for duration

* fix: cast for multi-select

* fix: cast for multi-select

* fix: cast for year

* feat: date conversion on best effort basis

* fix: single line text to select

* fix: user conversion

* fix: date time conversion

* fix: SLT to User field

* fix: SLT to Long text, single select and multiselect

* chore: handle True/False & TRUE/FALSE in checkbox

* lint: fixed eslint issues

* feat: show warning when changing column type

* fix: toned down edit modal

* test: click on update button during warning popup

* fix: handle date format

* chore: auto focus update button

* fix: parameterize columnName and other values

* chore: removed number of digits limit for hour

* fix: handle missing date format

* fix: handle missing date format

* test: fix save routine mux

* fix: revert removing verify

* fix: sanitise column name

* fix: pass context

* tests: remove duplicate statement

* fix: add context bypass for list method

* fix: disable type conversion for Formula, BarCode, QrCode

* fix: render confirm modal sing useDialog to avoid accidental closing

* refactor: construct context using column while getting colOptions data

---------

Co-authored-by: rohittp <tprohit9@gmail.com>
Co-authored-by: Pranav C <pranavxc@gmail.com>
2024-06-12 15:17:29 +05:30
Ramesh Mane
99ecc40f9a Nc Refactor: Gallery view (#8674)
* fix(nc-gui): introduce header icon in gallery view card and update style

* fix(nc-gui): field modal width issue if it is rich text

* fix(nc-gui): hide longtext expanded icon on gallery & kanban view card hove

* fix(nc-gui): date field alignment issue

* fix(nc-gui): udpate kanban view card

* fix(nc-gui): udpate gallery & kanban view card display value style

* fix(nocodb): hide cover image in new gallery, kanban view if it is not pv column

* feat(nc-gui): change cover image object fit property change support

* fix(nc-gui): virtual cell card value alignment issue

* fix(nc-gui): gallery view card image navigation issue

* fix(nc-gui): gallerym, kanban card cover image dots navigation overflow issue

* fix(nocodb): use optional chaining to access nested variable

* chore(nc-gui): lint

* fix(nc-gui): long text max line shuld be 4 in card

* test: update open expanded form in gallery test

* fix(nc-gui): add empty card in gallery view if cards length is less than 4

* fix(nc-gui): update gallery view card min width

* fix(nocodb): small changes

* fix(nc-gui): review changes

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

* fix(nc-gui): update card image navigation buttons icon

* fix(nc-gui): udpate gallery view bg color

* fix(nc-gui): update email, url, phone cell height from card

* fix(nc-gui): update isEmptyRow function logic

* fix(nc-gui): some review changes

* fix(nc-gui): card display value color

* fix(nc-gui): udpate gallery view card min width

* fix(nc-gui): update card shadow & border on hover

* fix(nc-gui): update gallery loader card width

* fix(nc-gui): add min height for card image

* chore(nc-gui): lint

* fix(nc-gui): card rich text height

* fix(nc-gui): align record count in right side in gallery view

* fix(nc-gui): review changes

* fix(nc-gui): shared view show & hide field issue

* chore(nc-gui): lint

* fix(nc-gui): link record test fail issue
2024-06-10 16:38:56 +05:30
Mert E
1caa37903c chore: sync various (#8671)
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-06-07 14:49:08 +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