Commit Graph

418 Commits

Author SHA1 Message Date
Plane Bot
0530ee76dc Sync: Community Changes (#2045)
* chore: add live server prettier config (#6287)

* [PE-97] refactor: pages actions (#6234)

* dev: support for edition specific options in pages

* refactor: page quick actions

* chore: add customizable page actions

* fix: type errors

* dev: hook to get page operations

* refactor: remove unnecessary props

* chore: add permisssions to duplicate page endpoint

* chore: memoize arranged options

* chore: use enum for page access

* chore: add type assertion

* fix: auth for access change and delete

* fix: removing readonly editor

* chore: add sync for page access cahnge

* fix: sync state

* fix: indexeddb sync loader added

* fix: remove node error fixed

* style: page title and checkbox

* chore: removing the syncing logic

* revert: is editable check removed in display message

* fix: editable field optional

* fix: editable removed as optional prop

* fix: extra options import fix

* fix: remove readonly stuff

* fix: added toggle access

* chore: add access change sync

* fix: full width toggle

* refactor: types and enums added

* refactore: update store action

* chore: changed the duplicate viewset

* fix: remove the page binary

* fix: duplicate page action

* fix: merge conflicts

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>

* Integrates LiteLLM for Unified Access to Multiple LLM Models (#5925)

* adds litellm gateway

* Fixes repeating code

* Fixes error exposing

* Fixes error for None text

* handles logging exception

* Adds multiple providers support

* handling edge cases

* adds new envs to instance store

* strategy pattern for llm config

---------

Co-authored-by: akash5100 <akashzsh08@gmail.com>

* chore: merge two separate info popovers (#6289)

---------

Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Akash Verma <akash.verma@plane.so>
Co-authored-by: akash5100 <akashzsh08@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
2024-12-31 14:08:15 +05:30
Aaryan Khandelwal
36a3a4c9d3 fix: merge conflicts resolved from preview 2024-12-27 20:46:42 +05:30
Aaryan Khandelwal
8d7425a3b7 [PE-182] refactor: pages' components and store for scalability (#6283)
* refactor: created a generic base page instance

* refactor: project store hooks

* chore: add missing prop declaration

* refactor: editor page root and body

* refactor: issue embed hook

* chore: update search entity types

* fix: version editor component

* fix: add page to favorites action

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
2024-12-27 20:41:38 +05:30
Prateek Shourya
2cd8dd7393 Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee 2024-12-23 20:22:56 +05:30
M. Palanikannan
20260f0720 [PE-101] feat: smooth scrolling in editor while dragging and dropping nodes (#6233)
* fix: smoother drag scrolling

* fix: refactoring out common fns

* fix: moved to mouse events instead of drag

* fix: improving the drag preview

* fix: added better selection logic

* fix: drag handle new way almost working

* fix: drag-handle old behaviour with better scrolling

* fix: remove experiments

* fix: better scroll thresholds

* fix: transition to drop cursor added

* fix: drag handling speed

* fix: cleaning up listeners

* fix: common out selection and dragging logic

* fix: scroll threshold logic fixed
2024-12-23 20:04:34 +05:30
M. Palanikannan
ac47cc62ee [PE-102] fix: zooming for fullscreen images (#6266)
* fix: added magnification properly and also moving around the zoomed image

* fix: zoom via trackpad pinch

* fix: update imports

* fix: initial magnification is reset
2024-12-23 20:03:10 +05:30
sriram veeraghanta
ba2e1d7404 Merge branch 'preview' into sync/ce-ee 2024-12-21 19:48:19 +05:30
sriram veeraghanta
60f7edcef8 fix: moving space constants to package 2024-12-21 17:17:43 +05:30
Aaryan Khandelwal
3c8c657ee0 fix: cn helper function inport error (#6244) 2024-12-20 14:17:22 +05:30
Aaryan Khandelwal
f59f6340f6 fix: merge conflicts resolved from preview 2024-12-20 14:01:39 +05:30
Aaryan Khandelwal
119d343d5f [PE-93] refactor: editor mentions extension (#6178)
* refactor: editor mentions

* fix: build errors

* fix: build errors

* chore: add cycle status to search endpoint response

* fix: build errors

* fix: dynamic mention content in markdown

* chore: update entity search endpoint

* style: user mention popover

* chore: edition specific mention content handler

* chore: show deactivated user for old mentions

* chore: update search entity keys

* refactor: use editor mention hook
2024-12-20 13:41:25 +05:30
Akshita Goyal
e2cec28715 Fix: workspace pages readonly editor (#1969)
* fix: remove readonly editor

* fix: flickering

* fix: pi editor splitting + cn imports fixed

* fix: remove readonly editor ref from page root

* fix: space app cn import from editor

* fix: remove dead code

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2024-12-18 14:52:06 +05:30
Aaryan Khandelwal
17b0c3d4c4 fix: merge conflicts resolved from preview 2024-12-18 13:27:14 +05:30
Aaryan Khandelwal
5773c2bde3 chore: gif support for editor (#6219) 2024-12-18 13:17:05 +05:30
M. Palanikannan
e33bae2125 [PE-92] fix: removing readonly collaborative document editor (#6209)
* fix: removing readonly editor

* fix: sync state

* fix: indexeddb sync loader added

* fix: remove node error fixed

* style: page title and checkbox

* chore: removing the syncing logic

* revert: is editable check removed in display message

* fix: editable field optional

* fix: editable removed as optional prop

* fix: extra options import fix

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2024-12-18 12:58:18 +05:30
Aaryan Khandelwal
580c4b1930 refactor: remove cn helper function from the editor package (#6217) 2024-12-18 12:22:14 +05:30
Akshita Goyal
a73c4a3b2b fix: pi css fix (#1717)
* fix: pi css fix

* fix: thread title

* fix: focus filter height
2024-12-13 17:44:42 +05:30
Prateek Shourya
66d1aab9b9 revert: drag handle offset for desktop application (#1924) 2024-12-13 15:54:54 +05:30
sriram veeraghanta
c6c54591a8 fix: package resolutions 2024-12-12 13:39:10 +05:30
sriram veeraghanta
d4b0beef2e fix: package version upgrades 2024-12-12 13:28:37 +05:30
Prateek Shourya
df39f074a7 chore: remove custom title bar from windows application. (#1556)
* chore: remove custom title bar from windows application.

* fix: drag handle position for desktop application.

* chore: minor improvements.

* chore: revert back windows app changes.

* chore: remove unused dependency

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-12-11 18:53:16 +05:30
sriram veeraghanta
964fc5a03d Merge branch 'preview' into sync/ce-ee 2024-12-11 02:06:56 +05:30
sriram veeraghanta
f06b1b8c4a fix: updated package version 2024-12-10 21:02:29 +05:30
sriram veeraghanta
23e46ed485 fix: merge conflicts 2024-12-06 16:33:46 +05:30
sriram veeraghanta
4b5a2bc4e5 chore: lint related changes and packaging fixes (#6163)
* fix: lint related changes and packaging fixes

* adding color validations
2024-12-06 14:56:49 +05:30
sriram veeraghanta
481e5d8d7a Merge pull request #1870 from makeplane/sync/ce-ee
Sync: Community Changes
2024-12-04 17:27:25 +05:30
sriram veeraghanta
fa3aa362a9 fix: lint errors 2024-12-04 17:22:41 +05:30
pablohashescobar
f3c0348323 fix: merge conflicts 2024-12-04 14:11:47 +05:30
Aaryan Khandelwal
64a44f4fce style: add custom class to editor paragraph and heading blocks (#6143) 2024-12-04 13:43:52 +05:30
Aaryan Khandelwal
9bdfd043ec fix: slash commands 2024-12-03 16:42:48 +05:30
Aaryan Khandelwal
60be59b3aa fix: merge conflicts resolved from preview 2024-12-02 14:48:49 +05:30
M. Palanikannan
3c6006d04a [PE-31] feat: Add lock unlock archive restore realtime sync (#5629)
* fix: add lock unlock archive restore realtime sync

* fix: show only after editor loads

* fix: added strong types

* fix: live events fixed

* fix: remove unused vars and logs

* fix: converted objects to enum

* fix: error handling and removing the events in read only mode

* fix: added check to only update if the image aspect ratio is not present already

* fix: imports

* fix: props order

* revert: no need of these changes anymore

* fix: updated type names

* fix: order of things

* fix: fixed types and renamed variables

* fix: better typing for the real time updates

* fix: trying multiplexing our socket connection

* fix: multiplexing socket connection in read only editor as well

* fix: remove single socket logic

* fix: fixing the cleanup deps for the provider and localprovider

* fix: add a better data structure for managing events

* chore: refactored realtime events into hooks

* feat: fetch page meta while focusing tabs

* fix: cycling through items on slash command item in down arrow

* fix: better naming convention for realtime events

* fix: simplified localprovider initialization and cleaning

* fix: types from ui

* fix: abstracted away from exposing the provider directly

* fix: coderabbit suggestions

* regression: pass user in dependency array

* fix: removed page action api calls by the other users the document is synced with

* chore: removed unused imports
2024-12-02 14:26:36 +05:30
Aaryan Khandelwal
9f14167ef5 refactor: editor code splitting (#6102)
* fix: merge conflicts resolved from preview

* fix: space app build errors

* fix: product updates modal

* fix: build errors

* fix: lite text read only editor

* refactor: additional options push logic
2024-12-02 13:51:27 +05:30
Aaryan Khandelwal
11bfbe560a fix: checked colored todo list item (#6113) 2024-12-02 13:47:50 +05:30
Aaryan Khandelwal
fc52936024 fix: escape markdown content for images (#6096) 2024-12-02 13:36:12 +05:30
sriram veeraghanta
cfdab9bd1d fix: merge conflicts 2024-11-29 20:15:39 +05:30
sriram veeraghanta
f1e6f59716 chore: package version updated 2024-11-29 14:37:53 +05:30
sriram veeraghanta
2767552eaf Merge pull request #1825 from makeplane/sync/ce-ee
Sync: Community Changes
2024-11-27 18:22:31 +05:30
sriram veeraghanta
d2758fe5e6 Revert "fix: refactor editor extensions code spliting"
This reverts commit 234513278f.
2024-11-27 18:20:41 +05:30
Prateek Shourya
6ad25cb7f7 Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee 2024-11-26 20:35:01 +05:30
sriram veeraghanta
234513278f fix: refactor editor extensions code spliting 2024-11-26 18:08:32 +05:30
Aaryan Khandelwal
9408e92e44 Revert "[WEB-1435] dev: conflict free issue descriptions (#5912)" (#6000)
This reverts commit e9680cab74.
2024-11-15 17:13:31 +05:30
Aaryan Khandelwal
e9680cab74 [WEB-1435] dev: conflict free issue descriptions (#5912)
* chore: new description binary endpoints

* chore: conflict free issue description

* chore: fix submitting status

* chore: update yjs utils

* chore: handle component re-mounting

* chore: update buffer response type

* chore: add try catch for issue description update

* chore: update buffer response type

* chore: description binary in retrieve

* chore: update issue description hook

* chore: decode description binary

* chore: migrations fixes and cleanup

* chore: migration fixes

* fix: inbox issue description

* chore: move update operations to the issue store

* fix: merge conflicts

* chore: reverted the commit

* chore: removed the unwanted imports

* chore: remove unnecessary props

* chore: remove unused services

* chore: update live server error handling

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-11-15 16:38:58 +05:30
Akshita Goyal
54ddca88ad fix: pi chat (#1703)
* fix: is_new in getAnswers api

* fix: editor getting stuck issue

* fix: word break

* fix: hidden projects user is not a part of from focus dropdown

* fix: showing only the projects with permissions in the focus dropdown

* fix: css

* fix: removed log
2024-11-13 15:14:34 +05:30
Plane Bot
4f558bc250 fix: custom background color for table header (#5989) (#1698)
Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
2024-11-12 15:29:49 +05:30
Aaryan Khandelwal
106710f3d0 fix: custom background color for table header (#5989) 2024-11-12 15:26:57 +05:30
Aaryan Khandelwal
c5abf161f4 fix: editor placeholder color (#1692) 2024-11-11 18:27:10 +05:30
Akshita Goyal
009c866cc0 Fix pi models css (#1690)
* fix: models + css

* fix: banner images for pi

* fix: pi message styling

* fix: added mentions icons

* fix: css fixes + added focus toggle

* chore: added feedback for each message

* fix: sidebar padding
2024-11-11 18:26:36 +05:30
pushya22
3cfe97f3ff Merge pull request #1693 from makeplane/sync/ce-ee
Sync: Community Changes
2024-11-11 16:16:15 +05:30
Aaryan Khandelwal
97eb8d43d4 style: updated margins and font styles for editor (#5978)
* style: updated margins and font styles for editor

* fix: code block font size in small font

* fix: remove duplicate code
2024-11-11 16:10:47 +05:30