Commit Graph

96 Commits

Author SHA1 Message Date
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
Ramesh Mane
0e1bff094f chore(nc-gui): lint 2024-02-29 12:23:01 +00:00
DarkPhoenix2704
870790b71f fix(nc-gui): field followup 2024-02-28 10:11:39 +00:00
Raju Udava
291c8a61cb Merge pull request #7673 from nocodb/nc-calendar/field-followup
feat(nc-gui): calendar field customization
2024-02-27 21:53:14 +05:30
Ramesh Mane
081e57370b feat(nc-gui): add form select type field option limit 2024-02-27 12:39:20 +00:00
DarkPhoenix2704
c49671cacc fix(nc-gui): field followup 2024-02-27 11:33:46 +00:00
Ramesh Mane
7375cd657c chore(nc-gui): lint 2024-02-24 14:42:30 +00:00
Ramesh Mane
57434316a0 chore(nc-gui): add crop icon 2024-02-24 14:42:29 +00:00
Ramesh Mane
5e5a5bb56e chore(nc-gui): lint 2024-02-22 16:17:38 +00:00
աɨռɢӄաօռɢ
19e26fa4cc chore(nc-gui): lint issues 2024-02-22 00:27:17 +08:00
Raju Udava
ef676ad1e6 Merge pull request #7611 from nocodb/nc-feat/calender
feat: Calendar View
2024-02-21 12:20:32 +05:30
Pranav C
f919dd9744 feat: EE trial implementation 2024-02-20 09:02:47 +00:00
DarkPhoenix2704
f38d538dac fix(nc-gui): sidebar search loading and empty state 2024-02-20 07:15:51 +00:00
DarkPhoenix2704
05dbf3b3bb fix(nc-gui): cmd l update 2024-02-19 05:09:32 +00:00
Ramesh Mane
10409046d2 fix(nc-gui): updated paste icons & removed duplicate icon files 2024-02-07 20:21:19 +00:00
Ramesh Mane
9aa44ba127 fix(nc-gui): update icons with nocodb design library 2024-02-07 20:21:19 +00:00
Ramesh Mane
f5d409b2b7 fix(nc-gui): Wrong chevron Icon in grouping UI 2024-02-07 20:21:19 +00:00
Ramesh Mane
4c78952a16 fic(nc-gui): wrong user icon 2024-02-07 20:21:19 +00:00
mertmit
d8cd2ecfd5 fix: retain user field icon for system user fields 2024-01-06 08:47:50 +00:00
mertmit
34dc7c1dab fix: CreatedBy & LastModifiedBy icons 2024-01-06 08:47:48 +00:00
mertmit
a7405aec7d feat: user field (WIP) 2023-12-21 13:21:07 +03:00
Ramesh Mane
a337870be0 feat: paste option in cell right click context menu 2023-12-11 22:03:07 +05:30
Muhammed Mustafa
0eae028e3d fix: Made empty image placegolder and added svg icon for it 2023-10-31 05:18:17 +00:00
sreehari jayaraj
cb82f0e8c6 fix: added maroon color to design system 2023-10-06 16:03:01 +05:30
sreehari jayaraj
96db9016a5 fix: hover effect on toolabr icons 2023-10-06 15:00:26 +05:30
sreehari jayaraj
c136e216cc fix: icons 2023-10-06 12:50:15 +05:30
DarkPhoenix2704
337f703b8c fix: lookup icon 2023-10-04 17:41:16 +00:00
sreehari jayaraj
e12c24a9d2 fix: icons 2023-10-03 20:06:31 +05:30
sreehari jayaraj
525711f9b9 fix: misc changes 2023-10-03 13:19:16 +00:00
DarkPhoenix2704
de3b847e63 feat: update Links icons 2023-10-03 09:46:45 +00: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
sreehari jayaraj
aa164360cc fix: refactor type and skelton computation 2023-10-02 18:15:12 +05:30