Commit Graph

398 Commits

Author SHA1 Message Date
Pushya Mitra Thiruvooru
e28170bd55 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/11105656022 2024-09-30 17:38:19 +05:30
Prateek Shourya
66ca1663bf [WEB-2579] fix: frequent loader on issue detail / archived issue detail page. (#5724)
* [WEB-2579] fix: frequent loader on issue detail / archived issue detail page.

* chore: minor improvement.
2024-09-30 17:32:08 +05:30
pushya22
4a7ec66aa8 Merge pull request #1290 from makeplane/sync/11102468693
sync: community changes
2024-09-30 14:09:22 +05:30
Prateek Shourya
c25fa594fe [WEB-2568] chore: minor improvements related to issue identifier and issue modal. (#5723)
* [WEB-2568] chore: minor improvements related to issue identifier and issue modal.

* fix: error handling for session recorder script.

* chore: minor improvement
2024-09-30 14:07:22 +05:30
rahulramesha
bbafb551b4 Merge branch 'preview' of github.com:makeplane/plane-ee into sync/11068333410 2024-09-27 15:34:57 +05:30
Satish Gandham
ec08fb078d [WEB-2001] feat: Fix local cache issues r3 (#5714)
* - Handle single quotes in load workspace queries
- Add IS null where condition in query utils

* Fix description_html being lost

* Change secondary order to sequence_id

* Fix update persistence layer

* Fix issue types filter
Fix none filter

* add local cache toggle in help section

* remove toggle from user settings

* Reset storage class on disabling local

---------

Co-authored-by: rahulramesha <rahulramesham@gmail.com>
2024-09-27 15:11:38 +05:30
rahulramesha
da55efc675 enable feature flag for local DB (#1258)
Co-authored-by: pushya22 <130810100+pushya22@users.noreply.github.com>
2024-09-26 14:57:24 +05:30
Pushya Mitra Thiruvooru
86d7b25c05 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/11048035507 2024-09-26 14:14:34 +05:30
rahulramesha
6e0ece496a fix peek overview loading state (#5698) 2024-09-26 13:29:34 +05:30
Prateek Shourya
6942e491d0 [WEB-2542] Fix: display filter and tooltip issues in list layout. (#5696)
* [WEB-2542] fix: list layout issues.
* fix: issue type display filter not working.
* fix: layout shift when hovered on bulkops checkbox.

* fix: build errors.

* fix: lint errors
2024-09-25 17:47:46 +05:30
Aaryan Khandelwal
3d9341366f chore: remove workspace pages' save button (#1255) 2024-09-24 20:21:36 +05:30
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
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
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
Aaryan Khandelwal
525e62cd57 chore: remove modal for creating a page (#1085) 2024-09-23 18:36:24 +05:30
sriram veeraghanta
5e13a8ddc9 fix: merge conflicts 2024-09-23 18:08:27 +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
Ketan Sharma
56a3eedf06 Merge branch 'preview' into sync/10992513916 2024-09-23 16:28:16 +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
Ketan Sharma
5a11d9f3df [WEB-2489] fix: overlapping issues for trial banner (#1178)
* fix overplaping issues for trial banner

* fix css
2024-09-19 20:32:00 +05:30
pushya22
5cad7e6ffa Merge pull request #1200 from makeplane/sync/10943554963
sync: community changes
2024-09-19 20:27:53 +05:30
Aaryan Khandelwal
a4933b5614 chore: remove modal for creating a page (#5561) 2024-09-19 20:26:11 +05:30
pushya22
528cc65898 Merge branch 'preview' into sync/10940850783 2024-09-19 20:13:12 +05:30
Prateek Shourya
361ef9236e [WEB-1970] fix: onboarding invitation page fluctuation on refresh. (#5627) 2024-09-19 17:51:22 +05:30
Pushya Mitra Thiruvooru
f996f47820 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10922504426 2024-09-19 16:23:11 +05:30
Aaryan Khandelwal
43633f2f28 fix: issue description value (#5636) 2024-09-18 18:20:43 +05:30
Prateek Shourya
c9c935dbc8 fix: lint and build errors. (#1172) 2024-09-18 16:19:38 +05:30
Prateek Shourya
b8744dc700 chore: remove coming soon badge from self host edition upgrade. (#1167) 2024-09-18 15:53:49 +05:30
pushya22
951bab339c Merge pull request #1169 from makeplane/sync/10919464654
sync: community changes
2024-09-18 15:02:52 +05:30
Anmol Singh Bhatia
5ad6e99327 fix: project settings layout (#5638) 2024-09-18 15:01:35 +05:30
sriram veeraghanta
bc06da7553 fix: build errors 2024-09-17 13:11:39 +05:30
Prateek Shourya
624f09e4a5 chore remove unused seats (#1147)
* chore: remove unused seats

* chore: add more seats/ remove unused seats.

* fix: imports

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-17 13:04:45 +05:30
Henit Chobisa
8786675b3c feat: added prices and plans endpoint inside monitor, and prime ecosystem (#1146)
* feat: added endpoint for retrieving plans

* feat: added routes for retrieving and generating payment link

* chore: self-hosted upgrade.

* chore: self-hosted one upgrade.

* chore: product and payment link generation

* chore: count workspace members

* chore: activation modal.

* chore: self managed instance workspace upgrade modal.

* chore: billable members.

* chore: remove changelogs redirection from workspace pages header.

* chore: update seat count logic

* fix: exit process if monitor fails to decrypt feature flags

* chore: added docker compose rule to restart the monitor container for only 5 attempts

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-17 13:03:54 +05:30
Prateek Shourya
57542cdada [WEB-2112 | WEB-2113 | WEB-2395] dev: billing and product updates. (#1130)
* chore: add current period start date

* chore: is trial ended

* chore: Billing page and Product updates.

* fix: seat purchase

* chore: self-hosted `env` updates.

* fix: lint error.

* fix: bugfixes in types package

* fix: build errors.

* chore: update yarn.lock file.

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-09-16 19:12:58 +05:30
Satish Gandham
9bcb0f4128 Merge branch 'preview' into sync/10884449230 2024-09-16 18:46:20 +05:30
Prateek Shourya
2e816656e5 [WEB-2112 | WEB-2113] dev: billing and change-log improvements. (#5614)
* chore: minor improvements in billing and changelogs.

* fix: lint errors.

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-09-16 18:36:17 +05:30
sriram veeraghanta
89a1c0b534 fix: build errors 2024-09-16 17:48:10 +05:30
Anmol Singh Bhatia
b58fea22fd fix: build error 2024-09-16 14:14:52 +05:30
Anmol Singh Bhatia
ccd3928b4e Merge branch 'preview' of github.com:makeplane/plane-ee into sync/10880251996 2024-09-16 14:11:58 +05:30
Anmol Singh Bhatia
c14d20c2e0 fix: workspace settings access validation updated (#5606) 2024-09-16 14:03:06 +05:30
Pushya Mitra Thiruvooru
9506519162 Merge branch 'preview' of https://github.com/makeplane/plane-ee into sync/10833342939 2024-09-12 20:46:17 +05:30
Prateek Shourya
6d2f321a72 fix: build errors resolved. 2024-09-12 20:41:39 +05:30
Prateek Shourya
5fcd01f80a fix: merge conflicts resolved. 2024-09-12 20:30:10 +05:30
Anmol Singh Bhatia
1efb067274 fix: build error (#5598) 2024-09-12 20:22:50 +05:30
Prateek Shourya
b2533b94ce [WEB-2444] improvement: performance improvement for useOutsideClickDetector and usePeekOverviewOutsideClickDetector. (#5595)
* [WEB-2444] improvement: performace improvement for `useOutsideClickDetector` and `usePeekOverviewOutsideClickDetector`.

* Move outside click detector to plane helpers package.

* chore: remove plane helpers yarn.lock
2024-09-12 20:10:04 +05:30