Commit Graph

44 Commits

Author SHA1 Message Date
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
Pranav C
382156fab9 fix: clear store values only after redirecting to SignIn page (#9412) 2024-09-03 20:00:48 +05:30
Pranav C
00dd1001a4 refactor: review comments 2024-08-27 07:23:43 +00:00
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
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
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
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
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
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
9262662a17 fix: i18n for UserDropdowna and Sidebar Header 2023-09-28 11:43:28 +05:30
Muhammed Mustafa
b93f243234 feat: Rebase issue 2023-09-25 13:39:10 +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
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
reenphygeorge
4319b990eb fix(nc-gui): reduced gap 2023-09-20 14:27:59 +05:30
reenphygeorge
0972dedec5 fix(nc-gui): corrected spacing 2023-09-20 14:25:56 +05:30
reenphygeorge
d8cbe758f0 feat(nc-gui): cloud button ui update 2023-09-20 12:22:01 +05:30
Muhammed Mustafa
89d7c15171 fix: Fixed user data not loading on mount 2023-09-19 07:45:21 +00:00
Muhammed Mustafa
12ca937e4c fix(nocohub): Added profile page, added xlarge type to usericon, added useUsers store and now call me api on app startup and overwrite things set by jwt payload, made profile page the default 2023-09-19 07:45:19 +00:00
reenphygeorge
99bd7190d4 fix(nc-gui): ui updates 2023-09-15 17:37:46 +05:30
Muhammed Mustafa
a81abcf7c8 fix(nc-gui): Fixed Sidebar projectnode ctx menu 2023-09-14 11:56:06 +05:30
mertmit
eb60a02535 fix: test errors
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-09-06 09:51:17 +03:00
mertmit
8ab47b1109 fix: various stuff
Signed-off-by: mertmit <mertmit99@gmail.com>
2023-09-06 09:51:17 +03:00