Commit Graph

127 Commits

Author SHA1 Message Date
Mert E.
6724fd2f9d chore: sync various (#9864)
* chore: sync various

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

* test: ws scope

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

* fix(nc-gui): ncSubmenu right icon visibility issue

* fix(nc-gui): use viewTypeAlias in all the places

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
Co-authored-by: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
2024-11-20 21:48:09 +05:30
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
DarkPhoenix2704
170c742ab5 fix: update icons. 2024-10-02 05:54:25 +00:00
DarkPhoenix2704
d16fc5b107 fix: color and font size corrections 2024-10-02 05:54:25 +00:00
DarkPhoenix2704
30a5d73d45 fix: design corrections 2024-10-02 05:54:24 +00:00
DarkPhoenix2704
faa688bf3f fix: review changes 2024-10-02 05:54:23 +00:00
DarkPhoenix2704
15910e4cf7 feat: changelog ui 2024-10-02 05:54:21 +00:00
Ramesh Mane
caba1c20a5 chore(nc-gui): lint 2024-09-03 04:18:30 +05:30
Ramesh Mane
02547f5d32 fix(nc-gui): add shadow effect 2024-09-03 04:17:09 +05:30
Ramesh Mane
778f39330c fix(nc-gui): update marketplace modal tab icons 2024-09-03 04:17:09 +05:30
Ramesh Mane
2e06564440 fix(nc-gui): select 1st table by default in upload csv extension 2024-09-03 04:17:09 +05:30
Ramesh Mane
586a85045a fix(nc-gui): import csv error handling part 2024-09-03 04:17:09 +05:30
Ramesh Mane
fea18145c7 Nc fix/UI misc changes (#9354)
* fix(nc-gui): barcode & rollup cell icon stroke issue

* fix(nc-gui): update single select icon

* fix(nc-gui): update `id:` => `FIELD ID:`

* fix(nc-gui): description icon alignment

* fix(nc-gui): field copy id hover effect

* fix(nc-gui): update mfe test case

* fix(nc-gui): update duration icon

* fix(nc-gui): udpate year icon
2024-08-28 09:22:57 +05:30
Ramesh Mane
162a726efd Nc fix(nc-gui): add more integrations in ticketing category (#9355)
* fix(nc-gui): add more integrations in ticketing category

* fix(nc-gui): review changes

* fix(nc-gui): show loader integrations tab

* fix(nc-gui): typo error
2024-08-28 09:14:09 +05:30
Ramesh Mane
e808ef4a15 Nc Fix: Update extension UI as per new design (#9306)
* fix(nc-gui): show extension as floating

* chore(nc-gui): add puzzle icon

* fix(nc-gui): toolbar searchbox auto close issue on clearing input value

* fix(nc-gui): update extension header

* fix(nc-gui): update extension panel as per new design

* fix(nc-gui): update extension icons

* fix(nc-gui): mionr extension panel corrections

* feat(nc-gui): extension reorder support

* fix(nc-gui): extension reorder issue

* fix(nc-gui): extension min height issue

* fix(nc-gui): extension error screen

* fix(nc-gui): extension fullscreen padding

* fix(nc-gui): update extension marketplace modal

* fix(nc-gui): update extension details modal

* fix(nc-gui): some changes

* fix(nc-gui): some review changes

* fix(nc-gui): some review changes

* fix(nc-gui): update extension header

* fix(nc-gui): update extension title input box

* fix(nc-gui): enable extension is cloud

* fix(nc-gui): add extension subtitle support

* feat(nc-gui): allow user to add extension description in markdown file

* fix(nc-gui): add cmdk topbar btn in all screens

* fix(nc-gui): meta.glob() as option deprecated warning

* fix(nc-gui): minor changes

* fix(nc-gui): make cmdk icon smaller

* fix(nc-gui): monor review changes

* misc: alignment & text for desc

* fix(nc-gui): extension review changes

* fix(nc-gui): extension topbar btn ui updates

* fix(nc-gui): update extension header icon size

* fix(nc-gui): use description md file instead of plain text in manifest

* fix(nc-gui): update extension modal size

* fix(nc-gui): cmdk test update

* chore(nc-gui): lint

* fix(nc-gui): minor changes

* fix(nc-gui): update extension details panel gap

* fix: minor alignments

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-08-23 12:29:11 +05:30
mertmit
1ccaf7471c fix: avoid using clashing name for icon
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-08-17 20:27:42 +03:00
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
85d7d0999b Nc feat/api snippets revamp (#9252)
* feat(nc-gui): api snippets new layout setup

* fix(nc-gui): api client tabs

* fix(nc-gui): update api snippet code editor

* fix(nc-gui): api snippets editor flickering issue on changing client

* fix(nc-gui): add api snippets lang icons

* chore(nc-gui): lint

* fix(nc-gui): update font sizes

* fix(nc-gui): update review changes

* misc: ui adjustments

* fix(nc-gui): nocodb-sdk api code issue

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-08-17 10:06:01 +05:30
Ramesh Mane
57c36d9d71 Nc feat: header revamp (#9204)
* fix(nc-gui): update topbar breadcrumb divider

* feat(nc-gui): custom list component setup

* fix(nc-gui): update reload view data tooltip

* feat(nc-gui): custom list component

* feat(nc-gui): add table list menu

* fix(nc-gui): small changes

* fix(nc-gui): add bases list dropdown

* fix(nc-gui): show chevron icon in mobile view

* feat(nc-gui): add view list dropdown in topbar

* fix(nc-gui): auto scroll selected list option on open dropdown

* feat(nc-gui): add typedocs for each fun from custom list component

* chore(nc-gui): add typedocs for new functions

* fix(nc-gui): view search issue on default view

* fix(nc-gui): reset selected option hover state on search input

* fix(nc-gui): font weight issue

* fix(nc-gui): show reload data topbar option

* fix(nc-gui): change view action menu position

* fix(nc-gui): font weight issue

* feat(nc-gui): create new table/view from topbar

* fix(nc-gui): update other page headers

* fix(nc-gui): project view header

* fix(nc-gui): update admin panel workspaces page header

* fix(nc-gui): admin panel base/workspace user page header

* fix(nc-gui): admin panel scroll issue

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

* fix(nc-gui): table list scroll issue

* chore(nc-gui): lint

* fix(nc-gui): reset breadcrumb btn hover state on open dropdown

* fix(nc-gui): review changes

* fix(nc-gui): use slash icon instead of text

* fix(nc-gui): pr review changes

* fix(nc-gui): details tab height issue

* fix(nc-gui): add user account pages breadcrumb

* fix(nc-gui): hide rename view option

* fix(nc-gui): disable scrollIntoView on base rename

* fix(nc-gui): on rename view select text

* fix(nc-gui): user menu overflow issue if sidebar baselist is scrollable

* feat(nc-gui): use virtual scrolling for NcList component

* fix(nc-gui): reduce chevron icon opacity

* chore(nc-gui): lint

* fix(nc-gui): ai review changes

* fix(nc-gui): view rename input focus issue

* fix(nc-gui): topbar width issue

* fix(nc-gui): udpate toolbar height

* fix(nc-gui): update chevron icon from breadcrumb

* fix(nc-gui): update breadcrumb icon size

* fix(nc-gui): add min width for breadcrumb

* fix(nc-gui): add topbar bottom border

* fix(nc-gui): details tab heigth and alignment issue

* fix(nc-gui): hide basename and show only icon

* fix(nc-gui): update NcList component

* fix(nc-gui): update admin panel header

* fix(nc-gui): add header in account settings pages

* fix(nc-gui): add account pages header oss

* fix(nc-gui): udpate max width

* chore(nc-gui): lint

* fix(nc-gui(: reduce topbar top padding

* fix(nc-gui): typo error

* fix(nc-gui): review changes

* fix(nc-gui): review changes

* fix(nc-gui): slash icon conflict

* fix(nc-gui): review changes

* fix(nc-gui): remove chevron icon & add list wrapper div to control height

* fix(nc-gui): ncList keyboard navigation issue

* chore(nc-gui): lint
2024-08-14 15:42:45 +05:30
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
Ramesh Mane
5fbab165e5 Nc fix/integration minor changes (#9184)
* fix(nc-gui): reduce font weight of connection name col cell

* fix(nc-gui): show spinner in edit source modal while loading integration

* fix(nc-gui): show loading spinner in create source, create/edit connection modal

* fix(nc-gui): monor changes

* chore(nc-gui): lint

* fix(nc-gui): remove extra integration pagemode check condition

* fix(nc-gui): update ds test case

* feat(nc-gui): add AI integration category

* fix: move syncDataType and IntegrationCategoryType enum to noco-sdk

* fix(nc-gui): cleanup unused code

* fix(nc-gui): integration list modal open issue from create source modal

* chore(nc-gui): lint

* fix(nc-gui): prevent unnecessarily load integration api calls

* fix(nc-gui): handle reset integration data on base change

* fix(nc-gui): add missing sync pr changes
2024-08-09 12:39:17 +05:30
Pranav C
f8b8bcd02b refactor: review comments and lint
Signed-off-by: Pranav C <pranavxc@gmail.com>
2024-08-08 11:14:01 +05:30
Pranav C
0c8dfa1e0b feat: banner
Signed-off-by: Pranav C <pranavxc@gmail.com>
2024-08-08 01:38:55 +05:30
Ramesh Mane
0787c7e7f4 fix(nc-gui): add solid whatsapp icon for integration 2024-08-07 11:22:41 +00:00
Ramesh Mane
2a2a4c9cf0 Nc fix/integration bug fixes (#9150)
* fix(nc-gui): always show edit connection tab on clicking data source

* fix(nc-gui): show deleted workspace user info in connection list

* fix(nc-gui): show tooltip on hover deleted user details

* fix(nc-gui): some review changes

* fix(nc-gui): sync modal cleanup

* fix: supported docs label

* fix(nc-gui): pg icon issue in data source list

* fix(nc-gui): new integration page ui changes

* fix(nc-gui): handle upvote

* fix(nc-gui): add integration category icons

* fix(nc-gui): add request new integration in other category

* fix(nc-gui): focus request integration input on open

* fix(nc-gui): integration tab left spacing issue

* fix(nc-gui): integration tab list center aligned

* misc: minor changes

* fix(nc-gui): user should able to upvote on cliking tiles

* fix(nc-gui): add remaining integrations

* fix(nc-gui): add missing integration icons

* fix(nc-gui): trigger test connection on adding new connection from create source

* fix(nc-gui): integration list modal ui changes

* fix(nc-gui): remove integration type badge border

* fix(nc-gui): show colored integration icon on hover

* fix(nc-gui): integration upvote btn shadow issue

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

* fix(nc-gui): move logic part in script

* chore(nc-gui): lint

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-08-07 14:53:23 +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
DarkPhoenix2704
8b251ba12b fix: ux fixes 2024-07-25 10:04:17 +05:30
DarkPhoenix2704
de45679d86 feat: pdf viewer with docs support 2024-07-25 10:04:16 +05:30
DarkPhoenix2704
2aa05ebe09 feat: native video player 2024-07-25 10:04:14 +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
46e8e59a74 fix(nc-gui): add search option in dropdown 2024-06-24 08:28:51 +00:00
Ramesh Mane
f57a8574c3 fix(nc-gui): update audit table 2024-06-24 08:28:49 +00:00
Mert E
9cb4411366 fix: missing changes (#8724)
Signed-off-by: mertmit <mertmit99@gmail.com>
2024-06-13 17:14:02 +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
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
Ramesh Mane
575ff920ef Nc fix/shared view UI changes (#8615)
* fix(nc-gui): update shared grid view

* fix(nc-gui): shared gallery view padding issue

* fix(nc-gui): Shared kanban view padding issue

* fix(nc-gui): reduce calender shared view padding

* fix(nc-gui): reduce shared form view padding

* fix(nc-gui): update shared view password modal

* fix(nc-gui): shared view password input error handling

* fix(nc-gui): reduce expanded form modal width if comment section is not present

* fix(nc-gui): small changes

* fix(nc-gui): add export download view in topbar of shared view

* fix(nc-gui): small changes

* fix(nc-gui): add blur bg image for shared view password modal

* fix(nc-gui): download shared view dropdown ui changes

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

* fix(nc-gui): click anywhere in card should open expanded form

* fix(nc-gui): hide action icon on gallery/kanban card hover

* fix(nc-gui): expanded form cell hover effect

* fix(nc-gui): add sign up for free btn in shared view

* test: update shared view test cases

* test: update calendar test cases

* fix(nc-gui): remove readonly prefix from attachment modal

* fix(nc-gui): remove focus border effect if field is readonly

* fix(nc-gui): shared view groupby pagination size should be 10

* fix(nc-gui): remove field modal input shadow if field is disabled

* fix(nc-gui): add shadow on expanded form fields

* fix(nc-gui): calendar shared view background color update

* fix(nc-gui): shared view download btn text color

* fix(nc-gui): update url, link, email grid text color if cell is active and remove hover effect

* fix(nc-gui): pr review changes
2024-06-04 10:04:31 +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
Anbarasu
fb67cafde7 feat: remove calendar top bar (#8379)
* feat: remove calendar top bar

* fix: remove debug logs

* fix: update styles

* fix: update styles

* fix: posthog telementry

* fix: calendar tests

* fix: updates ui

* test: reorder options

* fix: month view - use local time with timezone

* fix: update styles and move components fix: tests

* fix: update styles and move components

* fix: update styles

* test: fix tests

* fix: update toolbar styles

* fix: failing tests

* fix: cmd f search shortcut

* fix: change side menu sizes

* fix: calendar test corrections

* fix(nc-gui): update size logic

* fix(nc-gui): update styles

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

* fix(nc-gui): update toolbar styles

* fix(nc-gui): update select component

* fix: update styles

* fix: calendar test

* fix: ux changes

* fix: final changes

* fix: calendar tests
2024-05-14 11:47:08 +05:30
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
Ramesh Mane
f85240848d Nc feat/form validation (#8409)
* feat(nc-gui): custom validation setup

* fix(nc-gui): custom validation table rounded issue

* fix: add custom field validation type

* fix(nc-gui): updated custom validator

* feat(nc-gui): custom validation working state

* fix(nc-gui): udpate default warning msg

* chore(nc-gui): lint

* fix(nc-gui): grayed out errors if input is focused

* fix(nc-gui): input ring issue

* fix(nc-gui): increase max height of validator select dropdown

* fix(nc-gui): validator select dropdown item text color

* fix(nc-gui): regex validation condition update

* fix(nc-gui): add missing string validation types

* fix(nc-gui): remove unwanted code

* fix(nc-gui): move custom validation to ee

* refacor(nc-gui): form view code

* refactor(nc-gui): separate out formviewstore for ce & ee

* fix(nc-gui): move all validations to another file

* feat(nc-gui): add validation input component

* feat(nc-gui): add time, month types

* fix(nc-gui): add form field limit validations

* fix(nc-gui): add limit link record validation

* fix(nc-gui): add phonenumber & url validation type

* feat(nc-gui): add email, url & phone number validators

* fix(nc-gui): non working phone, email, url validation

* chore(nc-giu): lint

* feat(nc-gui): add attchment type validation

* chore(nc-gui): lint

* fix(nc-gui): add form field validation in shared form

* fix(nc-gui): add form field validation in shared form oss

* fix(nc-gui): oss validation conflict

* fix(nc-gui): enter number validation function

* fix(nc-gui): add config validators

* fix(nc-gui): validation config error handling

* fix(nc-gui): placeholder issue

* fix(nc-gui): custom validation config error handling

* fix(nc-gui): allow negative value validation

* fix(nc-gui): add tooltip for required field switch

* fix(nc-gui): refactor field validation from builder side

* chore(nc-gui): lint

* fix(nc-gui): update number validation logic

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

* fix(nc-gui): small changes

* fix(nc-gui): required field validation issue

* fix(nc-gui): allow click on title to enable field config

* feat(nc-gui): business email validation support

* fix(nc-gui): add remove image btn in cell itself

* fix(nc-gui): small changes

* fix(nc-gui): survey form required field validation issue

* fix(nc-gui): error field border issue

* fix(nc-gui): currency validation input cell prefix issue

* fix(nc-gui): remove console

* chore(nc-gui): lint

* fix: information text

* fix(nc-gui): remove contains & doesn't contain option from phone number custom validation

* fix(nc-gui): attachment merge conflict

* fix(nc-gui): attachment cell expand btn size

* fix(nc-gui): PR review changes

* fix(nc-gui): lint

* fix(nc-gui): updated form config heading text color

* fix(nc-gui): small changes

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-05-09 22:17:50 +05:30
Mert E
838c716a08 fix: sorter UI (#8393)
* feat: use inline sorter instead of dropdown

* chore: lint

* fix: comparison logic for useUserSort
2024-05-04 23:37:58 +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
Mert E
d46b60d92e feat: extensions (#8303)
* feat: extensions

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

* chore: sync

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

---------

Signed-off-by: mertmit <mertmit99@gmail.com>
2024-04-19 21:09:30 +05:30
Ramesh Mane
90a295901e Nc fix: Update user menu dropdown icons (#8198)
* fix(nc-gui): updated user menu icon

* fix(nc-gui): remove copy auth token option and update user menu icons

* chore(nc-gui): lint

* fix(nc-gui): use computed value for switch size
2024-04-08 16:42:57 +05:30
Pranav C
0e13bff899 Nc feat/one to one (#7915)
* feat: one-to-one relation - wip

* feat: one-to-one relation

* feat: one-to-one relation - link, unlink, list, excluded list, single query

* fix: pass proper fk value

* feat: add non-single-query support

* feat: filter, sort and delete

* fix: ui - keep only one as linked record in ui - similar to bt

* fix: initial column name correction

* fix: field modal related fixes

* fix: nested insert related bugs

* fix: nested insert corrections

* fix: formula support

* fix: delete cell data

* fix: invalid offset issue

* fix: form submit issue

* fix: return first element - oo relation

* fix: Lookup column rendering

* fix: add link api correction

* fix: sort and group by menu correction

* chore: lint

* refactor: spacing between radio buttons

* fix: undo/redo support with delete key

* fix: formula related issues

* fix: duplicate related issues

* fix: ui label and icon color

* chore: lint

* chore: reset page if offset is beyond offset(temporary solution)

* refactor: suggested review changes

* refactor: suggested review changes

* chore: lint

* fix: missing await

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

* refactor: add comments

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

---------

Signed-off-by: Pranav C <pranavxc@gmail.com>
2024-03-20 17:50:52 +05:30
Ramesh Mane
2cd0a1c74a Nc feat/survey form v2 (#7843)
* fix(nc-gui): survey form v2 setup

* fix(nc-gui): survey form ui updated

* fix(nc-gui): survery form ui changes for oss

* chore(nc-gui): lint

* chore(nc-gui): lint

* chore(nc-gui): revert unrelated changes

* test(nc-gui): update pw test of survey form

* fix(nc-gui): update survey form according to new design

* fix(nc-gui): add survey form slide animation

* fix(nc-gui): hide survey form pagination in first slide

* fix(nc-gui): optimize shared form for mobile screen

* chore(nc-gui): lint

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

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

* fix(nc-gui): add placeholder for datetime related fields

* fix(nc-gui): allow upload same file next time

* fix(nc-gui): gallery image display issue nocodb/nocodb/issues/7851

* chore(nc-gui): lint

* fix(nc-gui): survey form ui changes for oss

* fix(nc-gui): use i18n for survey form

* fix(nc-gui): use keydown space for date, datetime fields to open modal in survey form
2024-03-14 12:25:56 +05:30
DarkPhoenix2704
3d8c267b79 feat(nc-gui): new field icons 2024-03-05 12:05:46 +00:00
Ramesh Mane
c37e441ed4 chore(nc-gui): lint 2024-03-02 07:32:41 +00:00
Ramesh Mane
02a4b8e48c feat(nc-gui): rich text setup in form field 2024-03-02 07:32:37 +00:00