Commit Graph

3308 Commits

Author SHA1 Message Date
pushya22
9f4e03ca34 Sync: Community Changes #3469
Sync: Community Changes
2025-06-20 15:26:25 +05:30
Prateek Shourya
f26b4d3d06 [WEB-4359] fix: application crash when creating work item via quick add (#7245) 2025-06-20 15:16:16 +05:30
M. Palanikannan
81a1689177 fix: build errors #3465 2025-06-19 20:34:56 +05:30
M. Palanikannan
c8493e8117 [WIKI-334] fix: Pages sidebar bugs (#3253)
* fix: codeblock smooth cursor positioning fixed

* fix: sort ordering for page is not alphabetical

* fix: delete page modal

* fix: add subpage added immediately to parent

* fix: headings revamped and updated only when needed

* fix: optimized editor headings rendering

* fix: heading rerenders

* fix: update document outline and headings management for improved performance and accuracy

* fix: optimizing more things in table of contents

* chore: added archived filter for pages

* fix: animations on the heading

* fix: adding block animations

* fix: content outline

* fix: remove toc

* fix: remove toc

* fix: wip

* fix: remove unused package

* fix: on change logic fixed

* fix: attrs of newly added and duplicate pages

* fix: old heading

* fix: old heading

* fix: collaborators list

* fix: handle toggling

* fix: behaviour on clicking on the navigation item

* chore: remove the check for lock pages to move

* fix: better navigation between title and editor

* fix: shift tab

* fix: tables select all!

* fix: sync agent

* fix: sync agent stop saving

* fix: used enums

* fix: typing storage in collaboration cursor

* fix: better collaborator list

* fix: aria label

* fix: remove console lgo

* fix: access change

* fix: change access if section changes

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-06-19 19:12:17 +05:30
Aaryan Khandelwal
52103bc61e fix: build error 2025-06-19 17:45:46 +05:30
Aaryan Khandelwal
fcf185e9a0 fix: build error 2025-06-19 17:39:51 +05:30
Aaryan Khandelwal
f87de2fad8 fix: merge conflicts resolved from preview 2025-06-19 17:39:31 +05:30
Aaryan Khandelwal
28edf03a94 [WIKI-181] feat: editor attachments (#2238)
* feat: attachment extension

* chore: slash command option added for attachments

* chore: add upload logic

* chore: add missing plugins to attachments extension

* refactor: file handling

* fix: attachment upload

* fix: attachment upload

* restore unnecessary files

* chore: added more types for work item and pages

* refactor: attachment extension

* chore: added conditions for custom entities

* chore: add upload status

* refactor: onCreate and upload logic

* fix: extension without props

* fix: restore deleted assets logic

* refactor: attachment extension types and utils

* chore: add editor extensions and translations

* chore: add disabled state and translations

* chore: update container elements

* fix: pageEmbedComponent correct node name

* chore: add missing translations

* refactor: remove read only extension

* chore: handle api call error

* fix: lint error

* fix: drop handlerr

* chore: extension in the read only document editor

* chore: add support for initiative and project overview

* fix: liver server runtime error

* refactor: editor props structure

* chore: add missing prop

* chore: update editor flag hook

* fix: space app build

* fix: customers attachment extension

* fix: customer requests description

* refactor: additional extension types

* chore: remove unnecessary comments

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-06-19 17:22:24 +05:30
Anmol Singh Bhatia
544fe270b1 [WEB-4050] feat: breadcrumbs revamp (#3371)
* chore: project feature enum added

* feat: revamp breadcrumb and add navigation dropdown component

* chore: custom search select component refactoring

* chore: breadcrumb stories added

* chore: switch label and breadcrumb link component refactor

* chore: project navigation helper function added

* chore: common breadcrumb component added

* chore: breadcrumb refactoring

* chore: project constant updated

* chore: ce changes

* chore: ce changes

* chore: breadcrumb revamp ee changes

* fix: route and header layout

* chore: code refactor

* chore: code refactor

* chore: workspace view breadcrumb improvements

* chore: code refactor

* chore: code refactor

* chore: code refactor

* chore: code refactor

* fix: build error
2025-06-19 17:20:18 +05:30
Akshita Goyal
6355d5ce4e [SILO-319] fix: loading & refactoring (#3423)
* fix: loading & refactoring

* fix: importers loading
2025-06-19 17:20:02 +05:30
Prateek Shourya
39956bc1f0 [WEB-4352] fix: disable property type updates in customer settings (#3457) 2025-06-19 17:19:16 +05:30
Anmol Singh Bhatia
2b7a17b484 [WEB-4050] feat: breadcrumbs revamp (#7188)
* chore: project feature enum added

* feat: revamp breadcrumb and add navigation dropdown component

* chore: custom search select component refactoring

* chore: breadcrumb stories added

* chore: switch label and breadcrumb link component refactor

* chore: project navigation helper function added

* chore: common breadcrumb component added

* chore: breadcrumb refactoring

* chore: code refactor

* chore: code refactor

* fix: build error

* fix: nprogress and button tooltip

* chore: code refactor

* chore: workspace view breadcrumb improvements

* chore: code refactor

* chore: code refactor

* chore: code refactor

* chore: code refactor

---------

Co-authored-by: vamsikrishnamathala <matalav55@gmail.com>
2025-06-19 17:17:14 +05:30
Vamsi Krishna
64fd0b2830 [WEB-4321]chore: workspace views refactor (#7214)
* chore: workspace views reafactor

* chore: resolved coderabbit suggestions

* chore: added project level workspace filter

* chore: added enum for roles

* chore: removed redundant type definition

* chore: optimised the query

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2025-06-19 16:26:32 +05:30
Aaryan Khandelwal
8988cf9a85 [WEB-462] refactor: editor props structure (#7233)
* refactor: editor props structure

* chore: add missing prop

* fix: space app build

* chore: export ce types
2025-06-19 16:25:52 +05:30
sriramveeraghanta
759f23fe5e fix: merge conflicts 2025-06-19 16:08:22 +05:30
Bavisetti Narayan
88ba13d1e0 [WIKI-347] feat: shared pages (#3277)
* feat: shared pages

* chore: added share list endpoint

* chore: changed the page user model

* chore: added the events for shared page

* fix: the page user endpoints

* chore: added the new permission layer for pages

* chore: renamed the variables

* chore: reverted frontend changes

* chore: add project pages

* feat: shared pages modal

* refactor: remove unused collaborator components and improve share modal structure

* fix: better structure

* fix: css fixes according to design

* fix: css fixes according to design

* fix: root modal

* chore: allow sharing a page using single request

* fix: bulk updates

* chore: user id changed

* chore: a new shared type

* fix: sharing pages access on the frontend

* fix: is content editable

* chore: update the event tigger for shared pages

* chore: added the page owner permission

* fix: shared endpoint

* chore: added validation in shared page

* chore: added is_shared key

* fix: updates to live server

* fix: shared pages working

* fix: shared pages workspace pages done

* Merge branch 'preview' of https://github.com/makeplane/plane-ee into feat-shared-pages

* fix: adding shared pages in project level

* fix: move to ce/ee structure

* chore: document what's sharedUsers

* regression

* fix: sharing page

* fix: access on shared pages

* fix: remove extra store

* fix: working mutations

* fix: shared users

* chore: event trigger updates

* fix: loading state and optimistic updates

* fix: enable only in workspace pages

* fix: build fix

* chore: added project level permission

* chore: added a enum for page access

* chore: changed the subquery annotation

* chore: added workspace slug filter

* chore: account deactivation and leave actions

* fix: indentation of the delete

* fix: import errors

* fix: added a validation for owner

* chore: updated the background task

* fix: base page store

* fix: saving state aborted on success

* fix: ce changes

* fix: reactivity for dropping pages

* fix: ce sync

* fix: project page store

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-06-19 16:01:00 +05:30
Aaryan Khandelwal
eb5ffebcc6 [WIKI-458] refactor: base page instance for additional properties (#7228)
* refactor: create a super class for base page

* fix: path

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-06-19 16:00:18 +05:30
M. Palanikannan
414010688d [WIKI-384] chore: editor core refactor (#7235)
* fix: extra actions

* chore: page flags
2025-06-19 15:59:38 +05:30
JayashTripathy
171099667e [WEB-4339] fix: projects dropdown shows all projects (#7238)
* fix: projects drop only shows joined project

* refactor: removed unused things from header
2025-06-19 15:57:19 +05:30
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
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
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
JayashTripathy
9cdfb2224a [WEB-4160]: Context menu close after clicking on menu item of project #7231 2025-06-18 15:33:06 +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
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
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