Commit Graph

61 Commits

Author SHA1 Message Date
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
Anbarasu
480ec51953 maintenance ui (#8909)
* feat: maintenance alert ui

* fix: add dayjs advanced plugin
2024-07-05 15:20:33 +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
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
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
Ramesh Mane
4128c7f01b Nc fix: gallery, kanban view cover image load issue if column is hidden (#8290)
* fix(nc-gui): gallery, kanban view cover image load issue if column is hidden

* chore(nc-gui): lint

* fix(nocodb): delete single query cache on update view card cover image

* chore(nc-gui): lint
2024-04-17 22:48:27 +05:30
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
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
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
Ramesh Mane
839e93ce33 fix(nc-gui): open view new tab in background on cmd+click 2024-03-11 15:11:25 +00:00
Pranav C
f919dd9744 feat: EE trial implementation 2024-02-20 09:02:47 +00:00
mertmit
4122b27968 fix: rel for links 2024-02-15 08:51:25 +00:00
Ramesh Mane
ed3d134ac9 feat(nc-gui): added keyboard shortcuts setup for oss 2024-01-25 12:47:33 +00:00
musharaf-nocodb
692cbed318 fix : changed min width for langugage options 2023-12-11 12:30:10 +05:30
աɨռɢӄաօռɢ
8512e9b440 chore(nc-gui): lint 2023-12-06 22:23:45 +08:00
Muhammed Mustafa
c145d58fff fix: Improved join cloud btn 2023-12-04 07:14:29 +00:00
Muhammed Mustafa
8a43c440c7 fix: Added new join cloud btn 2023-12-04 07:14:29 +00:00
աɨռɢӄաօռɢ
5f7d63c85b fix(nc-gui): runtime directive warnings in UserInfo.vue 2023-11-13 12:54:13 +08:00
Pranav C
0ab5e2de26 refactor: add rel tag when opening links in new tab using _blank 2023-11-08 09:52:16 +00:00
Muhammed Mustafa
635113613a fix: Cleanedup GeneralUserIcon 2023-10-31 12:18:00 +05:30
Muhammed Mustafa
c0ad5b34f1 fix: Renamed Add base to Create Base 2023-10-30 05:26:26 +00:00
Pranav C
3ee2d57c6c refactor: add divider in sidebar bottom menu
Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-10-23 14:26:59 +05:30
աɨռɢӄաօռɢ
1696ec55a2 chore(nc-gui): lint 2023-10-22 23:26:10 +08:00
Pranav C
97da500c88 feat: add forum link 2023-10-20 18:34:39 +00:00
sreehari jayaraj
b761f16fef fix: icon size of user 2023-10-04 15:43:26 +05:30
sreehari jayaraj
6e777b42e1 fix: refactor css and icon 2023-10-04 12:50:06 +05:30
WK Wong
8f09668d0f fix(nc-gui): lint issues 2023-10-03 11:31:26 +08:00
Pranav C
e790abdbaf refactor: rename project and base
- Rename `Project`  => `Base`
- Rename `Base` => `Source`
- Remove `db` from data/meta api endpoints
- Add backward compatibility for old apis
- Migrations for renaming table and columns

Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-10-02 23:52:18 +05:30
DarkPhoenix2704
1231b0a209 feat: sync 2023-10-02 18:27:05 +05:30
Muhammed Mustafa
9bfa6050f6 fix: Added events for User info 2023-10-02 11:43:05 +00:00
Muhammed Mustafa
3ad288aece fix: Added events for User info 2023-10-02 11:43:04 +00:00
Muhammed Mustafa
cadc189d9e fix: Added Sidebar top actions 2023-10-02 11:43:04 +00:00
Muhammed Mustafa
0e5a7937cd fix: Added left sidebar events 2023-10-02 11:43:04 +00:00
Muhammed Mustafa
71f4d9d1f4 Merge remote-tracking branch 'origin/develop' into fix/i8n 2023-09-28 13:00:27 +05:30
Muhammed Mustafa
9262662a17 fix: i18n for UserDropdowna and Sidebar Header 2023-09-28 11:43:28 +05:30
Muhammed Mustafa
12419d7a0d fix: Fixed View style for mobile view 2023-09-28 04:27:00 +00:00
Muhammed Mustafa
b93f243234 feat: Rebase issue 2023-09-25 13:39:10 +00:00
Muhammed Mustafa
fe70cca89a feat: Renamed windy screen name from sm to xs 2023-09-25 13:39:09 +00:00
Muhammed Mustafa
7663ef9f14 feat: Added logic to auto close and open sidebar on mobile view based on if view is open, imrpoved nodes of sidebar in mobile, and workspace menu handles for mobile view 2023-09-25 13:39:09 +00:00
Muhammed Mustafa
34e1b0ab1a feat: Added windi css screen and removed a good portion of conditional class for mobile 2023-09-25 13:39:09 +00:00
Muhammed Mustafa
f97ae99bb8 feat: Fixed sidebar expand issue in mobile, handles different topbar size for desktop and mobile, added changes to NcButton, layouts 2023-09-25 13:39:09 +00:00
Muhammed Mustafa
cbae02cbbb feat: Added config pinia store and integared isMobileMode with UI 2023-09-25 13:39:08 +00:00
Muhammed Mustafa
40fb5f642d feat: Manrope font integrated 2023-09-23 11:12:33 +00:00
Muhammed Mustafa
844f89c683 feat: Manrope font integrated 2023-09-23 11:12:33 +00:00
Muhammed Mustafa
3b1f76da75 fix: Fixed sidebar node context menu based on ACL and added tests for it based on roles 2023-09-22 15:21:22 +05:30
wkw
c5b986d7ff chore(nc-gui): lint & remove unused imports 2023-09-22 13:34:17 +08:00
Raju Udava
53fad1916b Merge pull request #6428 from nocodb/feat/cloud-btn
feat(nc-gui): cloud button ui update
2023-09-21 15:35:31 +05:30
mertmit
04bfbc97cb fix: use permissions for workspace ops 2023-09-20 19:11:43 +00:00
reenphygeorge
4319b990eb fix(nc-gui): reduced gap 2023-09-20 14:27:59 +05:30