Commit Graph

102 Commits

Author SHA1 Message Date
Pranav C
ea6ce8d27b Miscellaneous fixes and improvements (#9699)
* fix: base icon color in breadcrumb

* fix: allow expanding nested record from expanded form

* fix: focus base lable in tree view on create/delete/load

* fix: avoid allowing deletion of display value

* fix: focus input field if activeElement is div

* fix: text area height issue

* refactor: show app version on hovering nocodb icon

* refactor: focus only if adding new record

* refactor: extract foreign key value for external source
2024-10-25 12:04:34 +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
Ramesh Mane
0fb4c4878d fix(nc-gui): source erd test fail issue 2024-08-07 21:11:14 +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
1a9800c67e Nc feat: audit logs pagination keyboard shortcuts support (#9065)
* feat(nc-gui): add pagination btns tooltip

* fix(nc-gui): move usepagintion to top level

* feat(nc-gui): keybord pagination support in audits

* fix(nc-gui): cannot set properties of undefined (setting 'value')
2024-07-25 07:07:27 +05:30
Ramesh Mane
97e59b1829 fix: Import CSV/Excel/JSON bug in non selected base (#8895)
* fix(nc-gui): use base from props baseId instead of current base in quickImport

* fix(nc-gui): import issue

* fix(nc-gui): external data sources are not visible in data source tab if selected base is not active base

* revet(nc-gui): base audit related changes
2024-07-01 17:31:47 +05:30
Pranav C
d63418f90b fix: db icon alignment in treeview
Signed-off-by: Pranav C <pranavxc@gmail.com>
2024-06-25 14:24:10 +05:30
Ramesh Mane
f940c263ba fix(nc-gui): ai review changes 2024-06-24 08:28:54 +00:00
Ramesh Mane
43295a6e5d fix(nc-gui): reset page when user opens audit from base context menu 2024-06-24 08:28:53 +00:00
Ramesh Mane
12a499abe7 fix(nc-gui): add table border in modal 2024-06-24 08:28:53 +00:00
Ramesh Mane
dfe16c5b34 feat(nc-gui): add new audit logs ui for oss 2024-06-24 08:28:52 +00:00
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
Pranav C
cd735c9be3 fix: pass source reference 2024-06-18 19:06:19 +00:00
Pranav C
17bbfd3532 fix: permission correction 2024-06-18 19:06:19 +00:00
Pranav C
c73b0b62ad fix: proper role extraction 2024-06-18 19:06:17 +00:00
Pranav C
82b89d1ffe fix: middleware corrections 2024-06-18 19:06:17 +00:00
Pranav C
308ee8ddf8 refactor: exception handling and missing permissions 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
d372228080 Nc fix: Misc Design Fixes II (#8461)
* fix(nc-gui): team & settings tab ui fixes

* fix(nc-gui): update sidebar base text color on hover and selected state

* fix(nc-gui): sidebar base, table menu height issue

* fix(nc-gui): sidebar view menu alignment issue

* fix(nc-gui): sidebar view menu height and active state color

* fix(nc-gui): update global search ui

* fix(nc-gui): grid row hover style update

* fix(nc-gui): topbar font weight issue

* fix(nc-gui): team & setting tab user list margin top issue

* fix(nc-gui): workspace icon color issue

* fix(test): update global search test cases
2024-05-11 20:06:11 +05:30
mertmit
8e57d854ac feat: source inline rename 2024-05-09 16:23:00 +00:00
mertmit
056fb915bb fix: show info button on hover 2024-05-09 16:23:00 +00:00
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
Raju Udava
af2c426c9f Nc fix/UI flaws p2 (#8394)
* fix: avoid data reload on field hide & rearrange

* fix: load rollup_function on edit

* fix: hide field if no rollup fn is available

* fix: allowed rollup fns

* fix: multiselect blur on escape

* test: skip wait for update from server for hide field ops

* fix: skip wait for response for field toggle

* fix: disable validation only for hide field

* fix: error handling

* fix: base name missing on dashboard

* fix: replace slash with arrow

* fix: table expand icon & animation

* fix: view chevron

* fix: chevron for base and chevron sizes

---------

Co-authored-by: mertmit <mertmit99@gmail.com>
2024-05-06 11:49:02 +03:00
Ramesh Mane
9cc1f3cb30 Nc Fix: UI improvements - left sidebar (#8244)
* fix(nc-gui); update toolbar menu text grom GroupBy to Group

* fix(nc-gui): move sidebar base, table expand icon to the right side

* fix(nc-gui): sidebar base, table, view menu options padding issue

* fix(nc-gui): add background color for row on hover in grid view

* fix(nc-gui): reduce width of index column

* fix(nc-gui): on hover grid row bg opacity issue

* fix(nc-gui): reduce font size and grid cell height

* fix(nc-gui): sidebar view menu alignment issue on mobile screen

* fix(nc-gui): reduce font size

* fix(nc-gui): set column default width to 180px

* fix(nc-gui): keep only sidebar changes & revert all other changes

* fix(nc-gui): change table icon

* fix(nc-gui): trim base, table, view title while saving it

* fix(nc-gui): increate left sidebar max width

* fix(nc-gui): show truncated base/table/view name until standard end

* fix(nc-gui): oss sidebar base menu options alignment issue

* fix(nc-gui): use valid classname

* fix(nc-gui): sidebar external db source menu ui fixes

* fix(nc-gui): small changes

* chore(nc-gui): lint

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

* fix(nc-gui): trim title while creating base, table, view

* fix(nc-gui): some of the sidebar pw test fail issues

* fix(test): sidebar test fail issue

* fix(test): projectCollaboration test fail issue

* fix(nc-gui): change font size of view menu option view mode chip text

* fix(nc-gui): grayed out create view dropdown plus icon color

* fix(nc-gui): grayed out table icon and reduce width of default view context menu

* fix(nc-gui): remove copyright text from user menu

* fix(nc-gui):  chevron icon and show/hide sidebar icon should be gray in color
2024-04-15 09:11:12 +05:30
Ramesh Mane
aefebe7f3c Nc feat(nc-gui): table action menu dropdown should be same as view action menu dropdown (#8043)
* feat(nc-gui): table action menu dropdown should be same as view action menu dropdown

* fix(nc-gui): PR AI review changes

* fix(nc-gui): PR review changes

* fix(nc-gui): view action menu copy id hover css

* fix(test): update table context menu test cases

* fix(nc-gui): update table context menu

* fix(test): role access pw test fail issue
2024-04-05 11:44:29 +05:30
Ramesh Mane
ca7c01b4c6 Nc feat: update tab title as per view/table/base title (#8017)
* feat(nc-gui): set tab title for view

* feat(nc-gui): update tab title as per view title

* fix(nc-gui): shared view ui break issue

* feat(nc-gui): update shared form view tab title as per form heading

* chore(nc-gui): lint

* fix(nc-gui): tab title update issue when switching from base to view
2024-04-04 19:20:29 +05:30
Ramesh Mane
141a288704 Nc fix(nc-gui): Use control key instead of ctrl from useMagicKeys (#7921)
* fix(nc-gui): use control key instead of ctrl from useMagicKeys

* chore(nc-gui): lint

* chore(nc-gui): lint
2024-03-20 19:55:29 +05:30
IFGGit
62414238ca fix(nc-gui): Hide Rename, Delete, Add record buttons when user doesn't have necessary permissions (#7871)
* fix(nc-gui): Remove tableRename, tableDelete from org level role permissions

For hiding Rename and Delete buttons in table context menu.

* fix(nc-gui): Hide Add record button when user doesn't have dataInsert permission
2024-03-16 14:22:07 +05:30
Ramesh Mane
fe02007f5a Nc fix(nc-gui): select type fields default value update issue (#7864)
* fix(nc-gui): select type fields default value update issue

* chore(nc-gui): lint

* fix(nc-gui): pr review changes #2535

* fix: remove null assertion

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-03-15 12:56:40 +05:30
Ramesh Mane
2899d957ac fix(nc-gui): lint errors (#7857) 2024-03-14 12:50:56 +05:30
Pranav C
50dd31da94 fix: disable default source menu/action options if it's disabled 2024-03-13 20:57:08 +00:00
Ramesh Mane
5baa8da556 fix(nc-gui): revert show base emoji if exist changes 2024-03-12 06:45:01 +00:00
Ramesh Mane
5eabbb77c1 fix(nc-gui): add support to show base emoji if exist 2024-03-12 06:45:00 +00:00
Ramesh Mane
70bde41568 chore(nc-gui): revert unrelated changes 2024-03-12 06:44:59 +00:00
Ramesh Mane
e4c917d3a4 fix(nc-gui): use colour picker for base icon instead of hue picker 2024-03-12 06:44:59 +00:00
Ramesh Mane
21b47e4b28 fix(nc-gui): revert unrelated changes 2024-03-12 06:44:59 +00:00
Ramesh Mane
712f63d737 fix(nc-gui): add role permission for base icon color change 2024-03-12 06:44:58 +00:00
Ramesh Mane
0bff1c2ce2 fix(nc-gui): console errors 2024-03-12 06:44:57 +00:00
Ramesh Mane
c0630b4000 fix(nc-gui): update base icon in cmd k 2024-03-12 06:44:57 +00:00
Ramesh Mane
e3308123f7 fix(nc-gui): rename baseColorPicker component name to baseIconColorPicker 2024-03-12 06:44:56 +00:00
Ramesh Mane
d68c20cf2e fix(nc-gui): error on clicking custom hue option 2024-03-12 06:44:56 +00:00
Ramesh Mane
25dfa89734 feat(nc-gui): add base icon color support 2024-03-12 06:44:55 +00:00
Ramesh Mane
839e93ce33 fix(nc-gui): open view new tab in background on cmd+click 2024-03-11 15:11:25 +00:00
Ramesh Mane
e68b313126 feat(nc-gui): open base/table/view in new tab on pressing cltr & cliking on then 2024-03-11 15:11:25 +00:00
Ramesh Mane
6338f0e256 fix(nc-gui): add loader in all tables tab 2024-03-02 07:32:42 +00:00
Ramesh Mane
9aa44ba127 fix(nc-gui): update icons with nocodb design library 2024-02-07 20:21:19 +00:00
musharaf-nocodb
74da22eeec fix : used kebab syntax for showOnTruncateOnly prop 2023-12-06 13:24:42 +05:30
Mohammed Musharaf
38239a8dd3 fix : added showOnTruncateOnly prop in tooltip component 2023-12-05 19:57:42 +05:30
mertmit
3f7cdfeeaa fix: various leftover stuff
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-12-02 12:20:30 +03:00