Commit Graph

10136 Commits

Author SHA1 Message Date
Aaryan Khandelwal
0618e5da74 [WIKI-356] fix: space app work item embed card details (#3432)
* style: consistent properties height

* fix: state property logic
2025-06-18 16:13:20 +05:30
Sangeetha
cb34e27458 [WEB-4164] feat: duplicate issue to another project (#3268)
* feat: duplicate issue to another project

* chore: change viewset name

* chore: set None for all project level fields

* feat: added duplicate action to all work item layouts

* chore: code split for ce

* chore: removed redundant function declaration

* chore: refactored action modals

* fix: modify api response

* feat: added feature flag

* fix: use serializer to render response

* feat: duplicate epics to another projects

* feat: epics duplicate frontend implementation

* feat: description assets duplication

* fix: asset duplication

* fix: related issues not duplicating

* fix: add import

* fix: description assets are not copied

* chore: add feature flag check

* fix: variable name of duplicated issue

* fix: argument name

* chore: resolved coderabbit comments

---------

Co-authored-by: vamsikrishnamathala <matalav55@gmail.com>
2025-06-18 16:07:08 +05:30
Akshita Goyal
a90d4ee49f [PAI-471] chore: added workspace in user threads api + removed placeholder api #3361 2025-06-18 16:06:24 +05:30
Akshita Goyal
c83bd45125 [WEB-4017] feat: pages in work items (#3236)
* fix:  UI implementation

* feat: endpoints to attach, remove, list pages to work items

* chore: page detail

* chore: return is_global

* feat: search functionality

* chore: remove search functionality

* fix: integrations

* fix: change issues to work-item in url

* fix: post not deleting the unselected pages
chore: accept page_id in delete instead of pk"

* fix: remove unwanted filters

* fix: refactoring

* fix: refactor

* fix: refactoring

* fix: translations

* fix: refacttor

* fix: pages in epics

* fix: refactoring

* fix: search algo

* fix: pages in epics

* fix: project level search not working

* fix: refactoring

* chore: return logo_props

* fix: duplicate serializer name

* fix: refactoring

* fix: reverted yarn.lock

* fix: refactoring

* chore: renamed the serializer

* fix: workspace and project level validity of given page_ids

* fix: check for is_global

* chore: add permission class

* fix: add page_id as a argument with default None

* chore: add permission class for search endpoint

* fix: removed duplicate back

---------

Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-06-18 15:56:06 +05:30
JayashTripathy
c30efd3b46 [WEB-4195] feat: add option to delete work item type (#3288)
* chore: added delete property for workitem types

* chore: Added translations

* fix: update layout of toggle switch in quick actions component

* feat: add enable/disable warning for issue types while deleting a issue type

* chore: updated translations

* feat: implement issue type delete confirmation modal and refactor quick actions

* feat: add iconClassName prop to CustomMenu, make the custom menu icon bigger in issue-types and updated issue type quick acctions for default state handling

* feat: implement delete modal for work item types , reafactored the delete promise to the top

* refactor: rename iconClassName to chevronIconClassName in CustomMenu and update related components

* feat: enhance enable/disable functionality in issue type quick actions with toast notifications

* chore: utilised chevronClassname

* refactor: reset custom-menu component

* feat: add cant_delete_linked_message translations for multiple languages and update quick actions component to handle deletion state

* refactor: update quick actions component to include tooltip for delete action based on issue existence

* refactor: enhance quick actions component to disable actions based on issue existence and improve tooltip handling
2025-06-18 15:55:07 +05:30
Bavisetti Narayan
ec662c6722 [WIKI-397] chore: un publish a page when archived (#3300)
* chore: un publish a page when archived

* fix: trigger event to unpublish sub pages

* fix: making publish common

* regression: remove publishing teamspace pages

* fix: pubish actions made common in workspace and project pages

* fix: remove unused import

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-06-18 15:54:46 +05:30
Aaryan Khandelwal
626a5472c9 [WIKI-398] chore: update page embed block font size #3326 2025-06-18 15:54:16 +05:30
JayashTripathy
578ab887cd [WEB-4254] feat: Enterprise analytics (#3330)
* chore: added code split for the analytics store

* chore: done some refactor

* refactor: update entity keys in analytics and translations

* chore: updated the translations

* refactor: simplify AnalyticsStoreV2 class by removing unnecessary constructor

* feat: add AnalyticsStoreV2 class and interface for enhanced analytics functionality

* feat: enhance WorkItemsModal and analytics store with isEpic functionality

* feat: integrate isEpic state into TotalInsights and WorkItemsModal components

* refactor: remove isEpic state from WorkItemsModalMainContent component

* refactor: removed old  analytics components and related services

* refactor: new analytics

* refactor: removed all nivo chart dependencies

* chore: resolved coderabbit comments

* fix: remove duplicate isEpic prop in WorkItemsModal component

* fix: update type for tab parameter in processUrl method of AnalyticsV2Service

* fix: update processUrl to handle custom-work-items in peek view

* feat: implement CSV export functionality in InsightTable component

* feat: add user analytics components and extend analytics functionality

* feat: enhance analytics service with filter parameters and improve data handling in InsightTable

* feat: add projects analytics components

* feat: add cycles, modules, and intake analytics components with corresponding data handling and visualization

* feat: add new translation keys for various statuses across multiple languages

* chore: update analytics components and translations

* [WEB-4246] fix: enhance analytics components to include 'isEpic' parameter for improved data fetching

* refactor: clean up imports and update translation keys in analytics components

* chore: added project logo props in charts

* feat: integrate project logo display in analytics tables

* chore: added feature flag

* chore: disabled users

* chore: added feature flag

* chore: added payment failure vaidation

* feat: enhance analytics page with subscription upgrade tooltip and update translations

* updated translations

* chore: added additional parameters in payload

* added state icons in module and cycle table

* fix: handle empty date values in cycles and modules insight tables

* chore: added the keys for module

* chore: added custom tooltip for cycles and modules

* chore: added color to the scatter points

* refactor: centralize module status colors and update chart point colors and yaxis domain

* fix: update comment to clarify display name usage in WorkItemInsightColumns

* feat: add completed work items count to analytics and update chart components

* refactor: update trend-piece component to use new status variants for analytics

* feat: enhance ee analytics tables with export functionality and added project logo in intake

* refactor: clean up fetch keys and simplify analytics component structure

* refactor: rename analytics fields constants for consistency and clarity

* refactor: update analytics feature flag for improved clarity and consistency

* chore: changed the feature flag of analytics

* refactor: streamline analytics tab structure and introduce locked tab labels for feature flag check while rendering tab label

* chore: remove unused translation key for entity count in English locale

* fix: import of intake

* fix: append percentage sign to completion percentage label in cycles insight table

* refactor: simplify completion percentage calculation in ModulesCyclesTooltip and enhance Avatar component styling in UserAvatarName

* refactor: update AnalyticsWrapper titles to use i18n keys and clean up imports in analytics components

* fix: update isEpic handling in WorkItemsModal to consider isPeekView state

* fix: update i18n title in AnalyticsWrapper for Intake component

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2025-06-18 15:53:32 +05:30
Akshita Goyal
1ec51160d2 [WEB-4279] fix: project initiative mutation permission + css (#3347)
* fix: project initiative mutation permission + css

* fix: added translations
2025-06-18 15:53:09 +05:30
Vamsi Krishna
1aaad326f9 [WEB-4239]feat: show selected epics in modal (#3383)
* feat: show selected epics in selection modal

* chore: removed trailing elipses
2025-06-18 15:52:02 +05:30
Akshita Goyal
a508fbb63b [PAI-478] fix: added custom component for <a> (#3384)
* fix: replaced <a> with next/link in pi markdown

* fix: changed link to <a>
2025-06-18 15:51:19 +05:30
Vamsi Krishna
04d64519ef [WEB-4276]fix: selected initiatives not showing in epics #3390 2025-06-18 15:50:52 +05:30
Akshita Goyal
ba407237f1 [PAI-476]: Fix pi chat inconsistencies on switching tabs (#3398)
* fix: pi store refactoring

* fix: refactoring

* fix: handled duplicacy

* fix: refactoring

* fix: refactoring

* fix: disabled prompt button when loading

* fix: refactoring

* fix: reasoning css

* fix: build

* fix: gpt model

* fix: null validations

* fix: null validation

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-06-18 15:50:17 +05:30
Akshita Goyal
5b1f7c06af [PAI-475] chore: save chat focus in pi (#3380)
* chore: save chat focus in pi

* fix: sidebar highlighter
2025-06-18 15:48:58 +05:30
sriram veeraghanta
0ac94a5f73 Sync: Community Changes #3440 2025-06-18 15:48:12 +05:30
Nikhil
cda00e2024 [INFRA-192] fix: update file handling in airgapped mode to include app version in filenames #3439 2025-06-18 15:35:55 +05:30
JayashTripathy
9cdfb2224a [WEB-4160]: Context menu close after clicking on menu item of project #7231 2025-06-18 15:33:06 +05:30
sriram veeraghanta
6e79d533bf Sync: Community Changes #3438 2025-06-18 15:31:27 +05:30
sangeethailango
3f9c72f1a9 Merge branch 'preview' into sync/ce-ee 2025-06-18 15:30:08 +05:30
Sangeetha
8129f5f969 [WEB-4340] fix: duplicate assignees in user recents (#7216)
* fix: duplicate assignees in user recents

* chore: optimize filtering logic

* chore: filter with deleted_at field

* chore: tests for IssueRecentSerializer
2025-06-18 15:14:21 +05:30
Nikhil
11753e0abb [INFRA-191] fix: remove license from the local system when running in airgap mode #3437 2025-06-18 14:20:02 +05:30
sriram veeraghanta
a3ea0b665e [INFRA-190]chore: update monitor to save and read file from the local system when running in airgap mode (#3435)
* refactor: update SyncWorkspace to read activation file from local system and handle file writing in activation handler

* fix: update MemberList assignment in SyncWorkspace to use payload data

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2025-06-18 01:26:45 +05:30
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