Commit Graph

6745 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
pushya22
df1d5938a8 Merge pull request #1252 from makeplane/sync/11014880797
sync: community changes
2024-09-24 19:08:17 +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
pushya22
db82525e24 Merge pull request #1249 from makeplane/sync/11012082716
sync: community changes
2024-09-24 16:44:00 +05:30
Pushya Mitra Thiruvooru
3c59fb2829 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/11012082716 2024-09-24 16:43:02 +05:30
pushya22
6c14c756b7 Merge pull request #1248 from makeplane/sync/11012071658
sync: community changes
2024-09-24 16:30:23 +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
pushya22
0f15e8c116 Merge pull request #1247 from makeplane/sync/11010438081
sync: community changes
2024-09-24 16:26:31 +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
pushya22
c6e4d227fd Merge pull request #1246 from makeplane/sync/11009934381
sync: community changes
2024-09-24 16:20:38 +05:30
Anmol Singh Bhatia
59f870ee3d fix: activity root filters (#1242) 2024-09-24 16:19:30 +05:30
Aaryan Khandelwal
8dabe839f3 fix: pass update image size (#5686) 2024-09-24 16:09:12 +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
8715e7ebfe chore: implemented notifications pagination (#1125) 2024-09-24 14:16:41 +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
guru_sainath
57aff09fbb [MOBIL-168] issue relations (#1206)
* chore: issue relation query

* chore: import error

* chore: blocking issues list update

* chore: updated search and remove in issue relation

* chore: updated add and remove relation

* chore: created issue comment mutation

* chore: replaced the project filter with workspace filter
2024-09-24 14:16:08 +05:30
Aaryan Khandelwal
5ca794b648 chore: remove line-through decoration from checked todo list items (#5659) 2024-09-24 13:56:36 +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
403c862852 fix: workflow updates 2024-09-23 18:46:08 +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
8c5cb7a95d Merge pull request #1241 from makeplane/sync/10993514251
sync: community changes
2024-09-23 18:11:05 +05:30
sriram veeraghanta
5e13a8ddc9 fix: merge conflicts 2024-09-23 18:08:27 +05:30
pushya22
372c22c7e6 Merge pull request #1234 from makeplane/sync/10993076274
sync: community changes
2024-09-23 17:38:20 +05:30
Pushya Mitra Thiruvooru
cf48cafa6b Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10993076274 2024-09-23 17:37:42 +05:30
pushya22
abd9e8bd48 Merge pull request #1237 from makeplane/sync/10993127358
sync: community changes
2024-09-23 17:32:51 +05:30
Pushya Mitra Thiruvooru
fa3d38a2ac Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10993127358 2024-09-23 17:31:17 +05:30
pushya22
2deced4568 Merge pull request #1236 from makeplane/sync/10993117667
sync: community changes
2024-09-23 17:30:03 +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
49f5257d90 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10993076274 2024-09-23 17:23:13 +05:30
pushya22
e4978eccd3 Merge pull request #1233 from makeplane/sync/10993071767
sync: community changes
2024-09-23 17:22:24 +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
pushya22
cd91f7bc2a Merge pull request #1232 from makeplane/sync/10993009271
sync: community changes
2024-09-23 17:19:53 +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
dfd96cc2c2 Merge branch 'preview' of github.com:makeplane/plane-ee into preview 2024-09-23 17:16:57 +05:30
sriram veeraghanta
63748be9d5 Merge branch 'uat' of github.com:makeplane/plane-ee into preview 2024-09-23 17:16:37 +05:30
pushya22
500bea091b Merge pull request #1231 from makeplane/sync/10992955348
sync: community changes
2024-09-23 17:16:35 +05:30