Commit Graph

89 Commits

Author SHA1 Message Date
Ramesh Mane
e8827a1ded chore(nc-gui): lint 2025-06-19 03:31:01 +00:00
Ramesh Mane
f38b1d3ff1 fix(nc-gui): cleanup and some oss missing files 2025-06-19 03:31:01 +00:00
Fendy Heryanto
e02b80178b refactor to use provider injection 2025-06-19 03:30:56 +00:00
Ramesh Mane
e764a57868 fix(nc-gui): rename variable 2025-06-07 12:08:35 +00:00
Ramesh Mane
6ab32cd16d fix(nc-gui): some review changes 2025-06-07 12:08:35 +00:00
Fendy Heryanto
4d68c1bb92 initial dev for user @me 2025-05-22 18:58:45 +00:00
Ramesh Mane
6f4d7eba39 feat(nc-gui): minisidebar 2025-05-17 06:31:46 +00:00
Ramesh Mane
7e3310b617 feat(nc-gui): form view logo feature badge 2025-04-15 05:53:17 +00:00
DarkPhoenix2704
be4324d65c fix: links reload the view 2025-04-10 03:52:13 +00:00
DarkPhoenix2704
a2fd971b64 fix: aggregations more changes wip 2025-04-10 03:52:06 +00:00
Pranav C
6e0e726164 fix: alignment correction 2025-03-17 19:19:51 +00:00
Ramesh Mane
de06a40f87 fix(nc-gui): review changes 2025-03-15 13:32:53 +00:00
Ramesh Mane
482b84cfb4 fix(nc-gui): nested same record update issue 2025-03-15 13:32:53 +00:00
Ramesh Mane
6e840015cc fix(nc-gui): console warnings 2025-03-11 19:25:19 +00:00
Ramesh Mane
e05b6b7104 fix(nc-gui): expand canvas longtext cell on shift+space 2025-03-11 19:25:18 +00:00
Raju Udava
ee290092bc Merge pull request #10749 from nocodb/nc-fix/link-record-changes
Nc Fix: Only display value field info is visible in link record dropdown of form view
2025-03-08 17:21:21 +05:30
Ramesh Mane
1a06c0af66 fix(nc-gui): Allow expand cell option for formula field when content length is more 2025-03-08 11:26:37 +00:00
Ramesh Mane
542820f096 fix(nc-gui): show extra fields in form link record dropdown 2025-03-08 07:00:38 +00:00
Amit Joki
af5400bc3e feat: use common context to indicate page designer extension active state 2025-02-28 16:10:04 +00:00
Amit Joki
739995cd5d feat: escape should close year picker and turn to select state 2025-02-17 13:11:45 +00:00
Amit Joki
dc0f136c72 feat: use injected key data to populate date, time, date time, and year fields 2025-02-17 13:11:44 +00:00
Pranav C
a6f06d7485 fix: column delete 2025-02-17 13:11:21 +00:00
Amit Joki
e10768f46f feat: get element under mouse position to determine the action to take 2025-02-17 13:10:58 +00:00
Amit Joki
633fe75f3c feat: use isCanvasInjection for barcode and qrcode 2025-02-17 13:10:56 +00:00
Amit Joki
c19a5af09e feat: use onDivDataCellEventHook 2025-01-25 13:53:59 +00:00
Ramesh Mane
4fbd508a15 feat(nc-gui): add onDivDataCellEventHook 2025-01-25 13:53:59 +00:00
DarkPhoenix2704
6474cd4b0b feat: automations ui changes 2025-01-10 16:10:57 +00:00
Raju Udava
d4c8849823 Nc feat/expanded form discussion mode (#10212)
* feat (nc-gui): discussion mode structure

* feat (nc-gui): expanded form discussion mode render audits and comments

* fix (nc-gui): refactor different entries in discussion

* fix (nc-gui): expanded form discussion mode use rich comments

* fix (nc-gui): expanded form discussion mode implement new ui looks

* fix (nc-gui): expanded form discussion mode comment actions

* fix (nc-gui): comments list start from bottom

* fix (nc-gui): expanded form discussion mode better grouping logic

* feat (nc-gui): discussion view ui latest polish and mocks

* chore (nc-gui): lint

* fix (nc-gui): expanded form discussion mode audits list wiring

* fix (nc-gui): expanded form discussion mode audits preview attachments

* fix (nc-gui): expanded form discussion mode audits in the right sidebar tab

* fix (nc-gui): expanded form discussion mode remove unused declarations

* fix (nc-gui): expanded form discussion mode remove duplicate rendering

* fix (nc-gui): expanded form discussion mode refactor to remove duplication

* fix (nc-gui): expanded form discussion mode use Cell component to render data based on colOptions and meta

* fix (nc-gui): expanded form discussion mode use proper types

* fix (nc-gui): expanded form discussion mode lint

* fix (nc-gui): expanded form discussion mode normalize meta and spacings

* fix (nc-gui): expanded form discussion mode save expanded form mode to discussion

* fix (nc-gui): expanded form discussion mode use cell component for mini audits

* fix (nc-gui): expanded form discussion mode small fix

* fix (nc-gui): discussion mode records audit ui polishes

* fix (nc-gui): records audit items polishes

* fix (nc-gui): records audit conditional raw rendering for date/time type cells

* fix (nc-gui): records audit ui polishes

* fix (nc-gui): records audit diff the changed values

* fix (nc-gui): records audit better text wrap and json scrollbar

* chore (nc-gui): mock change to run ci

* fix (nc-gui): records audit text diff and link ui polish

* fix (nc-gui): records audit polish links ui

* chore (nc-gui): records audit lint

* fix (nc-gui): handle v0 type audit information

* fix (nc-gui): move records audit under a feature flag

* fix (nc-gui): lint

* refactor: enable audit in CE

* fix(nc-gui) : v0 audit rendering issue

* fix (nc-gui): records audit correctly load after refresh when expanded record is open

* fix (nc-gui): records audit code polishes

---------

Co-authored-by: Yoones Khoshghadam <yooneskh@gmail.com>
Co-authored-by: Pranav C <pranavxc@gmail.com>
2025-01-10 17:19:11 +03:00
Ramesh Mane
dd7ce4c676 fix(nc-gui): rename table from context menu issue 2024-12-26 20:19:02 +00:00
Ramesh Mane
30dd4abcd7 fix(nc-gui): inline table rename validation issue 2024-12-26 20:19:01 +00:00
DarkPhoenix2704
c0dd153ea8 feat: snapshot ui and move misc settings to base tab 2024-11-28 14:47:57 +00:00
Anbarasu
04f49c13d8 feat: infinite scroll (#9403)
* feat: infinite scroll wip

* feat: implement column create

* feat: improve scroll performance and minor bugs

* fix: optimize cache clear fix: preserver selected items from cache clear

* feat: add keyboard support

* fix: get rid of unwanted data

* feat: infinite scroll

* fix: reload visible data

* fix: rowIndex Sync

* fix: row height fix

* fix: performance issues

* fix: small issues

* fix: stablize scrolling

* fix: scroll fails to load new data

* fix: best part is no part remove bunch of manual handling and move to computedProperty

* fix: load data as chunks instead of offset

* fix: deboucne 500 ms

* feat: safe chunk clearing

* feat: working infinite table(wip)

* fix: handle delete selected range of rows

* fix: update types

* fix: nuxt warnings

* fix: table fixes

* feat: undo-redo support for infiniteTable

* fix: fix addEmptyRow

* fix: groupby fixes

* fix: refactor visibleDtaa computed

* fix: cache clear

* fix: invalid offset error

* fix: add empty row elem

* fix: rows not loading at end

* fix: refactor

* fix: more tests passing

* fix: perf optimizations

* fix: couple tests

* fix: row height tests

* fix: row height tests

* fix: row height tests

* fix: sync row comment count

* fix: fixes

* fix: lot of tests

* fix: update the row placeholder columns size calculation

* fix: update the totalRows on loadData

* fix: tests when count is 0

* fix: hide placeholder if rowHeight is small

* fix: not required imo as infinite scroll is implemented

* fix: links tests

* fix: filter tests

* fix: insert after test fix: Row: Create, Update, Delete fix: Row height fix: Create column tests

* fix: error, timezone bug fix: shared view data not loading after 100

* fix: ignore shifting. this fixes errors in rows, which has some mandatory required cells

* fix: keyboardShortcuts test

* fix: project collaboration test

* fix: increase local cache fix: records empty on switching to full screen mode fix: links issue on new records

* fix: row and col margin for improved data rendering

* fix: addEmptyRow to table bottom

* fix: update gridShare test fix: shared view grid feat: new count endpoint public

* fix: undo-redo test failing

* fix: bulkUpdate chore: disabled bulkUpdate tests for now

* fix: slow searchBtn

* fix: limit max selection

* fix: limit selection to 100

* fix: initial chunk load to 100

* fix: couple fixes

* fix: couple fixes

* fix: row expand

* fix: scrollto Top and scrollTo Bottom on Shift Cmd Down/Up

* fix: drop support for cmd A

* fix: failing tests

* fix: error on clicking resize col

* fix: premature fetching

* fix: deleteSelected not working properly

* fix: test build

* fix: test build

* fix: throttled 500

* fix: scroll related issues fix: added transitions

* fix: scroll related issues

* fix: decrease col margin

* fix: increase local cache and update Buffer

* fix: decrease throttle

* fix: improve scroll performance

* fix: improve scroll performance

* fix: improve scroll performance

* fix: fixes

* feat: beta toggle show

* feat: beta toggle show

* fix: hold scroll action

* fix: sync visible data reloadVisibleDataHook

* fix: refactor useBetaFeatureToggle fix: useMultiSelect in table

* fix: dynamically reduce margin while loading records

* fix: some bugs

* fix: data loading in infinitescroll

* fix: shared view and search issues

* feat: betaToggles menu

* fix: scroll showing up in aggregation

* fix: text

* fix: implement shifting in addEmptyRow

* fix: calculate slices on rowHeight modified

* fix: keep invalid cells until another row selected

* fix: remove row if filter gets failed

* fix: update styles

* fix: move filter handling to nocodb-sdk

* fix: user field filter

* fix: sort order

* fix:user field sorting

* fix: update virtual cols

* fix: updated sort handling

* fix: updated sort handling

* fix: updated sort handling for bulkUpdate and undo-redo

* fix: unit tests

* fix: deleteSelectedRecords fails

* fix: chunkstates errors

* fix: sort bugs

* fix: scroll position

* fix: delete selectedrange of records

* fix: improved chunk management

* fix: sync toggle states across tabs

* fix: sync between tabs

* fix: limit issues

* fix: update issues

* fix: zIndex

* fix: minor fixes

* fix: cmd arrow issue

* fix: bulkdelete index issues

* fix: empty rows at top

* fix: queue add new record behaviour

* fix: resolve rowObj addEmptyRow

* fix: typo

* fix: clear indexes

* fix: reload if width is zero

* fix: manual handling

* fix: remove console

* fix: prefetch when scroll from below

* fix: refactor fixes

* fix:undo-redo with sort

---------

Co-authored-by: mertmit <mertmit99@gmail.com>
2024-11-08 11:38:47 +05:30
Ramesh Mane
e244718afa fix(nc-gui): show field name alias in conditional field config dropdown (#9640) 2024-10-11 20:55:16 +05:30
Ramesh Mane
93734e5b03 Nc feat: form view conditional fields (#9433)
* chore(nocodb): add fk_parent_column_id in filter schema

* feat(nocodb): form view field level filter support

* fix(nc-gui): add migration for `fk_parent_column_id` filter property

* fix: add support to fetch all view filters

* fix(nc-gui): filter castType issue

* fix(nc-gui): form field title autofocus issue

* fix(nc-gui): small changes

* fix(nc-gui): update local form view filter on updating filter

* fix(nc-gui): add validate field visibility function

* fix(nc-gui): toggle eye icon based on field conditional visibility

* fix(nc-gui): show tooltip on hover form field visibility icon

* fix(nc-gui): show unique errors

* fix(nc-gui): sort form view field issue

* fix(nc-gui): add error handleling in form conditional field

* fix(nc-gui): validate field on reorder

* fix(nc-gui): disable add new filter if form field is first

* fix(nc-gui): disable undo redo filters in form view

* fix(nc-gui): move form filter class to ee

* fix(nc-gui): prevent unwanted api call on form field select

* fix(nc-gui): remove unwanted console

* feat(nc-gui): shared form view conditional fields

* fix(nc-gui): form filter cache issue

* fix(nc-gui): delete form filters by fk_parent_col_id

* fix(nc-gui): form view duplicate filters

* fix(nc-gui): column meta copy issue while duplicating form view

* fix(nc-gui): review changes

* docs: show on conditions

* fix(nc-gui): remove merge conflict code part

* fix(nc-gui): show first validation error in visible form columns on hover over config error

* fix(nc-gui): form view filter validate link field issue

* fix(nc-gui): duplicate form column filters on duplicating table

* fix(nc-gui): rename form field filters label to conditions

* fix(nc-gui): minor changes

* chore(nc-gui): lint

* fix(nocodb): migration conflict issue

* fix(nc-gui): currency field ui issue in filter input

* fix(nc-gui): rating field overflow issue in filter menu

* fix(nc-gui): form conditional field oss visibility issue

* test(nc-gui): form conditional field test

* fix(nc-gui): typo error

* chore(nc-gui): lint

* fix(nc-gui): filter input width issue

* fix: pw test fail issue

* fix(nc-gui): update pw test

* fix(nc-gui): show field field config error in form field list

* fix(nc-gui): grayed out form field list icon color

* fix(nc-gui): give precedence to hidden pre-filled fields over conditional fields

* fix(nocodb): use string type instead of any

* fix(nocodb): typo mistake

* fix(nocodb): use stringifyMetaProp instead of JSON.stringify

* fix(nc-gui): remove lazy loading from child components of form field settings

* fix(nc-gui): increase gap between plus & delete btn from group filter menu

* fix(nc-gui): max callstack issue after adding group filter from form view

* fix(nc-gui): increase min width of filter dropdown in form view

* chore(nc-gui): lint

* fix(nc-gui): required virtual field validation issue in shared form

* fix(nc-gui): delete conditionally hidden field data while submiting form

* fix(nc-gui): handle bt or oo cell conditional field validation issue

* chore(nc-gui): lint

* fix(nc-gui): new is utils file function name conflicts

* fix(nc-gui): remove console

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-09-17 16:15:53 +05:30
Anbarasu
44ef0dc485 feat: field, table and view descriptions (#9256)
* feat: table description wip

* fix: swagger update

* fix: wip descriptions view

* feat: field, view, table descriptions

* fix: failing tests

* fix: allow description edit for schema read-only sources

* fix: add missing condition

* fix: ux changes fix: duplicate service didn't copy descriptions

* fix: long text default value update

* fix: add new line for long text

* fix: include labels for table and view description update

* fix: workaround without breaking all tests

* fix: update swagger types and tests fix

* fix: source restriction tests

* fix: pr review changes

* fix: updated icons

* fix: updated tooltip positions fix: minor corrections

* fix: invalid description length

* fix: update focus on tables

* fix: add shared view descriptions

* fix: title is missing
2024-08-17 19:07:22 +05:30
Ramesh Mane
64baa55d59 fix: Extensions TBD work items (#8986)
* fix(nc-gui): min max width of extension

* fix(nc-gui): extension panel colors and padding issue

* fix(nc-gui): extension list item header ui changes

* feat(nc-gui): add search extension functionality in marketplace modal

* fix(nc-gui): extension details modal ui changes

* fix(nc-gui): truncate extension name

* feat(nc-gui): search extension in sidebar

* fix(nc-gui): extension modal overflow issue

* fix(nc-gui): set min width for extension sidebar

* chore: change min & max width for pane

* fix(nc-gui): truncate add extension btn text

* fix(nc-gui): add hide extensions btn inside sidebar

* fix(nc-gui): padding issue

* chore(nc-gui): added comment to debug in staging

* fix(nc-gui): sidebar fluctuation issue on changing table

* fix(nc-gui): base extension load issue

* fix(nc-gui): show only icons in toolbar menu if their is no enough space

* fix(nc-gui): pr review changes

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-07-13 14:55:30 +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
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
Pranav C
76ff5594d1 fix: pass source reference where it's missing 2024-06-18 19:06:17 +00:00
Pranav C
5d8b1fc55a feat: restrict data/meta operations in gui 2024-06-18 19:06:17 +00:00
Ramesh Mane
b5962ad591 Nc test/form view validations (#8548)
* fix(nc-gui): bulk update field header issue

* test: add custom validation test cases

* test: add custom validation test cases

* test: custom validation all type test cases

* test: add email, phone number validation test cases

* test: fix form fill textarea issue

* test: add form validation shared view test cases

* test: add survey form custom validation test cases

* test: add limit to range survery form test cases

* test: add attachment validation survey form test cases

* chore(nc-gui): lint
2024-05-25 06:42:31 +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
Pranav C
2ee3edee58 Nc feat/user management (#8369)
* fix: source filter

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

* feat: sso cloud apis - WIP

* feat: admin panel menu option

* feat: UI integration - WIP

* feat: UI integration - SSO

* feat: domain verification

* feat: workspace upgrade and sso page - WIP

* feat: domain adding and verification - WIP

* feat: domain adding and verification

* fix: domain validation corrections

* chore: lint

* feat(nc-gui): organization settings page

* feat(nc-gui): organization members page

* fix(nc-gui): some more changes

* fix(nc-gui): refactor collaborators ui

* feat(nc-gui): dashboard ui

* feat(nc-gui): bases page

* feat(nocodb): wired up ui and apis. wip

* fix(nc-gui): some more fixes

* fix(nc-gui): move ws to org immediately after creation

* fix(nc-gui): some more bug fixes

* feat(nocodb): transfer workspace ownership

* fix(nc-gui): load roles if baseId is provided in prop

* fix(nc-gui): show only org workspaces

* fix(nc-gui): some more fixes

* fix(nc-gui): rename base

* fix(nc-gui): invite fixes

* feat: restrict access to org level user(SSO login)

* fix: include org and client info in token

* fix: include org and client info in refresh token

* refactor: minor ui corrections

* refactor: add a generic component for copying

* refactor: ui correction and cleanup

* fix: refresh token update

* fix: ui corrections

* fix: if user signin using unverified domain show error in sso page rather than showing the json with error

* fix: for all sso related exceptions redirect to sso ui page with error

* chore: lint

* fix: show admin panel option only for user who have permission

* fix: redirect to sso login page on logout based on current user info

* test: sso - playwright test

* fix: duplicate attribute

* test: playwright

* fix: missing import

* test: playwright - WIP

* test: playwright - Cloud sso login flow

* fix: error handling

* test: playwright - sso auth flow tests

* fix: show upgrade option only for workspace owner

* test: user invite tests corrections

* test: user invite tests corrections

* test: user management correction

* test: playwright - use regex for path match

* fix: delete existing provider if any

* test: combine sso tests to run serially

* test: playwright - title name correction

* test: playwright - reset sso client from sso tests only

* test: playwright - page navigation correction

* refactor: by default navigate to org settings page on org creation and disable org image upload

* refactor: reverify domain after 7 days and update role names to avoid confusion between  org and cloud org roles

* fix: corrections

* fix: show org level roles in members section

* refactor: disable org update by default

* test: unit tests for org admin apis

* chore: lint

* fix: review comments

* chore: lint and cleanup

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
Co-authored-by: mertmit <mertmit99@gmail.com>
Co-authored-by: DarkPhoenix2704 <anbarasun123@gmail.com>
2024-05-01 11:39:22 +05:30
DarkPhoenix2704
699266e195 feat(nc-gui): calendar view sidebar 2024-02-20 07:15:42 +00:00
DarkPhoenix2704
55f9a0b82b feat(nc-gui): create calendar view 2024-02-20 07:15:41 +00:00
Ramesh Mane
3579ff23d6 fix(nc-gui): small changes 2024-02-02 06:23:57 +00:00
Ramesh Mane
7f05a7b095 fix(nc-gui): search in table by fields nocodb/nocodb#7501 2024-02-02 06:23:56 +00:00
Ramesh Mane
53a31efc96 fix: group by lookup groupHeaderLabel height changes as row height change 2024-01-04 11:07:53 +00:00
mertmit
5062803ad6 chore: various fixes 2023-10-09 21:03:37 +05:30
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