Commit Graph

13 Commits

Author SHA1 Message Date
M. Palanikannan
d63015f53d [WIKI-697] fix: padding for comments menu with stickies #4309 2025-09-29 16:04:35 +05:30
Vipin Chaudhary
9b641e6407 [SILO-536] [WIKI-621] feat: drawio integration (#4317) 2025-09-29 15:49:29 +05:30
sriram veeraghanta
e0c4e8e791 [WEB-5027] fix: replace lodash package with lodash-es (#4305)
* fix: replace lodash pacakge with lodash-es

* fix: lint errors

* fix: replace lodash with lodash-es

* fix: lodash imports

* fix: import fixes

* fix: import fixes

* fix: lint errors

* fix: file formatting
2025-09-26 18:00:42 +05:30
M. Palanikannan
7ac0716d02 [WIKI-292] fix: page comment preview bugs (#4280) 2025-09-24 18:08:12 +05:30
Aaryan Khandelwal
8a775b4048 fix: merge conflicts resolved from preview 2025-09-24 17:59:55 +05:30
Aaryan Khandelwal
34086e7221 [WIKI-690] fix: comment mark extension in read-only editors #4261 2025-09-19 18:01:14 +05:30
Aaryan Khandelwal
cc244b84a5 [WIKI-616] feat: pages reordering (#4174) 2025-09-18 20:50:19 +05:30
M. Palanikannan
333937947e [WIKI-650] fix: page comments bugs (#4189) 2025-09-18 20:43:51 +05:30
Anmol Singh Bhatia
e53fe88199 [WEB-4841] chore: calendar component migration UI to propel (#4140)
* chore: move calendar components and dependencies

* chore: update package configurations

* chore: calendar import updated

* chore: propel config updated

* chore: propel calendar code refactor

* chore: code refactor

* chore: code refactor

* fix: build error

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-09-10 02:05:26 +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
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
Aaryan Khandelwal
e486e23b26 chore: update package.json 2025-09-01 23:09:28 +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