Commit Graph

2905 Commits

Author SHA1 Message Date
Anmol Singh Bhatia
6b19a618f3 fix: build error (#1254) 2024-09-24 19:45:15 +05:30
pushya22
0534ae47b6 Merge pull request #1253 from makeplane/sync/11015524502
sync: community changes
2024-09-24 19:38:45 +05:30
rahulramesha
117afdb67f add requestIdleCallback polyfill to fix Safari crash (#5689) 2024-09-24 19:37:12 +05:30
NarayanBavisetti
de98287d70 resolve: merge conflict 2024-09-24 19:06:58 +05:30
Satish Gandham
3df230393a [WEB-2001]feat: Cache issues on the client (#5327)
* use common getIssues from issue service instead of multiple different services for modules and cycles

* Use SQLite to store issues locally and load issues from it.

* Fix incorrect total count and filtering on assignees.

* enable parallel API calls

* use common getIssues from issue service instead of multiple different services for modules and cycles

* Use SQLite to store issues locally and load issues from it.

* Fix incorrect total count and filtering on assignees.

* enable parallel API calls

* chore: deleted issue list

* - Handle local mutations
- Implement getting the updates
- Use SWR to update/sync data

* Wait for sync to complete in get issues

* Fix build errors

* Fix build issue

* - Sync updates to local-db
- Fallback to server when the local data is loading
- Wait when the updates are being fetched

* Add issues in batches

* Disable skeleton loaders for first 10 issues

* Load issues in bulk

* working version of sql lite with grouped issues

* Use window queries for group by

* - Fix sort by date fields
- Fix the total count

* - Fix grouping by created by
- Fix order by and limit

* fix pagination

* Fix sorting on issue priority

* - Add secondary sort order
- Fix group by priority

* chore: added timestamp filter for deleted issues

* - Extract local DB into its own class
- Implement sorting by label names

* Implement subgroup by

* sub group by changes

* Refactor query constructor

* Insert or update issues instead of directly adding them.

* Segregated queries. Not working though!!

* - Get filtered issues and then group them.
- Cleanup code.
- Implement order by labels.

* Fix build issues

* Remove debuggers

* remove loaders while changing sorting or applying filters

* fix loader while clearing all filters

* Fix issue with project being synced twice

* Improve project sync

* Optimize the queries

* Make create dummy data more realistic

* dev: added total pages in the global paginator

* chore: updated total_paged count

* chore: added state_group in the issues pagination

* chore: removed deleted_at from the issue pagination payload

* chore: replaced state_group with state__group

* Integrate new getIssues API, and fix sync issues bug.

* Fix issue with SWR running twice in workspace wrapper

* Fix DB initialization called when opening project for the first time.

* Add all the tables required for sorting

* Exclude description from getIssues

* Add getIssue function.

* Add only selected fields to get query.

* Fix the count query

* Minor query optimization when no joins are required.

* fetch issue description from local db

* clear local db on signout

* Correct dummy data creation

* Fix sort by assignee

* sync to local changes

* chore: added archived issues in the deleted endpoint

* Sync deletes to local db.

* - Add missing indexes for tables used in sorting in spreadsheet layout.
- Add options table

* Make fallback optional in getOption

* Kanban column virtualization

* persist project sync readiness to sqlite and use that as the source of truth for the project issues to be ready

* fix build errors

* Fix calendar view

* fetch slimed down version of modules in project wrapper

* fetch toned down modules and then fetch complete modules

* Fix multi value order by in spread sheet layout

* Fix sort by

* Fix the query when ordering by multi field names

* Remove unused import

* Fix sort by multi value fields

* Format queries and fix order by

* fix order by for multi issue

* fix loaders for spreadsheet

* Fallback to manual order whn moving away from spreadsheet layout

* fix minor bug

* Move fix for order_by when switching from spreadsheet layout to translateQueryParams

* fix default rendering of kanban groups

* Fix none priority being saved as null

* Remove debugger statement

* Fix issue load

* chore: updated isue paginated query from  to

* Fix sub issues and start and target date filters

* Fix active and backlog filter

* Add default order by

* Update the Query param to match with backend.

* local sqlite db versioning

* When window is hidden, do not perform any db versioning

* fix error handling and fall back to server when database errors out

* Add ability to disable local db cache

* remove db version check from getIssues function

* change db version to number and remove workspaceInitPromise in storage.sqlite

* - Sync the entire workspace in the background
- Add get sub issue method with distribution

* Make changes to get issues for sync to match backend.

* chore: handled workspace and project in v2 paginted issues

* disable issue description and title until fetched from server

* sync issues post bulk operations

* fix server error

* fix front end build

* Remove full workspace sync

* - Remove the toast message on sync.
- Update the disable local message.

* Add Hardcoded constant to disable the local db caching

* fix lint errors

* Fix order by in grouping

* update yarn lock

* fix build

* fix plane-web imports

* address review comments

---------

Co-authored-by: rahulramesha <rahulramesham@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
2024-09-24 19:01:34 +05:30
Anmol Singh Bhatia
4ec52d5a6c fix: filter root build error (#1251) 2024-09-24 18:55:59 +05:30
Pushya Mitra Thiruvooru
c489b2161f Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/11012071658 2024-09-24 16:27:24 +05:30
Pushya Mitra Thiruvooru
3ac8eb6ddb Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/11010438081 2024-09-24 16:25:53 +05:30
Anmol Singh Bhatia
59f870ee3d fix: activity root filters (#1242) 2024-09-24 16:19:30 +05:30
Anmol Singh Bhatia
6b63e050ae [WEB-2525] fix: activity filters (#5682)
* fix: activity filters

* chore: code refactor
2024-09-24 16:08:28 +05:30
rahulramesha
6170a80757 [WEB-2001] chore: Code refactor for noload changes. (#5683)
* use common getIssues from issue service instead of multiple different services for modules and cycles

* add group by to server constants

* change issue detail's overview's is loading logic to the loader from the store

* add extra method in local storage

* Kanban render 10 issues by default per column

* fix height in group virtualization

* remove debounced code for Kanban fetching more issues per column

* fix lint errors
2024-09-24 14:27:57 +05:30
guru_sainath
9f85aeb8e4 [MOBIL-183] Web view authentication workflow for mobile (#1134)
* chore: mobile auth root

* mobile authentication screens

* chore: authentication endpoint updates and code clean up

* chore: updated auth default state

* chore: error handling in mobile auth screens

* chore: mobile auth token check

* chore: mobile auth token check

* chore: mobile auth token check

* chore: removed logs

* updated unique code validation in mobile auth

* passing session key in token check

* chore: implemented signout for mobile

* chore: updated signout

* chore: updated signout permission classes

* chore: updated csrf_token validation on token validation

* chore: token error handling

* chore: build error
2024-09-24 14:16:26 +05:30
pushya22
ad924f296a Merge pull request #1244 from makeplane/sync/10995281805
sync: community changes
2024-09-23 19:08:38 +05:30
Prateek Shourya
f38755b755 [WEB-2496] style: fix invite member input alignment on error state. (#5658) 2024-09-23 18:56:22 +05:30
Anmol Singh Bhatia
951e13b933 [WEB-2498] fix: workspace archives and setting validation (#1189)
* chore: empty state content updated

* chore: archived project validation

* chore: code refactor

* chore: code refactor
2024-09-23 18:52:56 +05:30
Aaryan Khandelwal
e9e0bf92ee fix: editor container height (#1209) 2024-09-23 18:52:16 +05:30
pushya22
609c8add7a Merge pull request #1243 from makeplane/sync/10995165412
sync: community changes
2024-09-23 18:51:40 +05:30
Aaryan Khandelwal
2153eda9a8 fix: editor container height (#5669) 2024-09-23 18:49:53 +05:30
sriram veeraghanta
3b108e280d Merge branch 'preview' of github.com:makeplane/plane-ee into preview 2024-09-23 18:46:23 +05:30
sriram veeraghanta
357582a934 fix: build errors 2024-09-23 18:45:03 +05:30
Aaryan Khandelwal
525e62cd57 chore: remove modal for creating a page (#1085) 2024-09-23 18:36:24 +05:30
Prateek Shourya
e459639971 chore: update assetlinks.json for mobile app deeplinks. (#1213) 2024-09-23 18:35:50 +05:30
Aaryan Khandelwal
5a8bf1cbf7 chore: live server fallback for workspace pages (#1225) 2024-09-23 18:12:12 +05:30
sriram veeraghanta
5e13a8ddc9 fix: merge conflicts 2024-09-23 18:08:27 +05:30
Pushya Mitra Thiruvooru
ec49419043 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10993117667 2024-09-23 17:28:23 +05:30
Pushya Mitra Thiruvooru
32a4a82403 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10993071767 2024-09-23 17:21:27 +05:30
Pushya Mitra Thiruvooru
704c91e7d5 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10993009271 2024-09-23 17:17:28 +05:30
sriram veeraghanta
63748be9d5 Merge branch 'uat' of github.com:makeplane/plane-ee into preview 2024-09-23 17:16:37 +05:30
Prateek Shourya
3e134f97eb [WEB-2489] fix: overlapping issues for trial banner (#1178) (#1240)
* fix overplaping issues for trial banner

* fix css

Co-authored-by: Ketan Sharma <sharma01ketan@gmail.com>
2024-09-23 17:11:43 +05:30
Pushya Mitra Thiruvooru
0805e390b9 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10992856213 2024-09-23 17:10:42 +05:30
sriram veeraghanta
83bfca6f2d fix: linting issues and rule changes (#5681)
* fix: lint config package updates

* fix: tsconfig changes

* fix: lint config setup

* fix: lint errors and adding new rules

* fix: lint errors

* fix: ui and editor lints

* fix: build error

* fix: editor tsconfig

* fix: lint errors

* fix: types fixes

---------

Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2024-09-23 17:10:38 +05:30
Pushya Mitra Thiruvooru
995054558e Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10992829319 2024-09-23 17:05:17 +05:30
Prateek Shourya
9e0c1ddd3a [WEB-2522] fix: application crashing error when visiting invite page from a workspace with trial banner. (#1238) 2024-09-23 16:50:51 +05:30
Mihir
50af7c5bf6 Updated the empty state button text for analytics (#5678) 2024-09-23 16:44:11 +05:30
Aaryan Khandelwal
846398df41 fix: casing across all settings pages (#5675) 2024-09-23 16:41:25 +05:30
Aaryan Khandelwal
0853a2790f style: updated create workspace item text color (#5674) 2024-09-23 16:41:04 +05:30
Mihir
ed39f2dc37 [WEB-2390] fix: Clickable Area for Issue List Layout Item (#5536)
* Updated control block to cover the whole element

* Updated the control link to cover the whole issues and relation blocks

* updated word wrap in notifications

* Reverted break words as its a different issue.
2024-09-23 16:36:58 +05:30
Ketan Sharma
56a3eedf06 Merge branch 'preview' into sync/10992513916 2024-09-23 16:28:16 +05:30
Mihir
76a34440c3 Updated icons to mutate (#5670) 2024-09-23 16:26:47 +05:30
Ketan Sharma
4d200ff0a3 [WEB-2427] fix: white background behind emoji (#5624)
* adding translucent background

* make icon rounded
2024-09-23 16:24:51 +05:30
Ketan Sharma
f49a2aa9e3 [WEB-2511] fix: fix overlapping issues for headers globally (#5667)
* fixed only for spreadsheet

* change package for global change

* made global and ad hoc changes

* fix border and z-index for intake and notifications header
2024-09-23 16:03:56 +05:30
pushya22
bc43f34bdf Merge pull request #1224 from makeplane/sync/10992395655
sync: community changes
2024-09-23 15:58:05 +05:30
Anmol Singh Bhatia
3c1779b287 fix: workspace setting validation (#5654) 2024-09-23 15:56:36 +05:30
pushya22
d8fcb62dc0 Merge pull request #1223 from makeplane/sync/10992331365
sync: community changes
2024-09-23 15:53:51 +05:30
Aaryan Khandelwal
22b32fd5c6 [WEB-2497] chore: update pages' offline badge tooltip content (#5652)
* chore: update offline badge tooltip content

* chore: revert yarn lock changes
2024-09-23 15:52:32 +05:30
Aaryan Khandelwal
022a267f23 fix: merge conflicts resolved from preview 2024-09-23 15:42:22 +05:30
Aaryan Khandelwal
f9a8896486 [WEB-1116] chore: add fallback for the live server (#5622)
* chore: add fallback for the live server

* fix: update provider document after patch request

* chore: make the health check call only on connection fail

* chore: update debounce interval

* refactor: remove useSwr call for healtch check

* fix: pages fallback init
2024-09-23 15:35:06 +05:30
pushya22
7f841b6499 Merge pull request #1219 from makeplane/sync/10991461339
sync: community changes
2024-09-23 15:00:26 +05:30
rahulramesha
ae1a63f832 [WEB-2518] chore: Reverse order by of priority keys (#5591)
* make front end changes for priority orderby reversal

* chore: handled priority ordering in issues pagination

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
2024-09-23 14:58:05 +05:30
pushya22
b7350ed343 Merge pull request #1218 from makeplane/sync/10991236220
sync: community changes
2024-09-23 14:45:51 +05:30