Commit Graph

10153 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
Nikhil
4e029bc5be fix: exclude current issue type from the list of issue types in IssueTypeEndpoint (#3451) 2025-06-19 00:07:47 +05:30
Bavisetti Narayan
bea5a806f0 chore: added the missing imports (#3450) 2025-06-18 23:59:24 +05:30
Dheeraj Kumar Ketireddy
dae72210c5 [WEB-4012] Chore: Added Knn Vector fields for PI search (#3445)
* fix: removed first call delay in search

* Added Knn Vector fields

* Enhanced search performance optimizations

* Refactor: Use environment variables for OpenSearch default pipelines in Issue and Page documents

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>
2025-06-18 23:58:54 +05:30
M. Palanikannan
22ae10cf88 [WIKI-383] feat: dev wiki app (#3411)
* dev: 1

* fix: tubro name

* fix : floating sidebar

* --wip-- [skip ci]

* wip-2

* --wip-- [skip ci]

* wip

* fix: working wiki

---------

Co-authored-by: VipinDevelops <vipinchaudhary1809@gmail.com>
2025-06-18 21:19:30 +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
Prateek Shourya
14069c6562 [WEB-4329] fix: exclude archived entities from teamspace entity count (#3430) 2025-06-18 20:36:05 +05:30
JayashTripathy
cee956efd9 [WEB-4345] fix: edit button disabled in issue types #3448 2025-06-18 20:35:30 +05:30
Nikhil
4d7c310a00 [PAI-482]feat: add JWT authentication support and related tests for user session endpoint (#3402)
* feat: add JWT authentication support and related tests for user session endpoint

- Updated UserSessionEndpoint to support JWT authentication alongside session authentication.
- Introduced a new jwt_client fixture for testing JWT authentication.
- Added comprehensive tests for user session handling with various authentication scenarios, including valid, invalid, and expired tokens.

* Update apiserver/plane/app/views/user/base.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update apiserver/plane/app/views/user/base.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-18 20:32:55 +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
sriram veeraghanta
783df86126 Sync: Community Changes #3441 2025-06-18 16:16:06 +05:30
Akshita Goyal
e34c0d2e7a Merge branch 'preview' into sync/ce-ee 2025-06-18 16:15:14 +05:30
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
Akshita Goyal
d65f0e264e [WEB-4327] Chore PAT permissions (#7224)
* chore: improved pat permissions

* fix: err message

* fix: removed permission from backend

* [WEB-4330] refactor: update API token endpoints to use user context instead of workspace slug

- Changed URL patterns for API token endpoints to use "users/api-tokens/" instead of "workspaces/<str:slug>/api-tokens/".
- Refactored ApiTokenEndpoint methods to remove workspace slug parameter and adjust database queries accordingly.
- Added new test cases for API token creation, retrieval, deletion, and updates, including support for bot users and minimal data submissions.

* fix: removed workspace slug from api-tokens

* fix: refactor

* chore: url.py code rabbit suggestion

* fix: APITokenService moved to package

---------

Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
2025-06-18 16:08:11 +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
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