Commit Graph

10114 Commits

Author SHA1 Message Date
Dheeraj Kumar Ketireddy
7f33b6e692 [WEB-3773] Chore: Enhanced search performance optimizations #3412 2025-06-17 19:51:02 +05:30
pushya22
ebbec9a7c9 Sync: Community Changes #3429
Sync: Community Changes
2025-06-17 17:21:47 +05:30
Prateek Shourya
98f9b15457 [WEB-4332] feat: teamspace assignee grouping (#3427) 2025-06-17 17:17:33 +05:30
Prateek Shourya
89b8cdbe6e [WEB-4335] improvement: optimize assignee grouping with improved member scope handling (#7227) 2025-06-17 17:17:04 +05:30
sriram veeraghanta
1d7c2891c1 Sync: Community Changes #3428 2025-06-17 17:14:36 +05:30
sriram veeraghanta
a7d75a4f66 fix: merge conflicts 2025-06-17 17:13:34 +05:30
Prateek Shourya
bdb42cff53 fix: lucide icon constants import (#3426) 2025-06-17 17:09:59 +05:30
Prateek Shourya
53e6a62a12 fix: move lucide related constants to ui package (#7226)
* fix: move lucide related constants to ui package

* chore: update yarn.lock
2025-06-17 17:06:05 +05:30
pushya22
2281e207e6 Sync: Community Changes #3425
Sync: Community Changes
2025-06-17 14:29:58 +05:30
sriram veeraghanta
f11b87df83 Sync: Community Changes #3415 2025-06-17 14:13:19 +05:30
Prateek Shourya
75f89c4c12 fix: docker build (#7220)
* fix: docker build

* fix: build
2025-06-17 14:08:50 +05:30
Nikhil
b9c26863c5 [INFRA-189]fix: update response handling in GetWorkspaceProductHandler to return free workspace payload #3424 2025-06-17 13:58:11 +05:30
Nikhil
9c52c8b33f [INFRA-188]fix: enhance license validation for air-gapped workspace activation (#3413)
* fix: enhance license validation for airgapped workspace activation

Updated the license validation logic to ensure that if a workspace has a non-free license, an error is returned when attempting to associate it with a different license key. This change prompts users to deactivate the existing license first.

* refactor: remove caching from FeatureFlagProxyEndpoint and enhance license validation for airgapped workspaces

Removed the caching decorator from the FeatureFlagProxyEndpoint's GET method. Updated the workspace activation handler to include a check for airgapped environments in the license validation logic, ensuring that non-free licenses are handled correctly.
2025-06-16 20:56:07 +05:30
Prateek Shourya
7063e9f723 fix: build errors 2025-06-16 19:05:55 +05:30
Henit Chobisa
dde2651d8a fix: construct s3 url from region if not given (#3419) 2025-06-16 18:59:37 +05:30
sriram veeraghanta
e03f537ac7 fix: space build errors. 2025-06-16 17:54:59 +05:30
sriram veeraghanta
2fd7fefb01 fix: merge conflicts 2025-06-16 17:39:26 +05:30
Prateek Shourya
98fee2ac1d refactor: move web utils to packages (#3353)
* refactor: move web utils to packages

* fix: build and lint errors

* chore: update drag handle plugin

* chore: update table cell type to fix build errors

* fix: build errors

* chore: sync few changes

* feat: add pi base url to constants

* chore: update all util imports in ee folder

* chore: refactor web utils imports

* chore: update imports

* fix: build errors

* fix: build errors

* fix: update utils import

* chore: minor fixes related to duplicate assets imports

* chore: update duplicate assets service

* [WEB-4316] chore: new endpoints to download an asset (#7207)

* chore: new endpoints to download an asset

* chore: add exception handling

* [WEB-4323] refactor: Analytics refactor (#7213)

* chore: updated label for epics

* chore: improved export logic

* refactor: move csvConfig to export.ts and clean up export logic

* refactor: remove unused CSV export logic from WorkItemsInsightTable component

* refactor: streamline data handling in InsightTable component for improved rendering

* feat: add translation for "No. of {entity}" and update priority chart y-axis label to use new translation

* refactor: cleaned up some component and added utilitites

* feat: add "at_risk" translation to multiple languages in translations.json files

* refactor: update TrendPiece component to use new status variants for analytics

* fix: adjust TrendPiece component logic for on-track and off-track status

* refactor: use nullish coalescing operator for yAxis.dx in line and scatter charts

* feat: add "at_risk" translation to various languages in translations.json files

* feat: add "no_of" translation to various languages in translations.json files

* feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chinese locales in translations.json files

* refactor: rename insightsFields to ANALYTICS_INSIGHTS_FIELDS and update analytics tab import to use getAnalyticsTabs function

* feat: update AnalyticsWrapper to use i18n for titles and add new translation for "no_of" in Russian

* fix: update yAxis labels and offsets in various charts to use new translation key and improve layout

* feat: define AnalyticsTab interface and refactor getAnalyticsTabs function for improved type safety

* fix: update AnalyticsTab interface to use TAnalyticsTabsBase for improved type safety

* fix: add whitespace-nowrap class to TableHead for improved header layout in DataTable component

* [WEB-4311]  fix: membership data handling and state reversal on error (#7205)

* [WEB-4231] Pie chart tooltip #7192

* fix: build errors

* fix: utils imports

* chore: fix build errors

* yarn lock file update

---------

Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Co-authored-by: JayashTripathy <76092296+JayashTripathy@users.noreply.github.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-06-16 17:26:28 +05:30
Anmol Singh Bhatia
0983e5f44d [WEB-4281] chore: project error message updated (#7190)
* chore: project error message updated

* fix: error message for project creation

* fix: incorrect error code

* chore: code refactor

* chore: code refactor

---------

Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
2025-06-16 17:19:44 +05:30
Prateek Shourya
2014400bed refactor: move web utils to packages (#7145)
* refactor: move web utils to packages

* fix: build and lint errors

* chore: update drag handle plugin

* chore: update table cell type to fix build errors

* fix: build errors

* chore: sync few changes

* fix: build errors

* chore: minor fixes related to duplicate assets imports

* fix: build errors

* chore: minor changes
2025-06-16 17:18:41 +05:30
sriram veeraghanta
dffcc6dc10 chore(deps): brace-expansion upgraded to 2.0.2 2025-06-16 17:10:08 +05:30
sriram veeraghanta
640b23fb1b chore(deps): nextjs upgrade to 14.2.30 2025-06-16 17:02:04 +05:30
sriram veeraghanta
0d3c00b946 Sync: Community Changes #3401 2025-06-16 16:35:29 +05:30
Saurabh Kumar
952c31d9c6 [SILO-214] Plane Clickup Importer v1 (#3381)
* add types for clickup entities

* add api service for clickup

* add pull and transform methods

* clickup folder

* add migrator and bulk transformer for clickup

* add clickup apk service for store

* add clickup data store

* add UI components and page clickup importer

* add UI components and page clickup importer

* fix bugs related to clickup import labels attachment issue type

* fix duplicate comments

* resolve plane client conflict

* content parser for description

* add relation map update for import job

* fix issues regarding custom field types options and values

* add translations + feature flag for clickup

* fix missing integration type export

* fix relation mapping across projects

* fix false comment actors in data import task

* fix cancel import job translation

* fix cancel import job translation

* fix rate limit issues for clickup import

* push unique work items to transform job

* handle username null in members

* increase refetch timing for jobs

* add rate limit fixes for pull in import job

* remove protect in pull job as not required now

* clickup additional data migrator for comments and attachments

* clickup additional migrator setup

* comment clickup importer

* fix status mapping for custom status in list n folders

* fix issues with clickup additional data migrator

* add changes to etl pull method clickup

* increase the rate limit for oauth tokens

* add pulling percent logs

* add batching to pull in clickup additional migrator

* add mq changes for error handling from preview

* Add migration for completed batch count + fix issues with progress of clickup additional migrator

* add support for external id and source in project and state external apis

* creation of project and state before transform if missing

* UI changes to support only space selection and start all folder import job

* Bug fixes for enhanced ClickUp importer with multi folder import; Translations; UI changes to support enhanced clickup importer

* migration to support enhanced clickup changes

* add emoji for project + no priority fix

* add logs to debug job stuck issue

* batch api calls to apiserver

* Fix edge-case in data import task to handle empty batches, preventing jobs from getting stuck in "TRANSFORMING" state.

* add retry logic for job finished in race condn and last batch failure

* feat: Update API routes with count increment endpoint, refactor import report logic, and enhance logging for job processing

* refactor: Improve logging in data import task and adjust batch completion logic for better handling of empty lists + UI fixes

* refactor: Enhance logging in data import task and streamline batch completion handling for empty issue lists

* refactor: remove batch locks

* refactor: enhance error handling in data migration

* chore: remove storing of members in config, skip sending relation map in get jobs

* refactor: logs and labels transform

* fix no page batch completion + feature flag clickup

* fix duplicate state mapping and transforming stuck

* reduce batching in state creation

* fix: remove multer package and resolved build errors

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-06-16 15:45:13 +05:30
Henit Chobisa
8b878da003 [SILO-270] feat: Notion Importer Phase 1 Implementation (#3392)
* [SILO-249] feat: notion importer phase 1 with zip manager and worker traversal  (#3153)

* feat: added notion zip manager code

* feat: added endpoint for bulk create pages

* feat: added page service in sdk

* fix: temporary runner

* feat: added notion zip file node types

* feat: added file extractor and file tree creator methods

* feat: added zip file manager class for interacting with extractors

* feat: added key manager types

* feat: added notion data migrator class for processing nodes

* feat: added method to set map in the store

* feat: added initialization of s3 in worker base

* feat: registered notion worker in the manager

* feat: added env variables for s3

* fix: remove unused services

* fix: removed unnecessary package

* fix: moved options into types

* fix: cleanup and jsdoc comments

* fix: renamed types and enums for consistency

* fix: replaced console.log with logger

* fix: added ttl to caches

* fix: moved zip manager to be reusable

* feat: added distributed counter for keeping count of leaf nodes

* fix: broken down the notion importer into multiple phases

* fix arrow function for key

Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>

* fix: eslint issues

* fix: unused variables and expression call

* fix: resolved eslint warnings

---------

Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>

* fix: build fix

* [SILO-254] feat: notion importer phase two implementation (#3169)

* feat: created endpoint for bulk operation on pages

* feat: added phase two implementation of notion migrator

* feat: added expected and ignored files list

* feat: added method for getting a specific map field

* fix: duplicate import

* feat: added page api endpoint

* feat: restructured and exported parser from core

* feat: added notion content parser extensions

* feat: added content parser initialization

* feat: added cleanup function in base migrator

* feat: refactored phases to include content parsing and cleanups

* chore: added content parser config

* feat: added cleanup function in zip manager to remove toc

* feat: added bluebird as dependency

* chore: remove test file

* fix: formatted code

* fix: decoupled content parser from `etl/core` to avoid circular dependency (#3204)

* fix: decoupled parser from etl/core and moved to etl/parser

* fix: modified linear importer for using parser from etl/parser

* fix: updated notion importer content parser imports

* [SILO-265] feat: Notion Importer UI and controller for generating presigned URL (#3237)

* feat: added notion controller for handling credentials save and uploads

* feat: added new keys and cached job and credential data

* feat: added notion controller and s3 init script

* feat: added UI changes for notion importer

* feat: added translation file and feature flags

* feat: added model changes to job and modified endpoint for pages

* feat: added start time to job

* fix: silo build failing

* feat: added notion importer UI component for uploading

* feat: added new extension for processing bookmark links

* fix: coderabbit suggestions

* fix: build fixes

* fix: condition

* fix: added page bulk endpoint under hmac and apiclient

* fix: root page when there is only one directory

* fix: added root directory path and error handling

* fix: add html page for each directory if not present

* feat: added feature flags for notion importer

* feat: added translations for all languagaes

* feat: added translations

* fixed: translations for russian

* [SILO-302] feat: migrated notion zip upload endpoints to apiserver (#3327)

* feat: added endpoint for silo uploads for notion importer

* feat: refactored controller to add start import route

* fix: removed policy for ttl in s3

* feat: modified frontend for using new endpoints from apiserver for uploads

* chore: added permission to silo asset endpoint

* feat: added notion importer feature flag to asset endpoint

* fix: used existing assets v2 for updating the asset upload

* fix: removed unused endpoints from silo asset view

* fix: moved notion importer into new settings page

---------

Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>
2025-06-16 15:27:45 +05:30
Prateek Shourya
c511c82970 [SILO-317] feat: template cover image for publish (#3407)
* Added cover_image_asset to Template model

* use the right property

* Test case for Template Model

* [SILO-317] feat: add cover image upload to template publish form

* improve: add cover image loader

* feat: add paste support to pill input

* chore: add cover_image in the serializer

* chore: update cover image url field key

* improvement: update translations for cover image field

* chore: minor icon updates

---------

Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
2025-06-16 14:11:46 +05:30
JayashTripathy
e13d8aa4b3 [WEB-4231] Pie chart tooltip #7192 2025-06-16 14:03:07 +05:30
Prateek Shourya
cf595de7c7 [WEB-4311] fix: membership data handling and state reversal on error (#7205) 2025-06-16 14:02:47 +05:30
JayashTripathy
0fa9c8b015 [WEB-4323] refactor: Analytics refactor (#7213)
* chore: updated label for epics

* chore: improved export logic

* refactor: move csvConfig to export.ts and clean up export logic

* refactor: remove unused CSV export logic from WorkItemsInsightTable component

* refactor: streamline data handling in InsightTable component for improved rendering

* feat: add translation for "No. of {entity}" and update priority chart y-axis label to use new translation

* refactor: cleaned up some component and added utilitites

* feat: add "at_risk" translation to multiple languages in translations.json files

* refactor: update TrendPiece component to use new status variants for analytics

* fix: adjust TrendPiece component logic for on-track and off-track status

* refactor: use nullish coalescing operator for yAxis.dx in line and scatter charts

* feat: add "at_risk" translation to various languages in translations.json files

* feat: add "no_of" translation to various languages in translations.json files

* feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chinese locales in translations.json files

* refactor: rename insightsFields to ANALYTICS_INSIGHTS_FIELDS and update analytics tab import to use getAnalyticsTabs function

* feat: update AnalyticsWrapper to use i18n for titles and add new translation for "no_of" in Russian

* fix: update yAxis labels and offsets in various charts to use new translation key and improve layout

* feat: define AnalyticsTab interface and refactor getAnalyticsTabs function for improved type safety

* fix: update AnalyticsTab interface to use TAnalyticsTabsBase for improved type safety

* fix: add whitespace-nowrap class to TableHead for improved header layout in DataTable component
2025-06-16 14:01:49 +05:30
Dheeraj Kumar Ketireddy
c91d632e97 [SILO-316] Migration: Added cover_image_asset to Template model (#3404)
* Added cover_image_asset to Template model

* use the right property

* Test case for Template Model

* Added is_mentionable boolean field to Application
2025-06-13 18:51:52 +05:30
Nikhil
3cdc29b9ba [WEB-4317] fix: activity duplicates for epics and project activity #3408 2025-06-13 18:04:42 +05:30
Nikhil
c35a09b19c [WEB-4318]: fix incorrect field is being accessed on the worklog api #3403 2025-06-13 14:58:51 +05:30
Nikhil
66f116b423 [WEB-4317] chore: remove duplicates from activity #3405 2025-06-13 14:58:02 +05:30
Aaryan Khandelwal
6fe0415d66 [WEB-4316] chore: new endpoints to download an asset (#7207)
* chore: new endpoints to download an asset

* chore: add exception handling
2025-06-13 14:41:08 +05:30
Manish Gupta
b42652e49b [INFRA-175] chore: aws ami (#3285)
* feat: Plane Commercial AMI Publish Action

* feat: update CloudFormation template and workflow for AMI publishing

- Added new environment variables for CloudFormation template and output file in the GitHub Actions workflow.
- Refactored the CloudFormation template to set default CIDR values and simplified region restrictions.
- Updated the Packer configuration to use instance type directly instead of spot instance types.

* feat: add new infrastructure parameters for VPC and public subnet CIDR blocks in CloudFormation template

* chore: update AMI publish region default value and clean up CloudFormation template by removing outdated parameters and logic

* chore: update AWS VPC and subnet CIDR defaults, modify instance type, and adjust AMI volume size in Packer configuration

* Enhance CloudFormation template and related scripts to support Instance Domain Name configuration. Added parameters for InstanceDomainName, updated metadata, and modified user data scripts to export the domain name. Updated verify-plane-setup script to utilize the domain name for access instructions.

* Update appliance-docker-ee.yml to change default AMI publish region to 'us-east-1' and update AWS manifest bucket to 'plane-terraform-marketplace'

* Add JSON validation for AMI cleanup in appliance-docker-ee.yml
2025-06-13 14:28:38 +05:30
sriram veeraghanta
a0eff51333 fix: merge conflicts 2025-06-13 02:11:51 +05:30
sriram veeraghanta
ebc2bdcd3a feat: adding build process to logger package using tsup #7210 2025-06-13 01:50:44 +05:30
Aaron
11b222ece8 chore(deps): update TypeScript version across multiple packages to 5.8.3 (#7209) 2025-06-13 01:40:27 +05:30
sriram veeraghanta
eee51f234c Sync: Community Changes #3399 2025-06-13 01:21:26 +05:30
JayashTripathy
b3721419b2 Merge branch 'sync/ce-ee' of https://github.com/makeplane/plane-ee into sync/ce-ee 2025-06-12 21:27:30 +05:30
Prateek Shourya
ce5ebf87fa [WEB-4317] fix: teamspace related bugs (#3400)
* [WEB-4317] fix: enhance issue access validation for teamspace members (#3398)

* fix: issue count in teamspace entities

* fix: layout option in create teamspace view modal

* fix: teamspace view link in new tab

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2025-06-12 21:22:22 +05:30
JayashTripathy
c1a078ef3f [WEB-4246] Analytics minor improvements (#7194)
* chore: updated label for epics

* chore: improved export logic

* refactor: move csvConfig to export.ts and clean up export logic

* refactor: remove unused CSV export logic from WorkItemsInsightTable component

* refactor: streamline data handling in InsightTable component for improved rendering

* feat: add translation for "No. of {entity}" and update priority chart y-axis label to use new translation

* refactor: cleaned up some component and added utilitites

* feat: add "at_risk" translation to multiple languages in translations.json files

* refactor: update TrendPiece component to use new status variants for analytics

* fix: adjust TrendPiece component logic for on-track and off-track status

* refactor: use nullish coalescing operator for yAxis.dx in line and scatter charts

* feat: add "at_risk" translation to various languages in translations.json files

* feat: add "no_of" translation to various languages in translations.json files

* feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chinese locales in translations.json files
2025-06-12 21:15:09 +05:30
Akshita Goyal
9b166b1255 [WEB-4306] fix: removed first call delay in search #3396 2025-06-12 17:39:39 +05:30
Prateek Shourya
96ca567b05 [WEB-4313] fix: teamspace work item list endpoint (#3397) 2025-06-12 17:35:46 +05:30
Prateek Shourya
e762065634 [WEB-4307] fix: remove teamspace membership when user is assigned guest role (#3394)
* [WEB-4307] fix: remove teamspace membership when user is assigned guest role

* chore: update comments

* chore: minor logic improvement

* chore: update comments
2025-06-12 16:25:17 +05:30
Prateek Shourya
b8e9c88b14 [WEB-4305] fix: teamspace view icon in breadcrumb of view detail page (#3391) 2025-06-11 19:48:13 +05:30
Saurabh Kumar
c1ca165693 [SILO-303] Model and migrations for Clickup importer #3346 2025-06-11 17:06:36 +05:30
Prateek Shourya
9967fc8c07 [WEB-4304] improvement: linking projects to teamspace modal enhancements (#3389)
* [WEB-4304] improvement: linking projects to teamspace modal enhancements

* chore: code refactor

* chore: remove pages and views from teamspace linked entities

---------

Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
2025-06-11 16:55:15 +05:30
Vamsi Krishna
93203630f4 [WEB-4292]fix: line breaks in updates #3378 2025-06-11 16:42:32 +05:30
Prateek Shourya
5f64822ec7 [WEB-4294] fix: work item assignee validation #3385 2025-06-11 16:41:12 +05:30