Commit Graph

320 Commits

Author SHA1 Message Date
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
Aaryan Khandelwal
f451a7c2d9 fix: merge conflicts resolved from preview 2025-09-01 22:53:30 +05:30
M. Palanikannan
fd5ba6c7b8 [WIKI-511] [WIKI-572] fix: extended page root and editor body (#7661)
* fix: better refactoring of page root and editor body

* fix: editor sideeffects

* fix: add comments json field

* fix: props name

* fix: review changes

* fix: extra checks

* fix: type changes

* fix: remove editor ref current

* fix: renaming

* fix: link check
2025-09-01 22:17:53 +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
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
Vipin Chaudhary
3d95679935 [WIKI-609] fix: emoji enter key Propagation #4033 2025-08-29 01:58:42 +05:30
Vipin Chaudhary
af943a22bb [WIKI-611] fix: update conversion logic to check http (#4030)
* fix: update conversion logic to check http

* chore: rename variable

* chore: upate check
2025-08-28 18:34:46 +05:30
sriram veeraghanta
bacbfe0cc1 Merge branch 'preview' into sync/ce-ee 2025-08-27 16:33:28 +05:30
Vipin Chaudhary
5d1ad8a183 [WIKI-550] fix: emoji modal for touch device (#7651)
* fix: emoji modal for touch device

* refactor: editor from props

* fix : update is touch device plugin
2025-08-27 00:39:47 +05:30
Vipin Chaudhary
f95a07d8c8 [WIKI-436] fix: check for code in alignment #7649 2025-08-27 00:39:26 +05:30
M. Palanikannan
43292d58c5 [WIKI-600] fix: build fix and reusing functions (#4006)
* fix: page link component type added

* fix: document handlers

* fix: reuse functions
2025-08-26 17:11:17 +05:30
Vipin Chaudhary
0a2d46882b [WIKI-606] fix: embed type update (#3995)
* fix : embed type update

* fix: disable embed for touch device
2025-08-26 15:49:47 +05:30
Bavisetti Narayan
6951885b2f [WIKI-600] chore: added page duplication logic (#3977) 2025-08-26 15:49:20 +05:30
sriram veeraghanta
3fb6b385d8 Sync: Community Changes #4001 2025-08-26 14:28:36 +05:30
Vipin Chaudhary
cf7b288f93 [WIKI-345] regression: update block menu options (#7647)
* chore: update flagged and disabled extension

* chore :build fix
2025-08-26 14:18:26 +05:30
Aaryan Khandelwal
fdfa9a8c99 fix: merge conflicts resolved from preview 2025-08-26 13:16:22 +05:30
Akshita Goyal
91eee8f053 [PAI-712] feat: pi converse (#3939)
* feat: speech to txt wip

* fix: editor

* fix: ui changes

* fix: speech input minor fixes

* fix: prevented rerenders in input box + initialized before transcribing for new chat + improved waveform

* fix: css

* fix: added workspace_id to initialize chat

* fix: added feature flag for pi speech input

* fix: feature flag

* fix: refactor
2025-08-26 02:25:23 +05:30
Vipin Chaudhary
0fe7da6265 [WIKI-345] chore: pass disabled and flagged extensions to block menu (#7152)
* chore: refactor editor

* sync changes

* feat: api service update

* refactor : update sync

* fix : package sync

* fix: requested changes

* fix : embedhandler type

* fix : remove commands

* refactor : space

* refactor : rich lite editors

* refactor : minor ce changes

* chore : minor ui fix

* package: tldjs

* refactor : remove tldjs

* refactor: flagged

* refactor: flagged

* chore : remove disbaled check in menu

* refactor: fix space

* refactor: NodeViewProps

* refactor: type

* refactor : update community types

* refactor : remove external embed CE

* remove : external embed config from ce

* refactor : update disabled

* chore: pass disabled

* chore : update utils
2025-08-26 02:23:50 +05:30
Aaryan Khandelwal
34e231230f [WIKI-498] regression: table bugs #7631 2025-08-26 02:13:27 +05:30
Lakhan Baheti
eb5ac2fc2d [WIKI-602] chore: disable image alignment tooltip for touch devices (#7642)
* chore: disable image alignment tooltip for touch devices

* chore: added touch-select-none style
2025-08-26 02:12:04 +05:30
Vipin Chaudhary
7f47aa2676 [WIKI-604] fix: iframely endpoint (#3991)
* chore: accept src in editor commands

* fix : trailing slash issue

* feat: add touch device click handler

* refactor: update iframley request
2025-08-25 19:00:42 +05:30
Vipin Chaudhary
870ad552e3 [WIKI-345] feat: editor external embeds (#2924)
* refactor: iframe service

* refactor: name iframely

* refactor: use extension storage

* refactor:error handler

* refactor : error handling

* fix: drag handler inside error

* feat: refactor space embed handler

* refactor: handle convert UI

* refactor : iframely service , controller

* refactor: fix modal opening logic

* feat: loading in twit embed.

* fix: twit frame

* feat :tweet fix in space.

* refactor: change name casing

* feat: add icon link

* feat: added animation

* fix : iframe styles

* refactor : update link-container

* refactor : fix build

* feat: handle link url mark

* fix: iframely service created in web

* fix: group issue

* fix: use live URL instead

* fix : close embed modal

* feat: handle arrow keys

* fix: handle error

* fix : remove logs

* feat: handle bookmark

* feat: handle og image

* chore:remove observer

* feat: handle bookmark and embed

* feat: handle custom render

* chore: clean up

* feat: handle conversion

* fix : handle links properly

* feat: handle figma embed

* refactor : put iframely controller in ee

* refactor: better icon

* feat: feature flag external embed

* feat: timeout

* feat: refactor embed component

* refactor: upgrade plan

* feat :handle block menu

* feat: handle comment

* fix : reloads

* refactor : remove border

* fix : embed order

* fix :Embed handler

* feat: insert embed v1

* feat : web bookmark command

* chore: fix text

* feat: ui updates

* feat: handle cursor focus

* feat: update isopened in storage

* feat: add platform name

* fix:deny plane embed

* feat: props update

* feat: handle embed options properly

* chore: minor changes

* chore : add external embeds in the page form

* chore : convert bookmark to rich card

* feat : update thumnail not found

* feat: add new loading animation

* fix : handle paste embed

* feat:block translation

* feat: basic local setup

* feat: embed translation for all languages

* chore : update feature flag name

* feat: handle feature flag in space

* FIX: add build in i18n package

* fix : update props for embed handler

* chore : remove comments

* chore : move hooks

* FIX : package update

* FIX: live

* feat: handle unique ID

* feat: handle thumbnails

* chore : remove useless fetch

* chore : update types

* refactor : twitter theme

* chore : remove slash command for rich card

* chore: different text in readonly

* refactor : change editor name

* refactor: update modal style

* refactor : make the html simple

* refactor : external extension

* refactor : rename extension

* refactor: attribute names

* refactor : add entity type

* refactor: figma hook

* refactor: remove translations

* fix : creds

* feat: handle iframely api auth

* feat: handle space embed load

* feat: handle paste link

* feat: styles updates

* chore : remove editable condition

* remove link-container

* feat : feature flag slash command

* chore

* fix

* chore : refactor external embed

* refactor : fix embed insert

* chore : remove auth

* chore : remove old code

* fix : build

* fix:auth

* Fix: floating portal Fix

* fix: refactor

* fix : update types

* fix: build

* fix : update iframe response types

* refactor: embed ui components

* refactor : emebd components

* refactor : add tailwind animations

* refactor core

* refactor ce

* refactor : move icons

* refactor lite editor

* small refactor

* refactor : update icons import

* build fix

* fix: cors

* feat: update project structure

* refactor : embed handler

* refactor : embed hooks

* refactor : packages

* chore: embed setup in dev wiki

* refactor: embed extension

* refactor:fix types

* refactor: external emebds

* chore: clean imports

* chore :remove readonly editor types

* chore : remove logs

* Revert changes to dev-wiki/

* refactor: remove upgrade plane component

* feat: add unique id

* refactor : update fetching logic with useSWR

* Feat: Handle auth in iframley API

* feat:update embed select style

* refactor : remove useless component

* refactor : widge embed

* Remove changes to i18n locales path

* refactor: utils

* refactor : update emebd handler

* wip --

* fix : build

* refactor : block menu

* refactor:remove unused code

* refactor : update block menu

* refactor: slash command feature flag

* refactor: add badge in slash command

* refactor: editor attribute

* refactor : embed handler

* fix : swr

* fix : build

* refactor: feature flag space

* refactor : storage types

* refactor: remove embeddable

* refactor: space remove feature flag

* refactor: update space feature flag

* refactor: external embed

* fix :rerender

* build : fix hooks

* fix: block menu refactor

* refactor: hooks

* refactor: move tldjs

* refactor :extension

* refactor: page render

* refactor : update NodeViewProps types

* refactor : embed handler space

* refactor: update has_embed_failed

* refactor: remove useless render code

* refactor : twitter embed

* fix : build

* refactor : attribute with commands

* refactor : external embed extension.

* refactor: external embed storage.

* fix : rich and embed types

* fix : web embed

* style : selection

* refactor: space embed handler

* fix : extension storage

* refactor: embed types

* refactor: imports

* fix : page renderer

* chore: add comment

* chore: update comments

* chore: install tldjs

* refactor: update ui package

* fix :dev-wiki pnpm changes

* chore: minor improvements

* refactor : update embed  type

* refactor : update component name

* refactor :url modifier

* refactor: remove external embed ce

* feat: disabled external embed

* refactor: add disabled props

* refactor:  remove get attribute method

* refactor: package ui styles

* feat: translations

* refactor: theme type

* feat: jwt auth

* improve: add jwt auth for user

* chore :comment translations

* refactor: api params

* refactor: update types

* refactor: update props

* refactor: constants

* refactor: lite comments

* refactor: add type imports

* refactor:external embed node view

* refactor: move tldjs to dev dep

* refactor: add flagged check

* refactor: update slice imports

* refactor: update type changes

* chore : remove comments

* refactor : update nodeview types

* chore :remove type export

* chore: update icon

* chore: update iframley types

* fix: build errors

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-08-25 02:30:03 +05:30
sriram veeraghanta
f78bcb1b00 fix: merge conflicts 2025-08-24 15:26:50 +05:30
Aaryan Khandelwal
9ecea15d74 [WIKI-498] [WIKI-567] feat: ability to rearrange columns and rows in table (#7624)
* feat: ability to rearrange columns and rows

* chore: update delete icon

* refactor: table utilities and plugins

* chore: handle edge cases

* chore: safe pseudo element inserts

---------

Co-authored-by: Sriram Veeraghanta <veeraghanta.sriram@gmail.com>
2025-08-23 00:54:03 +05:30
M. Palanikannan
13f2e26d91 regression: prosemirror-model version fixed #3961 2025-08-21 22:36:52 +05:30
Lakhan Baheti
8f609849fb [WIKI-594] chore: accept additional extension options in the editor (#3931)
* chore: accept additional extension options

* chore: update menu items list

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2025-08-20 15:49:25 +05:30
Sriram Veeraghanta
eebd2b9404 fix: merge conflicts 2025-08-19 00:35:12 +05:30
Aaron Heckmann
d8f58d28ed fix: CI to include lint and format along with build (#7482)
* fix(lint): get ci passing again

* chore(ci): run lint before build

* chore(ci): exclude web app from build check for now

The web app takes too long and causes CI to timeout. Once we
improve we will reintroduce.

* fix: formating of files

* fix: adding format to ci

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
2025-08-18 21:27:16 +05:30
sriram veeraghanta
e7589fd427 [WEB-4660] chore: replace jsx element with react node (#3877)
* chore: replace jsx element with react node

* fix: jsx elements in ee components
2025-08-11 18:45:10 +05:30
Vipin Chaudhary
5baa6d92f6 [WIKI-583] : Fix math HTML parser (#3855)
* fix: block html parser

* ui : add scroll bar

* refactor: fix id

* fix : uuid

* fix : remove extra padding
2025-08-07 00:05:01 +05:30
Vipin Chaudhary
bcea9a66ab [WIKI-485] refactor: remove upgrade button (#3851)
* refactor:remove upgrade button

* refactor: remove slash command
2025-08-06 15:32:16 +05:30
Vipin Chaudhary
7eb91397b0 [WIKI-485] feat: math extension (#3639)
* feat: math extension base setup

* refactor: update math components

* feat: feature flag math extension

* refactor: rename

* fix : handle selection

* refactor: update styles

* refactor: update types

* refactor: math extension namings

* refactor: math extension

* refactor : remove flagged state

* feat: feature flagged

* feat: update upgrade modal

* refactor : upgrade modal hook

* fix : conflict

* chore: enable for testing

* refactor : math node view

* refactor : changes files name

* refactor : better name for katexDiv

* refactor : rename content

* fix :feature flag

* refactor : add types

* refactor: change files names

* refactor : update extension name

* refactor : math attribute

* refactor : input rules

* refactor : math commands

* refactor : rename commands

* refactor: input modal

* refactor : add input types

* refactor : create math input

* refactor: mathematics extension

* refactor : math extension names

* styles : add shrink

* refactor : math extension folder structure

* refactor: extension rename

* refactor : names

* refactor: update types

* refactor: comments

* feat: copy paste markdown handler

* feat: space feature flag

* feat: handle copy paste

* refactor: update math tags

* fix: loading katex css and repeated validations

* refactor: update math modal logic

* refactor: update floating modal

* refactor : remove unused code

* chore : remove logs

* feat: add transition  in modal

* refactor : remove unused attrs

* feat: add check for last node

* refactor : block math

* fix : dev wiki

* feat: handle preview

* refactor : flags

* refactor: editor container

* refactor: update storage

* refactor : remove hover logic

* refactor : remove floating container

* refactor: floating UI

* refactor: remove onClick handler

* refactor : add import comments

* refactor: update storage type

* refactor: update names

* refactor: update default flagging

* refactor :types

* refactor : update storage method

* refactor : update types

* --wip-- [skip ci]

* refactor: update disabled extension

* refactor: remove core changes

* refactor: remove rich disabled

* refactor : remove wiki changes

* feat: add check for editable editor

* chore: update styles based on editable

* refactor : update types

* feat: fix block view padding

* refactor: update upgrade modal text

* feat: handle inline block styles

* refactor: use call back for memo

* refactor: update styles

* refactor: update slash command

* refactor: make input row bigger

* refactor: update types

* refactor : update upgrade content

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-08-05 23:45:48 +05:30
Aaryan Khandelwal
78afdb2678 fix: merge conflicts resolved from preview 2025-08-04 20:03:37 +05:30
Aaryan Khandelwal
7ead606798 [WIKI-578] refactor: editor types structure #7536 2025-08-04 18:01:51 +05:30
Aaryan Khandelwal
081a59c93a fix: merge conflicts resolved from preview 2025-08-04 16:42:58 +05:30
Vipin Chaudhary
fa150c2b47 [WIKI-576] fix: trail node (#7527)
* fix : trail node

* remove flagged

* refactor : add disable flagging

* refactor:update disabled extension

* refactor: additional disabled

* refactor: update enum

* chore: add description key to page response type

* chore: update base page instance

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2025-08-04 16:12:46 +05:30
Aaryan Khandelwal
c3273b1a85 [WIKI-568] refactor: add touch device support to editor (#7439)
* refactor: add isTouchDevice prop

* chore: handle event propagation in touch devices

* refactor: isTouchDevice implementation

* chore: misc editor updates and utility functions (#7455)

* chore: misc editor updated and utility functions

* fix: code review

* passed isTouchDevice prop to editor-wrapper

* added more props to editor-wrapper.

* chore: update types

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>

* fix: remove unnecessary deps

---------

Co-authored-by: Lakhan Baheti <94619783+1akhanBaheti@users.noreply.github.com>
2025-08-04 16:04:09 +05:30
pushya22
018f45a16e Sync: Community Changes #3824 2025-08-04 15:31:16 +05:30
Vipin Chaudhary
8cc513ba5e [WIKI-577] fix: unexpected emoji input (#7534)
* fix: unexpected emoji input

* update array
2025-08-04 15:21:10 +05:30
pushya22
beb1a8454f Sync: Community Changes #3776 2025-07-30 14:14:02 +05:30
Aaryan Khandelwal
6e1734c86e [WIKI-570] fix: image alignment for read only editor #7509 2025-07-30 14:12:33 +05:30
Aaryan Khandelwal
7180570c4a fix: merge conflicts resolved from preview 2025-07-29 19:08:48 +05:30
Aaryan Khandelwal
e0fa6553ae [WIKI-539] refactor: remove lite text read only editor (#7481)
* refactor: remove lite text read only editor

* chore: update types
2025-07-29 18:09:39 +05:30
sriramveeraghanta
690621009a fix: merge conflicts 2025-07-29 12:22:11 +05:30
Vamsi Krishna
55f06cf546 [WEB-4563]fix: image full screen modal #7491 2025-07-28 19:55:13 +05:30
Aaryan Khandelwal
dd4e733fa9 [WIKI-537] [WIKI-539] refactor: document editor (#3758)
* refactor: document editor

* chore: update user prop

* fix: type warning

* refactor: document read only editor

* chore: update value prop name

* chore: remove unnecessary exports

* hore: update initialValue type

* chore: revert initialValue type
2025-07-25 16:41:12 +05:30
Aaryan Khandelwal
8933e5c676 fix: merge conflicts resolved from preview 2025-07-25 14:09:08 +05:30
Aaryan Khandelwal
27f74206a3 [WIKI-537] refactor: document editor (#7384)
* refactor: document editor

* chore: update user prop

* fix: type warning

* chore: update value prop name

* chore: remove unnecessary exports

* hore: update initialValue type

* chore: revert initialValue type

* refactor: unnecessary string handlers
2025-07-25 13:57:45 +05:30
Aaryan Khandelwal
f8353d3468 fix: eslint warnings and errors (#7479) 2025-07-25 13:40:25 +05:30
Aaron Heckmann
509202053c chore: resolve conflicts + lint errors (#3754) 2025-07-25 13:21:29 +05:30