Commit Graph

212 Commits

Author SHA1 Message Date
Prateek Shourya
7cfb998deb [WEB-4957] improvement: feature flag advanced rich filter operators and minor UI / UX improvements (#4236) 2025-09-18 16:36:41 +05:30
Jayash Tripathy
73cd9a0759 [WEB-4948] refactor: remove dashboard filter feature flag #4231 2025-09-17 17:03:28 +05:30
Saurabh Kumar
9243ee6d64 [SILO-470] GitHub integration V1 (#4042)
* feat: UI and store change to split pr automation and issue sync entity item create

* backend changes to bisect issue sync pr automation + fix entity conn types

* use user credentials in github flow + UI improvements + improve logging + issue state mapping

* add bidirectional sync logo

* gh ent test and fixes

* translations and copy changes

* fix url format in issue link

* optimise getCredentials method + fixes

* fix formatting
2025-09-17 17:02:02 +05:30
Prateek Shourya
e02fa2449c [WEB-4830] feat: add work item rich filters (#3747)
* feat: rich filters store architecture and UI components

* feat: add work item layout filter HOC

* improvements: minor enhancements for rich filters
* added button configuration to add filters button
* added option to disable transition for filter item
* fixed filter item label truncation
* added support for changing work item filter config keys

* improvements: add filter button config initialization

* improvements: work item layout filter compatibility fixes

* refactor: update filter structure and improve type safety across automation and rich filters

- Changed filter property types to use TFilterProperty and TFilterValue for better type consistency.
- Updated various components and hooks to utilize new type definitions, enhancing type safety.
- Refactored filter configuration and adapter logic to accommodate the new types, ensuring compatibility with existing functionality.
- Improved handling of filter expressions and conditions, streamlining the overall filter management process.

* chore: restructure rich filter utils

* refactor: optimize filter value handling and update automation condition types

- Removed unnecessary condition checks in automation details sidebar trigger.
- Enhanced filter value input to handle empty states more gracefully.
- Updated filter helper methods to return both optimal operator and transformed value.
- Adjusted filter instance logic to accommodate changes in operator and value updates.
- Modified type definitions for automation conditions and filter configurations to support SingleOrArray types.
- Added utility functions for transforming values based on operator requirements.

* fix: handle single-value operators in automation condition filters

* fix: build errors

* chore: refactor work item filters to core with enterprise extensibility

* chore: update clear filters logic from project work item empty state

* chore: remove header filters selection from project work item list

* chore: remove header filters selection from project work item list mobile header

* feat: add work item filters bar to support save and update views

* feat: add visibility button to filters bar

* chore: minor fixes for work item filters adapter

* feat: enhance filters bar with async save and update handling

* chore: minor ux fixes for filters bar

* refactor: split updateCondition into separate operator and value update methods

* feat: add save and update view options to rich filter instance

* chore: minor fixes in clear filters

* feat: project level work item filters hoc with save and update view options

* chore: minor UX improvements for view save and update options

* chore: ordering fix in work item filters store

* improvement: enhance work item filters with consistent naming and memoization optimization

* feat: different variants for filters row

* feat: implement rich filters in create and update project view modal

* chore: ensure that max visible conditions are only visible in header variant

* feat: add tracker elements for clear filter, save view, and update view

* feat: update layout filter if view is updated from modal

* feat: implement rich filters for project archived work items

* feat: implement rich filters for cycle work items

* feat: implement rich filters for module work items

* chore: remove module applied filters header

* feat: implement rich filters in epics layout

* feat: implement rich filters in workspace views

* chore: remove router filter params from all issue layout root

* feat: implement rich filters for profile work items

* fix: shouldNotifyChangeForExpression should be called before clearing the filter expression

* refactor: get all the entities from props to generate work item config

* feat: implement rich filters for teamspace work items

* feat: implement rich filters for teamspace views

* feat: implement rich filters for teamspace project work items

* feat: implement rich filters for teamspace views create / update modal

* chore: remove all instances of FilterSelection component

* chore: clean up filters from FilterSelection

* feat: add LegacyToRichFiltersConverter and BaseIssueFilterSet for enhanced filtering capabilities

- Introduced LegacyToRichFiltersConverter to automate conversion from legacy filter formats to rich filter JSON structure, including validation features for UUIDs, choices, and dates.
- Added BaseIssueFilterSet with custom filter methods for handling soft delete exclusions and direct field lookups for the Issue model.
- Updated README.md to document the new converter and filter set usage, including examples and configuration options.

* feat: implement migrations for rich filters in core and EE models

- Added migration scripts to convert legacy filters to rich_filters format for core models (IssueView, WorkspaceUserProperties, etc.) and EE models (EpicUserProperties, InitiativeUserProperty, TeamspaceUserProperty).
- Introduced utility functions for migrating and clearing rich_filters, enhancing the migration process.
- Updated date validation in the LegacyToRichFiltersConverter to utilize dateutil.parser for improved flexibility in date format handling.
- Enhanced README.md to reflect changes in date validation capabilities.

* fix: build errors

* feat: refactor rich filter config and utils to support complex and extended filters

* feat: add `state_group` to project level filters

* chore: minor updates for work item filter configs

* feat: add state group set filter

* feat: add project and teamspace project filters

* chore: remove filters-selection component

* Updated IssueViewset to use complexfilter backend and made improvements to grouping.

- Refactored IssueListEndpoint and IssueViewSet to utilize new filtering and grouping features, enhancing query efficiency.
- Updated issue grouping functions to accept a queryset parameter, improving flexibility and performance.
- Optimized AND operations through branch-based evaluation.

* Changed the rich filters query param to 'filters'

* chore: integrate project work item rich filters with backend

* refactor: page wise filter constants

* chore: minor build fixes

* feat: integrate rich filters across all work item layouts

* fix: view update on additional changes

* chore: enabled filter item transition

* chore: remove total filters from view list item

* feat: add work item subscriber filter

* added custom UUIDInFilter and update filterset to utilize it

* fix: handle empty filters with empty object instead of null

* Fixed bug with updating issues

* fix: disable save view in epic layout

* chore: update state group set filter label

* fix: filter item early return re-render error

* fix: space app build

* fix: web build

* added CharInFilter and enhanced BaseFilterSet to support exact filters

* add subscriber ID filters to BaseIssueFilterSet

* simplify filter definitions in BaseIssueFilterSet by removing unnecessary lookup expressions

* Use comma separated values for in and range filters

* Fixed issue creation

* fix: reset filter condition when operator changes to different config type

* fix: only show work item type filter if enabled for project

* chore: minor fix in cleanup function and sub work item types

* fixed date rage filter

* fix: initial work item filters for global view, project view, teamspace view, initial work item filters for static views

* fix: add condition with negation operator

* fix: reset filters when project and teamspace view layouts unmount

* Enhance issue filtering capabilities across multiple views by integrating ComplexFilterBackend and BaseIssueFilterSet. Refactor issue querysets to apply filtering and annotations consistently, improving performance and maintainability.

* chore: update epic filters to show by layout

* Enhance issue queryset by applying annotations for improved data handling in WorkspaceViewIssuesViewSet.

* Fixed workspace issue viewset

* feat: add rich_filters support to multiple user properties endpoints

* fix: incorrect count

* improvement: update filters dropdowns height to full

* refactor: update filter label from "Grouping" to "Work item group" for clarity

* improvement: update work item filters list order

* feat: sanitize and stabilize filter expressions before external conversion

* chore: reorder add filter button in filters row

* feat: enhance issue viewsets by adding prefetch_related for improved performance and data retrieval across multiple endpoints. Refactor queryset handling to streamline filtering and annotations.

* feat: apply static view filters to workspace issues

* chore: minor updates for global view rich filters

* fix: local storage filters

* refactor: update issue filter handling to use new supported filter types

- Replaced instances of EIssueFilterType with TSupportedFilterTypeForUpdate in various components and stores.
- Updated filter update methods to utilize the new filter type structure for better consistency and maintainability.
- Removed deprecated filter handling logic across multiple files, streamlining the filter update process.

* feat: enable rich filters for cycle and module analytics progress stats

Refactored progress statistics components to support advanced filtering capabilities across cycles and modules. Added new shared components for assignee, label, and state group progress tracking with consistent filtering interface.

* refactor: update sub-issue filter components to use available filters

- Replaced layoutDisplayFiltersOptions with availableFilters in SubIssueFilters and related components for better filter management.
- Introduced new constants for available filters specific to work item and initiatives pages.
- Cleaned up unused imports and improved filter enabling logic for clarity and maintainability.

* chore: disable operator selection when filter is disabled or only one operator option is available

* refactor: enhance filter components to support disabled state

* chore: minor cleanup

* reorderd the data migration for rich filters

* refactor: rich filter utils structure

* refactor: reuse traversal and transformation utilities

* refactor: use type guards in rich filters

* cleanup: remove unused comment

* refactor: restructure filter system with extended rich filters support

- Rename and reorganize filter modules for better structure
  - complex_filter.py → filter_backend.py
  - migration_utils.py → filter_migrations.py
  - Remove custom_filters.py (inlined into filterset.py)

- Create extended filter system with inheritance hierarchy
  - Add extended/ directory with enhanced converters and filtersets
  - Support additional enterprise fields (team_project_id, type_id)
  - Maintain base functionality while adding extended features

- Centralize imports through clean public API
  - Update all view imports to use plane.utils.filters module
  - Extended classes automatically override base implementations
  - Maintain backward compatibility

- Rename BaseIssueFilterSet to IssueFilterSet across codebase
- Update migration files to use new converter structure
- Consolidate filter utilities for better maintainability

* Added missing param

* refactor: restructure rich filters by removing obsolete operator files and introducing core and extended operator configurations

* refactor: restructure rich filters utils

- Streamlined exports in rich-filters index files for factories, operations, types, and validators.
- Removed obsolete core types and operators, integrating their functionalities into a more cohesive structure.
- Introduced new factory and operation files to enhance modularity and maintainability.
- Improved type guards and utility functions for better type safety and clarity in filter operations.

* refactor: enhance operator handling in rich filters

- Introduced `getOperatorForPayload` utility to streamline operator normalization and negation handling across filter components.
- Updated various filter-related files to utilize the new utility, improving code clarity and reducing redundancy.
- Refactored condition addition logic to leverage the new operator handling, ensuring consistent behavior in filter expressions.

* Updated migration sequence

* refactor: update filter constants and types for consistency

- Renamed filter-related constants from `FILTER_TYPE_OPTIONS` to `FILTER_FIELD_TYPE_OPTIONS` for clarity.
- Updated references in various components and stores to use the new naming convention.
- Introduced new field type configurations to enhance filter handling and maintainability across the application.

* feat: enhance shared-state and rich filters integration

- Added new filter components and utilities to the shared-state package, improving the filter expression handling.
- Introduced `AddFilterButton`, `FilterItem`, and various input components for rich filters, enhancing user interaction.
- Updated existing components to utilize the new shared-state functionalities, ensuring consistency across the application.
- Refactored filter-related logic to streamline the integration of work item filters and improve maintainability.

* refactor: use factory functions instead of shared-state adapter

* fix: update filter helpers to handle negation correctly

* chore: minor comment cleanup

* feat: introduce new filter configurations and utilities for work item filters

- Added various filter configurations including cycle, date, label, module, priority, project, state, teamspace, user, and work item type.
- Implemented helper functions for multi-select and single-select configurations to streamline filter creation.
- Enhanced existing filter utilities to support new configurations, improving the overall filter management system.
- Organized filter-related code into dedicated files for better maintainability and clarity.

* feat: add rich filters types

* feat: add rich filters constants

* feat: add rich filters utils

* feat: add rich filters store in shared state package

* feat: add rich filters UI components

* chore: minor updates and fixes.

* chore: update pnpm lock file.

* [WEB-4842] feat: enhance rich filters with complex filter support and improved code organization

* chore: remove state group set from state filter

* chore: remove state group set from work item rich filters

* replace DashboardWidgetIssueFilterSet with IssueFilterSet in WidgetListEndpoint

- Removed the custom DashboardWidgetIssueFilterSet class and replaced it with the existing IssueFilterSet.
- This change simplifies the filter logic for the WidgetListEndpoint, leveraging the existing functionality of IssueFilterSet.

* removed state_group_set filter and related logic from IssueFilterSet

* fix: make setLoading optional in loadOptions function for improved flexibility

* fix: automation condition item value display

* chore: minor cleanup and updates

* chore: revert un-needed changes

* chore: remove duplicate exports

* chore: minor improvements to rich filters

* chore: minor improvements

* code cleanup and minor fixes

* chore: minor change

---------

Co-authored-by: JayashTripathy <jayashtripathy371@gmail.com>
Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: sangeethailango <sangeethailango21@gmail.com>
2025-09-16 21:28:20 +05:30
Prateek Shourya
08446b79cf [WEB-4842] feat: enhance rich filters with complex filter support and improved code organization (#4210)
* feat: add rich filters types

* feat: add rich filters constants

* feat: add rich filters utils

* feat: add rich filters store in shared state package

* feat: add rich filters UI components

* chore: update pnpm lock file.

* [WEB-4842] feat: enhance rich filters with complex filter support and improved code organization

* chore: remove state group set from state filter

* fix: make setLoading optional in loadOptions function for improved flexibility

* fix: automation condition item value display

* chore: remove duplicate exports

* chore: minor improvements to rich filters

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
2025-09-16 20:37:39 +05:30
Saurabh Kumar
b3d721ff9c [SILO-530] Fix broken configure button in integrations and missing apps for free plan (#4214)
* fix invalid configuration url error + default apps not visible for free

* remove installed tag from default apps
2025-09-16 14:56:03 +05:30
Jayash Tripathy
c93cdeb6b8 [WEB-4902] refactor: remove website validation in integrations form #4206 2025-09-15 19:14:54 +05:30
M. Palanikannan
9a4806f5ab [WIKI-608]fix: remove redundant search bar #4207 2025-09-15 19:10:09 +05:30
Jayash Tripathy
9d502a6187 [SILO-529] refactor: integration page enhancements (#4196) 2025-09-15 17:52:32 +05:30
Bavisetti Narayan
59e791d56f [WIKI-608] feat: nested pages in teamspaces (#4103)
* chore: added nested pages in teamspace

* chore: changed the view set

* chore: added restore endpoint for project pages

* chore: added query parameters for listing archived pages

* fix: added support for nested pages

* fix: archive and move pages are present

* chore: added sub pages count

* chore: removed the duplicated code

* chore: changed the entity name for teamspace

* fix: teamspace bugs

* chore: added the sub pages filter

* fix: feature flag added

* fix: teamspace pages ff removed

* chore: added the parent select relataed

* fix: lint issues

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-09-12 21:03:50 +05:30
Vamsi Krishna
645c4fec05 [WEB-4801]feat: views lock/unlock (#4128)
* * chore: removed uneccsary dummy service file
* chore: split ProjectViewStore for ee

* feat: added global views lock/unlock functionality

* * chore: removed unused trackers
* chore: added feature flag for views lock/unlock

* chore: store refactor for method override

* chore: updated workspace service

* chore: build fix

* chore: updated lock/unlock view indicator

* fix: lint errors
2025-09-11 17:51:25 +05:30
Jayash Tripathy
a9aedde9be [WEB-4887] chore: updated trial banner to include 'Learn more' button for business and pro plans (#4176)
*  chore: enhance trial banner to include 'Learn more' button for business and enterprise plans

* fix: correct logic for displaying 'Learn more' button in trial banner based on current plan

* refactor: simplify 'Learn more' button logic in trial banner to use subscription URLs
2025-09-11 17:09:36 +05:30
Vihar Kurama
469cf584bd [WEB-4859] fix: enable customer sidebar scrolling on small screens #4163 2025-09-11 14:33:52 +05:30
Saurabh Kumar
db1f91d045 [SILO-388][WEB-4702] OAuth and Application Creation Flow Changes (#4031)
* [SILO-388][WEB-4702] Merge integrations screen and applications screen (#3708)

* refactor: merge integrations and applications page changes

* remove applications from navigations tile

* show tabs only with owned apps present

* refactor: hardcode legacy integrations in list for selfhosted

* redirect to setup url for external apps if available

* fix wrong url redirect to applications page

* add app workspace installations api (#3921)

* [SILO-448] Get App installation is allowed for a users workspaces (#3925)

* check if app installation is allowed

* rename installation to state

* optimise query using map

* optimise query using map

* optimise query via limited resource usage

* fix: ux updates

* fix: added revoke modal

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>

* user app disconnect api + member app install flow (#3886)

* chore: use app slug for update app use case

*   feat: enhance application form with new input components and layout improvements

- Introduced new form components including InputField, RichTextField, and FormSection for better structure and reusability.
- Updated CreateUpdateApplication form to utilize new components, improving readability and maintainability.
- Enhanced styling for various elements, including AppTile and AppList, to improve user experience.
- Added a collapsible section feature in the form for better organization of input fields.
- Improved integration of category selection and attachment upload functionalities.

*  feat: add collapsible sections to application form for improved organization

*  feat: enhance application details view with categorized app lists and update environment variables

- Added new environment variables for silo base URL and path.
- Refactored AppListRoot to categorize installed, third-party, and internal applications.
- Improved AppTile layout for better visual hierarchy and responsiveness.

*  feat: add RegenerateClientSecretModal for managing client secrets

- Introduced a new modal component for regenerating client secrets in the application settings.
- Implemented functionality to copy application ID, client ID, and display a masked client secret.
- Enhanced user experience with toast notifications for successful copy actions and modals for regenerated credentials.

*  feat: enhance application management with improved app lists and dynamic modals

- Refactored AppListRoot to consolidate app categorization, displaying all apps, owned apps, and internal apps more effectively.
- Updated GeneratedCredentialsModal to support dynamic titles and descriptions based on the creation or update mode.
- Enhanced CreateUpdateApplication form with new input fields for company name and improved label structures for better clarity.
- Improved user feedback in RegenerateClientSecretModal by passing the mode for better context in the credentials modal.

* ♻️  refactor: reordered form fields and input added some translations

* ♻️  refactor: cleanup

*  feat: enhance UI components with improved spacing and new icons

* ♻️  refactor: cleanup

* 📝 chore: update translations

* 🚨 fix: lint

* 🚨 fix: lint

* 🗑️ chore: remove unused ApplicationTextareaField component

* chore: update application form and translations

*  feat: enhance application form and update translations

- Updated the SettingsHeading component to include a bottom border for improved UI.
- Refactored the application form by removing unused imports and organizing field components.
- Enhanced translations across multiple languages to provide clearer instructions regarding app installation permissions.

* 🔧  fix: adjust button spacing in AppTile

* fix: format web, silo and i18n changes

---------

Co-authored-by: gakshita <akshitagoyal1516@gmail.com>
Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>
Co-authored-by: Jayash Tripathy <76092296+JayashTripathy@users.noreply.github.com>
2025-09-10 13:27:20 +05:30
Jayash Tripathy
e26f2abef9 [WEB-4696] feat: added users tab in analytics (#3906)
* feat: added users tab in analytics

* feat: export in users insight table

* ♻️  refactor: simplify InsightCard component and remove ActiveUsers component

- Removed unused TrendPiece and percentage calculation from InsightCard.
- Updated InsightCardProps to eliminate the 'versus' prop.
- Refactored TotalInsights to streamline the useAnalytics hook and added comments for clarity.
- Deleted the ActiveUsers component as it is no longer needed.
- Integrated WiResolvedVsPending component in the Users view.

* 🚧 WIP: Introduced customTicks prop in BarChart for flexible tick rendering.

* 🚧 WIP: Introduced customTicks prop in BarChart for flexible tick rendering.

*  feat: add customTooltipLabel prop to BarChart for enhanced tooltip customization

*  feat: enhance user analytics components with tooltip and data fetching improvements

*  feat: update user analytics components with improved titles and localization for work item metrics

- Updated localization files to include translations for "workitem_resolved_vs_pending" in multiple languages.
- Refactored imports in the Users component for better organization.

* ♻️  refactor: cleanup

*  feat: add WiResolvedVsPending component and custom tooltip for user analytics

*  feat: added customTicks to axis charts for flexible tick rendering

* 🔧 fix: update default bar fill color to black and ensure consistent color usage in BarChart

*  feat: add customTooltipContent prop to LineChart for enhanced tooltip flexibility

* 🔧 fix: remove duplicate customTicks prop from BarChart component

* 🚨 fix: lint

* 🚨 fix: lint

* 🚨 fix: lint

* 🔧 fix: clean up comments in users root component

* 🚨 fix: lint

* 🚨 fix: lint
2025-09-10 13:15:17 +05:30
Anmol Singh Bhatia
78e23686b6 [WEB-4816] chore: add label flow (#4106)
* chore: remove create label modal

* fix: label spinner

* chore: add label flow improvements

* chore: code refactor

* fix: merge conflicts

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-09-10 01:54:55 +05:30
Bavisetti Narayan
acee583e53 [WIKI-630] [WIKI-629] [WIKI-626] chore: organised the page comments folder (#4096)
* chore: organised the page comments folder

* chore: corrected the filter

* fix: parity

* fix: padding and spacing issues

* fix: dev wiki redirection

* fix: cancel icon on top of the reference text

* fix: hover styles and padding in new comment form

* fix: added back animations and better styles

* fix: show latest comment

* fix: comment creation handling fixed

* fix: border and hover states fix

* fix: truncate fixes

* fix: reply controller count values

* fix: scroll after opening reliably

* fix: add comment control

* fix: all other ux issues

* fix: count of showing/hiding

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-09-09 18:11:04 +05:30
M. Palanikannan
fb90b5ce41 [WIKI-648] fix: comment feature flag and app rail focus #4145 2025-09-08 15:01:01 +05:30
sriram veeraghanta
d1744c822e Merge branch 'preview' into sync/ce-ee 2025-09-05 20:18:31 +05:30
Anmol Singh Bhatia
20d139cc9e [WEB-4839] chore: maintenance mode empty state updated (#7728)
* chore: maintenance mode empty state updated

* chore: code refactor

* chore: code refactor

* chore: code refactor
2025-09-05 20:16:39 +05:30
Akshita Goyal
5883caeec4 [WEB-4556] fix: removed /new routes + fixed routing for PI app #4134 2025-09-05 20:15:41 +05:30
sriram veeraghanta
39dc4ca55c fix: eslint warning limit (#4133)
* fix: eslint changes

* chore: format files
2025-09-05 20:15:20 +05:30
Aaryan Khandelwal
9e3c18a165 [WIKI-644] fix: editor extended props (#4130)
* fix: editor embed handler prop

* fix: extended editor props

* chore: add tsc command to build
2025-09-05 13:58:12 +05:30
Henit Chobisa
62d3c6ab8f [SILO-455] feat: Slack DM Alerts (#4084)
* [SILO-456] [SILO-457] feat: Added toggle for personal account view for enabling dm alerts (#3971)

* fix: added alert config type for slack

* feat: added helper method for slack alerts

* fix: added service method and controller methods for updating alert config

* fix: updated personal account view for getting the config

* fix: resolved review comments

* [SILO-458] [SILO-459] feat: Added DM Alerts handler in silo slack worker (#4015)

* chore: added ASSIGNEE_IDS as known field

* fix: added helper functions

* fix: modified slack etl type to accomodate message expansion

* fix: added type for alert processing

* fix: added alert service with tests

* fix: added dm alert handler in controller

* fix: refactored connection details helper for common code

* fix: added method for parsing html and extracting mention component out of html

* fix: encapsulated comment views into comment files

* fix: added inverted mode to user map fucntion

* fix: added helpers

* feat: added DM Alerts handler

* fix: added comment reply handler for block actions

* fix: node html parser importx

* fix: renamed function better for alert config

* fix: resolved review comments

* fix: added better error handling

* fix: review comments and function renaming

* [SILO-484] feat: added translations and modified design of dm alert blocks (#4082)

* fix: added actor displayname in display text

* fix: added translations

* fix: reduced ttl timings of alerts

* fix: filtered actor and affected user

* fix: added conditional quoting for WI linkback

* fix: formatted all the files

---------

Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>
2025-09-05 13:23:40 +05:30
Anmol Singh Bhatia
c9723e859b [WEB-4840] chore: icon migration from @plane/ui to @plane/propel/icons (#4115)
* chore: move icons from ui package to propel package

* chore: package and tsdown config updated

* chore: migrate all icon imports from @plane/ui to @plane/propel/icons

* chore: remove icon components from @plane/ui package (migrated to
  @plane/propel/icons)

* chore: code refactoring

* chore: migrate remaining icon components from @Plane/ui to @Plane/propel/icons

* chore: move ee specific icons from ui package to propel package

* chore: propel package dep. added to editor package

* chore: migrate icon components from @plane/ui to @plane/propel/icons in dev-wiki

* chore: migrate icon components from @plane/ui to @plane/propel/icons in space

* chore: migrate icon components from @plane/ui to @plane/propel/icons in web

* chore: migrate icon components from @plane/ui to @plane/propel/icons in web

* chore: migrate icon components from @plane/ui to @plane/propel/icons in web

* chore: migrate icon components from @plane/ui to @plane/propel/icons in web

* chore: migrate icon components from @plane/ui to @plane/propel/icons in web
2025-09-04 18:38:47 +05:30
sriram veeraghanta
4d79b27a67 [WEB-4804] chore: fix all file formatting and eslint errors (#4123)
* chore: fix all file formating

* fix: eslint errors
2025-09-04 16:48:18 +05:30
Vipin Chaudhary
ab371908de [WIKI-615] fix: shared pages position #4112 2025-09-04 14:15:29 +05:30
Vipin Chaudhary
39287a6a58 [WIKI-614] chore: update public to workspace in ui level (#4080)
* chore: update public to work space in ui level

* chore: update type

* chore : update project public logic

* chore : fix translation
2025-09-04 14:14:57 +05:30
Prateek Shourya
e76f9af1c1 [WEB-4848] fix: add safe index access in templates components and utils (#4111) 2025-09-03 20:43:55 +05:30
Akshita Goyal
e9c9534cb0 [WEB-4783] fix: cycle charts pending button nav fixed 2025-09-03 20:16:18 +05:30
Akshita Goyal
43752ce4cc [PAI-721] feat: added history in pi side car (#4095)
* feat: added history in pi side car

* fix: build
2025-09-03 20:15:36 +05:30
Akshita Goyal
a6dc21a16c [WEB-4556] fix: fixed routing for pi chat (#3974)
* fix: fixed routing for pi chat

* fix: added progress bar for home page pi input box

* fix: threads based on workspace

* fix: loading state fixed

* fix: refactor
2025-09-03 19:49:18 +05:30
sriramveeraghanta
dd02e84d40 fix: build errors 2025-09-03 14:31:51 +05:30
sriramveeraghanta
262ed7129d fix: tsdown changes 2025-09-03 14:27:33 +05:30
Anmol Singh Bhatia
9215d99e2b [WEB-4605] feat: initiative logo and icon implementation (#4075) 2025-09-03 13:38:02 +05:30
Jayash Tripathy
cdec24495e [WEB-4125] feat: add feature flag for dashboard widgets filters (#4083) 2025-09-03 13:36:59 +05:30
Akshita Goyal
cef5b9aa62 [PAI-718] feat: pi actions(build) (#4066) 2025-09-02 20:15:56 +05:30
Anmol Singh Bhatia
0ca1234474 fix: build error (#4085) 2025-09-02 20:02:45 +05:30
Anmol Singh Bhatia
f1d7a48e52 [WEB-4734] feat: replace emoji picker with frimousse (#4045) 2025-09-02 19:19:53 +05:30
Anmol Singh Bhatia
6b17d95746 [WEB-4724] feat: migrate tooltips from blueprintjs to base-ui (#4048)
* feat: add card component to propel package and update tooltip imports

* refactor: remove @plane/ui dependency and update tooltip imports to use local card component

* fix: lint

* refactor: update import from @plane/ui to @plane/utils in command component

* chore: removed blueprintjs/core and blueprintjs/popover2 dependencies

* chore: updated tooltip instances across platform and performed related code refactoring

* chore: code refactor

* chore: code refactor

* fix: lint and build error

* chore: code refactor

* chore: code refactor

* chore: code refactor

* chore: code refactor

* chore: propel tooltip implementation

---------

Co-authored-by: Jayash Tripathy <76092296+JayashTripathy@users.noreply.github.com>
2025-09-02 18:21:41 +05:30
Vamsi Krishna
e5fe8fe1fe [WEB-4775] fix: double border at epic settings header #4037 2025-09-02 18:07:36 +05:30
Anmol Singh Bhatia
50efec8df0 [WEB-4794] fix: project page header #4053 2025-09-02 18:07:04 +05:30
Vamsi Krishna
f618fb65a2 [WEB-4833] fix: timeline date updates #4072 2025-09-02 18:02:57 +05:30
Prateek Shourya
7733efa0a0 [WEB-4821] fix: project level page templates image preview (#4070) 2025-09-02 13:50:09 +05:30
Jayash Tripathy
9fbb1a42d0 [WEB-4125] [WEB-4824] feat: dashboard widget rich filters (#3881)
* feat: rich filters store architecture and UI components

* improvements: minor enhancements for rich filters
* added button configuration to add filters button
* added option to disable transition for filter item
* fixed filter item label truncation
* added support for changing work item filter config keys

* improvements: add filter button config initialization

* feat: done basic  setup of rich filters in dashboard widgets

* refactor: clean up whitespace in widget type definitions

* feat: implement complex filtering backend for Django REST Framework

* Added ComplexFilterBackend to support advanced JSON-based filtering with logical operators.
* Introduced DashboardWidgetIssueFilterSet for filtering issues based on various criteria.
* Updated widget views to utilize the new filtering capabilities.
* Refactored widget_graph_plot.py to streamline query construction.
* Added README documentation for the filters module detailing usage and examples.

* chore: update filter configurations and clean up

* Enhance ComplexFilterBackend for improved performance and documentation

* Updated WidgetListEndpoint to pass the view instance to the filter method.
* Optimized NOT operations to use subqueries instead of large IN clauses for better performance.
* Removed deprecated range filter validation logic.
* Expanded README documentation to include performance considerations and advanced usage examples for NOT operations.

* Refactor DashboardWidgetIssueFilterSet to use custom filter methods for soft delete exclusion

* Replaced direct field lookups with custom filter methods for assignee, cycle, module, mention, and label IDs to exclude soft deleted records.
* Added new filter methods for label ID and label ID in to enhance filtering capabilities.
* Improved code readability and maintainability by centralizing filtering logic.

* refactor: remove unused export for TAutomationConditionFilterExpression in widget.ts

* fix: types

* chore: added more filters

* refactor: made the TFilterValue typed and add config for boolean

* refactor: made TFilterValue typed and add config for boolean

* Refactor WidgetListEndpoint to streamline issue filtering logic

* Updated the issue filtering process to first retrieve workspace by slug, improving clarity and maintainability.
* Consolidated filtering conditions into a single query for better performance and readability.
* Enhanced the DashboardWidgetIssueFilterSet to utilize the new filtering capabilities for label IDs.

* Enhance ComplexFilterBackend with depth validation and structure checks

* Introduced maximum depth validation for complex filters to prevent excessive nesting.
* Added structure validation to ensure proper JSON format for filter nodes.
* Implemented detailed error handling for various filter scenarios, improving robustness and user feedback.

* Refactor WidgetListEndpoint to improve workspace and dashboard retrieval

* Updated the WidgetListEndpoint to retrieve the workspace by slug before querying the dashboard, enhancing clarity and maintainability.
* Replaced multiple filter conditions with workspace ID for dashboard and widget queries, improving performance and consistency.
* Removed redundant workspace retrieval from the end of the method to streamline the code.

* chore: remove boolean filter value input

* improvements: define value type for filter configs

* chore: add default value type for filter configs

* chore: minor type updates for filter configs

* imrovement: type safety of the operators in rich filters

* refactor: reverted to old types of rich filters

* refactor: reverted to old label of rich filters

* refactor: enhance dashboard widget filters with new adapter and HOC

- Replaced the existing WidgetConfigSidebarFilters with EnhancedWidgetConfigSidebarFilters to support new filter logic.
- Introduced DashboardWidgetFilterAdapter for converting between internal and external filter expressions.
- Updated filter configurations to use the new external filter structure.
- Removed the old filters adapter and adjusted related types for better clarity and maintainability.
- Cleaned up imports and improved code organization in the filters components.

* chore: cleanup

* chore: cleanup

* refactor: update dashboard filters and add observable for filters

* refactor: comment out draft filter configuration in dashboard filters

* ♻️  refactor:  adaptor to have comma separated array values and removed draft filter config

* ♻️ refactor: updated the default value for the empty expression

* ♻️ refactor: value sanitization for empty values

*  feat: enhance sidebar filters with loading state and optimized data fetching

* 🧹 chore: remove duplicate export of work-item-filters from utils index

* 🎨 style: update button variant in sidebar filters from neutral-primary to accent-primary

* 🔧 fix: update dependency in withFilters to include handleSubmit in effect dependencies

* 🔧 fix: update _parseFilterValue to handle SingleOrArray type for filter values

* Removed unnecessary code

* ♻️ refactor: integrate workspace project fetching and improve dashboard filter handling

* 🔧 fix: rename EXTERNAL_OPERATOR_SEPARATOR to EXTERNAL_WIDGET_OPERATOR_SEPARATOR for consistency in filter handling

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
2025-09-02 12:37:15 +05:30
sriram veeraghanta
966a58ee1b [WIKI-613] fix: rename pages to wiki from the workspace pages screen #4046 2025-09-02 12:32:04 +05:30
Bavisetti Narayan
9e11dc9cdc [WIKI-511] feat: inline page comments (#3599)
* feat: page comments

* chore: added node id

* chore: changed reverse relation

* chore: added resolve comment endpoint

* fix: build errors

* fix: basic comment decoration added

* fix: add marks

* fix: operations

* fix: to ditch decorations approach!

* fix: move dev-wiki into apps

* fix: new approach with some more types

* fix: link view container

* fix: editor ee packages updated

* fix: basic threads implementation added

* fix: comments scroll and filtering

* fix scrolling

* chore: added total count for comments

* fix: seperate the comments store

* fix: comments removal

* feat: multi comment on same mark

* fix: mark fixed and styles of comments fixed!

* feat: added better animations

* fix: better styles and animations for comments

* fix: ee seperation

* fix: threads api fix

* fix: new comment store attached

* fix: resolve and delete

* fix: remove framer motion

* fix: add comment ordering

* fix: delete extension

* fix: web

* fix: context aware comments

* fix: new working comment store

* fix: getting changes to web

* fix: ui of comments

* fix: comment mark resolution fixed

* fix: move changes to store

* temp fix: project pages

* fix: comments using lite text editor

* fix: rerendering infinitely

* fix: comment box and reference

* chore: updated the migration file

* fix: move things to ee

* chore: un commented the feature flag logic

* chore: removed an extra line in feature flag

* fix: editor types

* fix: scrolling of thread items

* fix: scrolling of thread items

* fix: type errors

* fix: comment creation

* fix: page comments

* fix: page comments

* fix: remove utils

* fix: added feature flagging

* fix:loading json content

* fix: upload items

* fix: upload items

* fix: ui chanegs

* fix: comment box

* fix: better spacing

* Fix spacing and removing the divs not needed anymore

* fix: comments storing json

* Add comment thread management hooks

* Replace use-new-comment hook with use-scroll-manager

Remove useNewComment hook and related logic. Add useScrollManager hook
for managing scroll behavior in the comments sidebar. Refactor
threads-sidebar to use scroll manager for thread and comment box
navigation. Add cancel button to new comment box.

* Remove hover and click effects for resolved comment marks

* Auto-scroll new comments in sidebar after order sync

Adds highlight and scroll-to behavior for newly created comments.
Sidebar now scrolls to the new thread after comments order updates.

* Add granular page comment permissions and UI checks

Introduce canCurrentUserCommentOnPage permission for pages. Update
comment UI to respect user comment permissions. Refactor comment
creation logic into useNewComment hook. Hide comment/reply UI for users
without permission.

* Refactor comments components and imports for clarity and type safety

* Refactor comments components to use local types and remove unused files

- Move type definitions from shared types file into local components -
Remove unused comment-reactions component and types/index.ts - Update
imports to use local hooks and types - Minor code cleanup and formatting

* Refactor comments feature flag and clean up comments components

- Replace isPageCommentsEnabled with isCommentsEnabled in page stores -
Remove unused types, utils, and reactions components from comments -
Move and rename comments components for consistency - Update editor
flagging to use new comments feature flag logic - Simplify comments
sidebar and thread item structure - Remove redundant exports and props
from comments modules

* Refactor comments extension to use workspace feature flag

- Pass storeType to navigation pane extensions - Check isCommentsEnabled
with workspaceSlug before rendering comments - Update canComment logic
to use canCurrentUserCommentOnPage - Remove console.log and unused code
- Fix types for extension props

* Add canCurrentUserCommentOnPage to TeamspacePage

* Refactor TCommentConfig type and move EditorSideEffects

- Move TCommentConfig to ce/types/editor.ts and ee

* fix: ce sync

* fix: prosemirror-model fixed

* chore: removed the extra migration

* chore: added page comments serializer

* fix: comments

* refactor: comments

* fix: ce/ee seperation

* chore: changed the page serialization

* fix: page comments refactored

* fix: remove ce changes

* fix: restoration for nested pages fixed

* fix: less ce changes

* fix: imports

* fix: better refactoring of page root and editor body

* fix: renaming files

* fix: editor sideeffects

* fix: add comments json field

* fix: page comments types

* fix: lint warnings

* fix: props name change

* fix: props name

* fix: comment mark

* fix: import type

* fix: review changes

* fix: extra checks

* fix: type changes

* fix: remove editor ref current

* fix: renaming

* fix: renaming files

* fix: comments extension revamp

* fix: declaring better types

* fix: better types

* fix: hooks seperated

* fix: edit box

* fix: html validation

* fix: agents md

* fix: naming convention

* fix: update names and service methods

* fix: more fixes

* fix: attributs

* fix: dev wiki sync

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2025-09-01 20:56:52 +05:30
Vipin Chaudhary
a472423893 [WIKI-589] fix: create page flow from the team space pages and workspace pages empty state (#4056)
* fix : update workspace pages add page logic

* fix: update team space pages

* chore : update translations

* fix: update new page click handler

* refactor: update handle create page

* chore : update router

* chore: update function call

* chore: udpate handle create page call
2025-09-01 17:33:56 +05:30
Vipin Chaudhary
2d51596018 [WIKI-620] chore: update external embed component attribute and types (#4047)
* chore: update external embed extension name

* refactor: fix zindex

* refactor: update external embed attribute

* refactor: update attribute

* chore: fix build

* chore: update entity attribute

* chore: update entity type

* chore: expose external embed extension options

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2025-09-01 15:18:39 +05:30
Henit Chobisa
c20ae6dc9d [SILO-414] feat: added support for pushing updates from multiple projects to one channel #4044 2025-08-29 19:17:24 +05:30