Commit Graph

1036 Commits

Author SHA1 Message Date
Vamsi Krishna
32d9d2b1a5 [WEB-4344]fix: epics initiative count (#3452)
* fix: initiative epics count

* fix: unselected epics in initiatives

* fix: display of un selected initiatives
2025-06-19 14:23:46 +05:30
Vamsi Krishna
0d029fd769 [WEB-4347]fix: duplicate epics in same project #3454 2025-06-19 14:19:33 +05:30
Akshita Goyal
ee96abd5f2 [WEB-4342] fix: copy to clipboard text + added redirection for pages (#3447)
* fix: copy to clipboard text + added redirection for pages

* fix: translations

* fix: feature flagged

* fix: refactor

* chore: featureflag check

---------

Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
2025-06-18 20:56:07 +05:30
Prateek Shourya
1c2e5ddaab [WEB-3938] improvement: page templates (#3181)
* fix: editor drag handle

* improvement: enable bubble menu in page template editor

* fix: create / update button alignment
2025-06-18 20:36:34 +05:30
JayashTripathy
cee956efd9 [WEB-4345] fix: edit button disabled in issue types #3448 2025-06-18 20:35:30 +05:30
Prateek Shourya
590b3cd500 fix: circular dependencies (#3444)
* fix: fix circular dependencies between types and ui packages

* chore: minor changes to pi chat
2025-06-18 18:01:49 +05:30
Akshita Goyal
6ef77039c2 fix: build (#3442) 2025-06-18 16:33:41 +05:30
Akshita Goyal
e34c0d2e7a Merge branch 'preview' into sync/ce-ee 2025-06-18 16:15:14 +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
c7d17d00b7 [WEB-4017] fix: hooks and store refactoring for issue-details (#7107)
* fix: hooks and store splitting for issue-details

* fix: refactoring

* fix: refactoring

* fix: refactor

* fix: css
2025-06-18 15:59:26 +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
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
Prateek Shourya
98f9b15457 [WEB-4332] feat: teamspace assignee grouping (#3427) 2025-06-17 17:17:33 +05:30
Prateek Shourya
bdb42cff53 fix: lucide icon constants import (#3426) 2025-06-17 17:09:59 +05:30
Prateek Shourya
7063e9f723 fix: build errors 2025-06-16 19:05:55 +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
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
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
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
Akshita Goyal
9b166b1255 [WEB-4306] fix: removed first call delay in search #3396 2025-06-12 17:39:39 +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
736838657a [WEB-4289] fix: teamspace description validation (#3386)
* removed tooltip from teamspace members sidebar
2025-06-11 16:40:41 +05:30
Prateek Shourya
81e2781c1f [WEB-4301] improvement: filter teamspace projects in work item creation (#3382) 2025-06-10 20:41:02 +05:30
sriram veeraghanta
be3ec10c54 fix: imports in mobile auth screens 2025-06-10 14:16:26 +05:30
guru_sainath
4e3ea24009 [MOBIL-612] chore: updated the mobile auth imports #3369 2025-06-10 14:09:32 +05:30
Prateek Shourya
1c227a8108 fix: build errors (#3367) 2025-06-10 12:42:18 +05:30
Prateek Shourya
152770f998 [DISCO-70] fix: restrict offline payment upgrade (#3343) 2025-06-10 12:25:12 +05:30
pablohashescobar
4b546ed1a4 Merge branch 'canary' of github.com:makeplane/plane-ee into sync-canary 2025-06-09 21:30:38 +05:30
guru_sainath
626468e60b [MOBIL-612] feat: Implement mobile signup workflow for password, magic code, Google, and GitHub (#3335)
* dev: handled the signup logic for password and magic code

* dev: removed is_mobile in authentication

* chore: handled the invitation id for google and github

* chore: updated the types imports

* chore: updated url

* chore: handled the google and github click

* chore: updated auth adapter props

* chore: updated the str validation

* chore: classname Typo

* chore: updated key in mobile magic_code view

* chore: updated the invitation logic in email and magic

* chore: typo
2025-06-09 16:05:06 +05:30
sriram veeraghanta
c30b00ad20 fix: pi chat conversation ui 2025-06-09 16:03:59 +05:30
Vamsi Krishna
09a5f51ccb [WEB-3374]feat: added merge date display (#3306)
* feat: added merge date display

* feat: added merged date display to projects and initiatives
2025-06-09 15:32:18 +05:30
Akshita Goyal
ca6829f20c fix: build (#3358) 2025-06-09 15:27:15 +05:30
Akshita Goyal
fba22a18a8 [PAI-431] chore: implemented feedback modal for pi chats (#3344)
* chore: implemented feedback modal for pi chats

* fix: added observer

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-06-09 15:13:18 +05:30
Akshita Goyal
69b64afc0f [PAI-457] [PAI-439] [PAI-436] [PAI-422] [PAI-420]: chore pi improvements (#3337)
* fix: pi refactoring

* fix: new chat button

* fix: refactoring

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-06-09 15:11:35 +05:30
Akshita Goyal
78c72f6c36 [PAI-465] chore: added reasoning block for pi (#3342)
* chore: added reasoning block

* fix: formatting

* fix: redactor

* fix: css
2025-06-09 15:10:26 +05:30
Prateek Shourya
b3ba488d46 [WEB-3450] feat: teamspaces v2 (#2901)
* feat: remove scope filter from teamspace statistics

* feat: remove project dropdown from create or update teamspace form

* feat: remove scope filter from teamspace views

* feat: remove scope filter from teamspace pages

* feat: remove scope filter from teamspace work items

* chore: add endpoint to add multiple projects to teamspaces also remove
auto member addition to project

* choe: add uuid import

* feat: teamspaces detail in project settings

* feat: re-write permission layer to handle project roles through teamspaces

* improvement: toast message for teamspace list in project settings

* chore: remove teamspace projects module.

* feat: UI revamp for project settings members page

* refactor: single source of truth for project member roles

* improvement: project member settings page header.

* chore: remove teamspace list if feature is disabled

* chore: add teamspace validation for project endpoints

* chore: update permissions

* chore: teamspace filter

* chore: correct indentation

* chore: update teamspaces permission endpoint

* chore: update teamspace filters

* chore: update project members me api to return the current member project

* chore: update permissions to accomodate team permissions

* chore: remove the util function and use the manager queryset to filter project access

* chore: update permission for issue types

* chore: update querysets for epics and issue types

* chore: update page access

* improvement: permission layer and other minor UI changes

* improvement: minor UI enhancements

* chore: update project roles endpoint

* chore: update project members endpoint

* chore: update project members endpoint

* chore: remove member annotation

* refactor: project member role and original role

* refactor: project membership store

* improvement: project member list loader

* fix: search issues endpoint

* improvement: translation support for teamspaces project settings.

* chore: added option to clear existing members while fetching project members.

* chore: add extra validation for places where guests have restricted view

* chore: add caching for workspace feature flag

* fix: role update logic.

* fix: project members me api when user is guest for the project

* chore: remove duplicates returned from the api

* improvement: update link project modal

* improvement: ui / ux and translations enhancements

* feat: add all translations for teamspaces

* chore: minor component updates

* chore: minor fixes related to permission layer

* fix: strict type checks for permission layer

* fix: empty state and broken links for teamspaces

* fix: delete teamspace members when user is removed from workspace

* improve: members settings page

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
2025-06-09 00:19:46 +05:30
Prateek Shourya
4a5682a219 fix: build error (#3351) 2025-06-06 21:27:06 +05:30