Commit Graph

53 Commits

Author SHA1 Message Date
mertmit
69a29568c7 chore: sync
Signed-off-by: mertmit <mertmit99@gmail.com>
2026-01-10 00:21:02 +03:00
Pranav C
8ad859019e fix: row delete bug 2025-05-22 16:28:00 +00:00
Pranav C
55b2799a22 fix: extract base id from table meta 2025-05-22 16:27:58 +00:00
Mert E.
818d9344e9 chore: preps (#9994)
* chore: preps

Signed-off-by: mertmit <mertmit99@gmail.com>

* test: fix unit

Signed-off-by: mertmit <mertmit99@gmail.com>

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
2024-12-09 11:15:36 +03:00
Pranav C
488e13d287 refactor: remove import statement since it already part of auto-import 2024-10-22 17:35:10 +00:00
Pranav C
1107111e6d fix: escape _ in id value if composite pk 2024-10-22 17:35:10 +00:00
Nakul Nambiar
9131dcec86 fix: encode primary key before sending PATCH request
Refs: #9615
2024-10-09 15:32:40 +11:00
Anbarasu
0bb5ab9982 feat: button field (#9144)
* feat: static button type

* fix: swagger

* fix: style corrections

* feat: webhook trigger

* fix: disables

* feat: Button icons fix: row Delete failing

* fix: expanded-form ux fix: disable buttons in forms fix: update PlainCell button handling fix: webhook delete, active change handling

* fix: disable case

* fix: disable case

* fix: update Button styles

* fix: refactor min/max with limit for columns fix: disable filter, groupby for Button Field fix: disable aggregation for Buttons

* fix: hide button field in Filters

* fix: fields menu corrections fix: update menu corrections

* fix: rebase

* feat: support webhook creation from ButtonOptions

* fix: sort related tests

* fix: keep webhook modal open

* fix: ui fixes

* fix: icon duplicate

* fix: syntax highlighing for handlebar fix: disable mascot fix: truncate selected webhook

* fix: sort disable tooltip

* test: button playwright test

* fix: button column duplication

* fix: add error fix: column options

* fix: EditOrAddProvider.vue

* fix: add invalid configuration

* fix: ux corrections

* fix: ux corrections

* fix: error handling fix: clear single query cache on hook delete

* fix: include button type in api

* fix: update overlay styles fix: webhook update

* fix: formula placeholder

* fix: playwright tests

* fix: playwright tests

* feat: refactor formula input

* fix: added more spacing

* fix: no icon text

* fix: lint

* fix: handle invalid url

* fix: handle sort by for button causes issue when button used as lookup

* fix: button field position

* docs: button field

* fix: tooltip correction

* fix: link

* fix: add btn href

* fix: handle some edge cases

* fix: handle some edge cases

* fix: update font color

* fix: add manual trigger docs

* fix: sqlite BaseModel fix

* docs: button share view info

* fix: rebase

* fix: reduce height and added resize support fix: added tooltip if label overflow

* fix: manual hook disable state

* docs: manual trigger details in webhook page

* fix: chevron grey shade to 500

* docs: sample payload for manual trigger

* fix: style update

* fix: pr review comments

* fix: pr review changes

* fix: reactivity issue

* fix: reactivity issue

* fix: filter enabled on button

* fix: reload meta on webhook change

* fix: error handling in formula filter

* fix: handle url error

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-08-14 15:32:19 +05:30
Mert E.
bcc9bc5f9b feat: attachment references (#9215)
* feat: attachment migration

Signed-off-by: mertmit <mertmit99@gmail.com>

* fix: check for SQLite3

Signed-off-by: DarkPhoenix2704 <anbarasun123@gmail.com>

* fix: skip text index for mysql

Signed-off-by: mertmit <mertmit99@gmail.com>

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
Signed-off-by: DarkPhoenix2704 <anbarasun123@gmail.com>
Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
2024-08-14 12:05:03 +03:00
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
Ramesh Mane
f921535cf2 fix(nc-gui): default value update issue if value is 0 (#8857) 2024-06-25 16:55:05 +05:30
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
2640656ddd Nc feat/new field modal (#8578)
* fix(nc-gui): remove field modal title & type selector label

* fix(nc-gui): hide default value input initially

* fix(nc-gui): remove clear icon from default value input

* fix(nc-gui): update email, phone, url column validation settings ui

* fix(nc-gui): add missing validate field condition

* fix(nc-gui): update long text field modal ui

* fix(nc-gui): update default field modal width & enable rich text option

* fix(nc-gui): small changes

* fix(nc-gui): hide default value input only if user clicks on delete icon

* fix(nc-gui): decimal field option ui

* fix(nc-gui): update percent option ui

* fix(nc-gui): small changes

* fix(nc-gui): update field modal switch option alignment

* fix(nc-gui): update date & dateTime field modal options

* feat(nc-gui): add 12, 24 hrs time format option in field modal

* feat(nc-gui): add 12hr time cell format support

* fix(nc-gui): update time cell placeholder according to time format

* fix(nc-gui): field modal default value option visibility issue

* fix(nc-gui): update barcode, qr code field modal option

* fix(nc-gui): field modal expanded json input modal overlay click issue

* fix(nc-gui): currency code option from field modal

* fix(nc-gui): udpate duration option

* fix(nc-gui): date time cell clear icon visibility issue in link record dropdown

* fix(nc-gui): update field modal lookup options

* fix(nc-gui): update user option from field modal

* fix(nc-gui): update rollup option from field modal

* fix(nc-gui): update select field type ui for create column

* fix(nc-gui): update field modal cancel & save btn alignment

* fix(nc-gui): update formula option margin

* fic(nc-gui): update select type option

* fix(nc-gui): small changes

* fix(nc-gui): update links field options

* fix(nc-gui): small changes

* fix(nc-gui): select option border issue

* fix(nc-gui): add new color picker

* fix(nc-gui): update rating field options

* fix(nc-gui): update geodata field options

* fix(nc-gui): geodata option small changes

* fix(nc-gui): add new color picker for select type options

* fix(nc-gui): show only title & field type list if uidt is null

* feat(nc-gui): add 12hrs time support in dateTime cell

* fix(nc-gui): formula suggestion list visibility issue

* fix(nc-gui): reduce formaula suggestion fields icon size

* fix(nc-gui): rich text default value visibility issue in field modal

* fix(nc-gui): update rich text default value bubble menu option

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

* fix(nc-gui): remove example from duration format

* feat(nc-gui): add keyboard navigation support for field list

* fix(nc-gui): update email, url, phone validate text

* fix(nc-gui): update qr & barcode value select input

* fix(nc-gui): pr review changes

* test: update create column test cases

* fix(nc-gui): remove required symbol from field modal inputs

* fix(nc-gui): remove delete default value icon and add cross icon in default input itself

* test: update duration field type test

* fix(nc-gui): update column name & type input shadow

* fix(nc-gui): add hover effect on selected type

* fix(nc-gui): enabel rich text case update

* fix(nc-gui): update select options

* fix(nc-gui): show full time format in edit modal default value

* fix(nc-gui): remove optional placeholder of default value

* fix(nc-gui): instead of removing field type option disable it if it is onlyNameUpdateOnEditColumns

* fix(nc-gui): update links field icons from field modal

* fix(nc-gui): add links options in edit modal

* fix(nc-gui): show links config and disable if it is not editable in edit column mode

* fix(nc-gui): add support to configure date time format for create & last modified type field

* fix(nc-gui): virtual field icon visibility issue if it is edit mode

* fix(nc-gui): disabled edit option from field context menu if column is pk or system column

* fix(nc-gui): update field modal submit btn text

* fix(nc-gui): add shdow on input field in field modal

* fix(nc-gui): disable submit btn if field modal has some warnings

* test: update field add/edit save test case

* test: update links column add/edit test cases

* test: uncomment code

* test: update user field default value update test cases

* test: update select type option default value

* test: update multi field editor test cases

* test: update kanban view add option test cases

* test: update multifield editor test cases

* test: update create column keyboard shortcut test case

* chore(nc-gui): lint

* fix(nc-gui): field modal redio option shadow issue

* fix(nc-gui): update field modal select option color picker btn border radius

* fix(nc-gui): checkbox & rating icon alignment issue

* fix(nc-gui): update field modal formula field

* fix(nc-gui): field modal padding and gap issue

* fix(nc-gui): update set default value font case & font color

* fix(nc-gui): update field modal formula suggestion list ui

* fix(nc-gui): removecolumn create field search list from multifield editor

* fix(nc-gui): add placeholder for lookup & rollup options

* fix: label

* fix(nc-gui): remove placeholder from select type

* fix(nc-gui): remove link type from link field select option

* fix(nc-gui): qr, barcode value field icon issue

* fix(nc-gui): set color picker tab according to active color

* fix(nc-gui): json editor save btn ui changes in edit modal

* fix(nc-gui): disable editing primary key col

* chore(nc-gui): lint

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-31 21:26:57 +05:30
Rohit
eff1bbd077 fix: Gallery View delete using expanded form (#8595)
* fix: gallery view delete using expanded form

* fix: reload table after delete

* refactor: addressed review comments
2024-05-30 11:46:54 +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
4862570e1f fix: avoid duplicate loader on bulk delete 2024-05-03 20:31:07 +00:00
mertmit
5441bcb4c4 fix: bulkDelete with composite keys 2024-04-30 17:12:25 +00:00
mertmit
9e74b682b5 fix: keep hidden fields on undo 2024-03-02 12:31:13 +00:00
Ramesh Mane
4434da23e9 fix: undo redo mm cell copy paste 2024-02-19 03:41:22 +00:00
Ramesh Mane
135efd7e98 fix(nc-gui): bulk delete webhook trigger issue on selecting single row nocodb/nocodb#7511 2024-01-31 06:31:11 +00:00
Ramesh Mane
262af67a66 fix(nc-gui): linting 2024-01-16 10:33:50 +00:00
Ramesh Mane
bc7f38e114 fix(nc-gui): review changes 2024-01-16 10:33:50 +00:00
Ramesh Mane
02eb9139bf fix: review change - extractPk 2024-01-16 10:33:50 +00:00
Ramesh Mane
5eb3dc2c10 fix: oss build fail issue 2024-01-16 10:33:50 +00:00
Ramesh Mane
b348b4d7b4 fix: small changes 2024-01-16 10:33:50 +00:00
Ramesh Mane
46fd690a57 fix: review changes 2024-01-16 10:33:50 +00:00
Ramesh Mane
6f14da6121 fix: lint errors 2024-01-16 10:33:50 +00:00
Ramesh Mane
8c19de9f14 refactor: bulk delete useData fun 2024-01-16 10:33:50 +00:00
Ramesh Mane
b58da30434 fix: oss import module issue 2024-01-16 10:33:49 +00:00
Ramesh Mane
393537b985 fix: lint error 2024-01-16 10:33:49 +00:00
Ramesh Mane
2669747d31 fix: typo error 2024-01-16 10:33:49 +00:00
Ramesh Mane
d6359632b4 feat: added bulk delete for range delete rows 2024-01-16 10:33:49 +00:00
Ramesh Mane
e905cd12a2 feat: added undo redo for bulk delete 2024-01-16 10:33:49 +00:00
Ramesh Mane
c131c0a258 feat: added bulk insert and bulk delete fun 2024-01-16 10:33:49 +00:00
mertmit
97b956f4ee feat: createdBy & lastModifiedBy 2024-01-06 08:47:47 +00:00
Pranav C
3f0811b9a0 fix: confirm data exist in updateRow response and modify 2024-01-04 13:19:23 +00:00
Pranav C
1221d93b04 fix: on update modify lastmodified column in ui from response 2024-01-04 13:19:22 +00:00
Pranav C
2fecdbc7a7 refactor: remove unnecessary code and reload data only if at least one dependant column exist
Signed-off-by: Pranav C <pranavxc@gmail.com>
2024-01-03 01:24:20 +05:30
Pranav C
f5a0b61505 fix: reload data after bulk update 2024-01-02 11:35:00 +05:30
Pranav C
58fb4241f5 fix: reload data after bulk update 2024-01-02 11:33:20 +05:30
mertmit
1e694f1d02 feat: copy & paste user field 2023-12-21 13:21:07 +03:00
Ramesh Mane
4194e1be23 fix: lint error 2023-12-19 14:30:28 +05:30
Ramesh Mane
5288d991e8 fix: group by new record & add new row default value is not reflecting immediately 2023-12-19 14:27:43 +05:30
Muhammed Mustafa
3f500384b0 fix: Fixed skelton loading issue 2023-11-28 11:06:42 +05:30
աɨռɢӄաօռɢ
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
Pranav C
6afc439ffc refactor: rename row to record 2023-10-09 13:53:35 +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