Commit Graph

355 Commits

Author SHA1 Message Date
Prateek Shourya
1c2e5ddaab [WEB-3938] improvement: page templates (#3181)
* fix: editor drag handle

* improvement: enable bubble menu in page template editor

* fix: create / update button alignment
2025-06-18 20:36:34 +05:30
Prateek Shourya
98fee2ac1d refactor: move web utils to packages (#3353)
* refactor: move web utils to packages

* fix: build and lint errors

* chore: update drag handle plugin

* chore: update table cell type to fix build errors

* fix: build errors

* chore: sync few changes

* feat: add pi base url to constants

* chore: update all util imports in ee folder

* chore: refactor web utils imports

* chore: update imports

* fix: build errors

* fix: build errors

* fix: update utils import

* chore: minor fixes related to duplicate assets imports

* chore: update duplicate assets service

* [WEB-4316] chore: new endpoints to download an asset (#7207)

* chore: new endpoints to download an asset

* chore: add exception handling

* [WEB-4323] refactor: Analytics refactor (#7213)

* chore: updated label for epics

* chore: improved export logic

* refactor: move csvConfig to export.ts and clean up export logic

* refactor: remove unused CSV export logic from WorkItemsInsightTable component

* refactor: streamline data handling in InsightTable component for improved rendering

* feat: add translation for "No. of {entity}" and update priority chart y-axis label to use new translation

* refactor: cleaned up some component and added utilitites

* feat: add "at_risk" translation to multiple languages in translations.json files

* refactor: update TrendPiece component to use new status variants for analytics

* fix: adjust TrendPiece component logic for on-track and off-track status

* refactor: use nullish coalescing operator for yAxis.dx in line and scatter charts

* feat: add "at_risk" translation to various languages in translations.json files

* feat: add "no_of" translation to various languages in translations.json files

* feat: update "at_risk" translation in Ukrainian, Vietnamese, and Chinese locales in translations.json files

* refactor: rename insightsFields to ANALYTICS_INSIGHTS_FIELDS and update analytics tab import to use getAnalyticsTabs function

* feat: update AnalyticsWrapper to use i18n for titles and add new translation for "no_of" in Russian

* fix: update yAxis labels and offsets in various charts to use new translation key and improve layout

* feat: define AnalyticsTab interface and refactor getAnalyticsTabs function for improved type safety

* fix: update AnalyticsTab interface to use TAnalyticsTabsBase for improved type safety

* fix: add whitespace-nowrap class to TableHead for improved header layout in DataTable component

* [WEB-4311]  fix: membership data handling and state reversal on error (#7205)

* [WEB-4231] Pie chart tooltip #7192

* fix: build errors

* fix: utils imports

* chore: fix build errors

* yarn lock file update

---------

Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Co-authored-by: JayashTripathy <76092296+JayashTripathy@users.noreply.github.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-06-16 17:26:28 +05:30
sriram veeraghanta
a0eff51333 fix: merge conflicts 2025-06-13 02:11:51 +05:30
Aaron
11b222ece8 chore(deps): update TypeScript version across multiple packages to 5.8.3 (#7209) 2025-06-13 01:40:27 +05:30
sriram veeraghanta
4df0d7908f Sync: Community Changes #3348 2025-06-06 18:10:31 +05:30
sriram veeraghanta
9ff238816b sync: canary changes to preview 2025-06-06 18:06:51 +05:30
sriram veeraghanta
6bd5caf008 chore: upgrade package version 2025-06-06 17:50:31 +05:30
pushya22
177c58a43e Sync: Community Changes #3329
Sync: Community Changes
2025-06-04 19:32:52 +05:30
Aaryan Khandelwal
1113f9fc19 [WIKI-412] regression: drop plugin logic #7161 2025-06-04 19:07:49 +05:30
Aaryan Khandelwal
a6b7723473 fix: merge conflicts resolved from preview 2025-06-04 15:58:38 +05:30
Aaryan Khandelwal
2792d48288 [WIKI-412] chore: improved rich text editor extensions handling (#7158)
* chore: code split for rich text editor extensions

* chore: update type

* chore: add missing prop
2025-06-04 15:32:54 +05:30
sriram veeraghanta
b9675a4ae3 fix: merge conflicts 2025-05-30 21:19:03 +05:30
Aaryan Khandelwal
151fc8389e [WIKI-181] chore: asset check endpoint added #7140 2025-05-30 20:58:06 +05:30
sriram veeraghanta
e4297835a6 fix: merge conflicts 2025-05-30 20:24:59 +05:30
Aaryan Khandelwal
01b685ea57 [WIKI-181] refactor: invalid file handling #7139 2025-05-30 18:18:05 +05:30
Vipin Chaudhary
b16a585102 [WIKI-343] [WIKI-312] Fix: html characters (#7049)
* fix: handle symbols and space

* chore: refactor
2025-05-30 18:17:03 +05:30
sriram veeraghanta
1dea129538 Merge branch 'preview' into sync/ce-ee 2025-05-28 19:06:09 +05:30
Aaryan Khandelwal
141cb17e8a fix: Optimize image uploads in Editor (#7129)
* fix: memoize file upload functions

* chore: update extension name

* chore: update notation

* chore: resolve chokidar package

* fix: spelling mistakes
2025-05-28 19:03:14 +05:30
Palanikannan M
79fe8ba9f7 Merge branch 'preview' into sync/ce-ee 2025-05-28 03:38:44 +05:30
sriram veeraghanta
26b62c4a70 fix: tsup version 8.4.0 2025-05-28 02:17:23 +05:30
Aaryan Khandelwal
e388a9a279 [WIKI-181] refactor: file plugins and types (#7074)
* refactor: file plugins and types

* refactor: image extension storage types

* chore: update meta tag name

* chore: extension fileset storage key

* fix: build errors

* refactor: utility extension

* refactor: file plugins

* chore: remove standalone plugin extensions

* chore: refactoring out onCreate into a common utility

* refactor: work item embed extension

* chore: use extension enums

* fix: errors and warnings

* refactor: rename extension files

* fix: tsup reloading issue

* fix: image upload types and heading types

* fix: file plugin object reference

* fix: iseditable is hard coded

* fix: image extension names

* fix: collaborative editor editable value

* chore: add constants for editor meta as well

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-05-28 01:43:01 +05:30
Bavisetti Narayan
c738f212ba [WIKI-344] fix: move page inside a project (#3226)
* fix: move page across project

* fix: moved the server agent to core

* fix: added validation for the endpoint

* fix: make it a get request

* chore: updated the endpoint

* fix: redirection after moving pages

* fix: redirect to last opened page on deleting page

* chore: save realtime description

* fix: sending correct binary

* fix: test new approach

* chore: changed the request headers

* fix: made the function more extensible

* chore: updated the move pages permission layer

* chore: added updated at and updated by

* chore: added updated at and updated by

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-05-26 19:45:50 +05:30
sriram veeraghanta
df53aaeecc fix: merge conflicts 2025-05-19 17:43:39 +05:30
sriram veeraghanta
75a11ba31a fix: polynomial regular expression used on uncontrolled data (#7083)
* fix: polynomial regular expression used on uncontrolled data

* fix: optimize the function to handle both operations
2025-05-19 17:14:26 +05:30
sriram veeraghanta
c1cf3a4f13 Merge branch 'preview' into sync/ce-ee 2025-05-19 15:25:18 +05:30
Aaryan Khandelwal
2a2feaf88e [WIKI-181] chore: editor extension storage utility code split (#7071)
* chore: storage extension code split

* chore: use storage extension utility
2025-05-19 13:12:52 +05:30
Aaryan Khandelwal
f11787fd53 fix: editor build error (#3176) 2025-05-13 14:54:57 +05:30
Aaryan Khandelwal
9159199080 fix: merge conflicts resolved from preview 2025-05-12 18:48:40 +05:30
Aaryan Khandelwal
dc16f2862e [WIKI-181] refactor: make file handling generic in editor (#7046)
* refactor: make file handling generic

* fix: useeffect dependency array

* chore: remove mime type to extension conversion
2025-05-12 18:37:36 +05:30
sriram veeraghanta
07b28cacbb Sync: Community Changes #3137 2025-05-07 18:02:50 +05:30
Aaryan Khandelwal
bc2936dcd3 [WEB-3906] fix: page table of content overlap with the page content #7018 2025-05-07 00:51:51 +05:30
Nikhil
63a4327924 [WEB-3566] feat: page templates (#2694)
* chore: add template

* chore: add page template and project template migrations

* chore: add migration file for project and page templates

* chore: page templates

* chore: update template

* feat: page templates

* chore: asset copy

* chore: update page templates

* improvement: update all templates endpoint

* chore: feature flags and minor improvements

* chore: common constants across templates

* improvement: work item template util types

* chore: minor improvements and base template store fixes

* improvement: common template related components

* chore: work item template util improvements

* improvement: remove empty templates list sections

* init: page templates

* revert: next config

* chore: remove unused store methods

* fix: page template store

* feat: page templates list at workspace level

* improvement: enhance project level template list modularity

* improvement: page template at project level

* feat: page template form

* feat: create or update page templates

* improvement: document editor configs

* improvement: template list loader

* improvement: work item template form background color

* feat: page template implementation

* improvement: minor update related to applying page templates

* fix: rebuild yarn.lock

* chore: duplicate the assets in thetemplate

* chore: workspace level duplicate endpoint

* feat: add editor helper

* chore: changed the response structure

* chore: reverted the deleted one

* chore: add assets duplicate logic

* chore: header buttons

* refactor: assets replace logic

* chore: add title editor ref

* fix: merge conflicts resolved from preview

* chore: store cleanup and minor improvements

* chore: minor improvements

* feat: feature flag check for page templates picker and CE code split

* remove: extra line added in migration file

* chore: added project validation (#2923)

* fix: bulk status update for page templates assets

* improvement: translations and code cleanup

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
2025-04-30 15:02:58 +05:30
Vipin Chaudhary
6689493516 [WEB-3960] Fix: tab focus on issue description (#3064)
* fix: tab focus on issue description

* fix : remove focus param
2025-04-29 14:36:22 +05:30
sriram veeraghanta
0a204be71d Merge branch 'preview' into sync/ce-ee 2025-04-24 17:52:52 +05:30
sriram veeraghanta
b54f54999e chore: bump up the package version 2025-04-24 17:37:50 +05:30
M. Palanikannan
9e230d15e5 [WIKI-325] fix: smooth cursor speed and dnd on sidebar (#3022)
* fix: trying out motion

* fix: smooth cursor delay

* fix: smooth cursor speed fixed

* fix: drag and drop fixed if nested pages is not enabled

* fix: yarn lock

* fix: lock control
2025-04-23 15:14:44 +05:30
M. Palanikannan
8da04a83bf [WIKI-322] fix: update page actions UI (#3011)
* fix: badges improved

* fix: revamp page embed options to ee

* fix: collaborators list and better syncing error states

* fix: handle sidebar scrolling

* fix: mutation issues

* fix: filtering pages

* fix: opening and closing of section roots

* fix: remove unused prop

* fix: rendering hooks conditionally fixed

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2025-04-21 20:30:50 +05:30
M. Palanikannan
08073f8472 [WIKI-317] fix: removing repeated events and smooth cursor (#2983)
* feat: add smooth cursor animation

* fix: hide cursor when editor not focused

* fix: add blinking while stationary

* fix: prosemirror codemark added for getting access to plugin state

* fix: properly show smooth cursor along with fake cursor of the inline code block

* fix: refactored config screen for multiple options

* fix: added configuration for smooth cursor behaviour

* temp: remove later, workaround in store

* fix: css of toggle

* fix: change Appearance to Preferences

* fix: project page console logs

* fix: rename variable and initialization

* fix: smooth cursor decoration hiding instead of destroying

* fix: adding isEditable before rendering smooth cursor decoration itself

* fix: smooth cursor toggle added

* fix: remove unused classes

* fix: removing toasts

* fix: build errors

* fix: keyboard navigation

* fix: slash commands rendering converted to floating ui

* fix: styles and reactiveness

* fix: add language support

* fix: isSmoothCursorEnabled has been changed

* fix: push extensions
2025-04-17 17:32:08 +05:30
Aaryan Khandelwal
474eb44c44 [WIKI-313] fix: image full screen modal portal (#2984)
* chore: image full screen modal portal

* fix: user profile regressino

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-04-17 15:38:20 +05:30
M. Palanikannan
1c7573b357 fix: nested pages minor fixes (#2974)
* fix: nested pages transitions fixed

* fix: close preview on keydown

* fix: title updated

* fix: redis broadcasting and ui changes

* fix: crashing redis and refactoring title and yarn lock
2025-04-16 17:16:31 +05:30
Aaryan Khandelwal
831ee1fdb0 [WIKI-309] fix: editor container width #2963 2025-04-15 17:10:59 +05:30
M. Palanikannan
c56fb07851 fix: opening sidebar when page opens (#2954)
* fix: opening sidebar when page opens

* fix: removing console logs, loading states and adding subtler animations

* fix: add syncing animation and fix showing collaborators
2025-04-15 10:04:11 +05:30
Bavisetti Narayan
b83a442a2b [WIKI-212] feat: nested pages (#2599)
* chore: workspace pages

* chore: moved page icons and ui added

* chore: deploy board changes

* fix: workspace sub page count

* fix: added proper creation and redirection in workspace pages

* fix: name of var

* fix: subpages

* fix: fetch subpages in workspace pages

* fix root node bug

* update recursion with loop

* fix: deletion plugin handler for sub pages added

* fix: handle multiple sub page deletions

* fix: handle multiple delete of deleted pages

* fix: collaboration cursor color

* chore: wiki sidebar hierarchy

* fix: private and archived pages hierarchy

* fix: ui, clicking and displaying deleted pages

* fix: make the server code more extendable

* fix: better handle real time events

* fix: handle recursively opening the subpages

* fix: better animations while unfurling the nested pages

* fix: added breadcrumbs ui for workspace pages

* fix: responsiveness of editor toolbar

* fix: loading document and storing only when there's content

* fix: preview for workspace pages fixed

* feat: realtime title updates

* feat: added live page collaborators

* fix: fetch details on focus and got back old updates

* fix: move page workflow fixed

* fix: archived at

* fix: build errors

* fix: build

* fix: build errors

* fix: revert yarn lock

* fix: build

* fix: more build errors

* fix: saved status for live docs

* fix: migration changes

* fix: collaborators on click scroll added

* fix: restrict access in project list view and workspace sidebar view

* fix: public parent pages unfurl as well

* fix: title sync handled

* fix: archive modal removed and version history added

* fix: modal core logo for restricted page fixed

* fix: colors

* fix: patch ux copy

* fix: list item icon

* fix: page link and embed component added to space

* fix: nested traversing added for replacing embeds

* fix: responsiveness and delete redirection

* fix: build issues

* fix: added loader back

* fix: unpublish project page

* fix: publish in workspace page

* fix: show on when editable in title editor

* fix: upublish workspace paegs

* fix: random colors fix

* fix: owned by added

* fix: permission layaer changes

* fix: fetch parent pages and update store in project pages

* fix: title editor backspace, enter, tab and arrow keys handled

* fix: sequential async processing for tasks on different documents

* chore: move pages inetrnally

* chore: wiki sidebar dnd

* chore: dnd patch request added

* fix: changed params

* chore: update the parent page id

* refactor: dnd code

* chore: remove wrong rule

* fallback: removing nodes if not in subpages endpoint

* fix: remove console logs and names

* fix: remove more console logs and ui fixes

* fix: editor css for nested pages in list

* fix: deleted at redirection

* patch fix: docker version

* fix: additional stuff

* fix: removal of drop cursor

* style: sidebar dnd ui

* fix drop cursor

* chore: changed the access controls

* fix: realtime events for moving pages

* chore: nested pages delete mutations for workspace and project level

* chore: updated deleted_at in issue detail types

* fix: logger and added working global error handling with sentry

* fix: tsup hot reloading

* fix: dividing server code

* fix: better error handling

* fix: file structure for error handling

* fix: better error handling for redis client

* fix: errors and imports

* fix: handlers

* chore: updated nested archived, restore and delete pages

* chore: updated is_description_empty in the page

* chore: broadcasting the nested page mutations

* fix: stop event prop on error

* chore: current page archive, unarchive and delete

* chore: wiki nested list

* chore: bulk delete pages =

* fix: is_description_empty added for mobile

* chore: addes is_description_empty in page types

* fix: added title sync capabilities along with migration

* fix: navigation between title and main editor made seamless

* fix: seperated decorators into it's own package

* chore: added title of page in binary request

* fix: title saving logic with debounce and abortion handled neatly

* fix: not shutting down the app for any reason

* chore: restructuring project-page methods, transformers and handlers

* fix: title updation with new structure

* fix: extensions index ts cleaned up

* fix: syncing title using mobx

* revert: profile page changes

* fix: reverting back extra changes

* chore: remove saved saving state

* fix: getting back old title to avoid merge conflicts

* fix: redis process improved a lot

* fix: nested pages endpoints

* fix: cleaning up decorators and fixing live server

* feat: express decorators for rest apis and websocket

* Merge branch 'fix/live-server-restructuring' into fix/live-server-restructuring

* feat: express decorators for rest apis and websocket

* fix: added package dependency

* fix: sync agent up and running

* fix: refactor decorators

* fix: add missing packages

* fix: exit with error 1

* fix: error factory types and document controller error handling

* fix: added zod validation

* chore: remove js extension

* fix: version history shows correct data

* chore: removed parent is null in workspace page query

* feat: added ability to skip archiving before deleting nodes

* fix: title position

* fix: syncing changes

* fix: build errors

* fix: added feature flagging for nested pages

* fix: added feature flagging

* fix: live build stop

* fix: drag handle

* chore: added new endpoint to restore page

* fix: title sync and animations

* fix: title real time sync

* chore: restore the deleted version

* fix: moving around pages

* fix: registering handlers made simplified

* fix: common initializer

* chore: remove services

* fix: reverse changes

* fix: page restoration

* changed from datetime to timezone

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: removing code duplicacy

* fix: getconfig removed

* chore: remove repetitive code

* fix: type errors

* fix: all context errors

* fix: removed document registry

* chore :removed unuesed config

* fix: move server agent to ee

* fix: broadcast controller fixed

* fix: removed dead code

* fix: socket connection getting disconnected

* fix:realtime events and their types

* fix: realtime events made robust

* fix: restore operation

* fix: title sync and archiving/etc in project page

* chore: updated the version

* chore: massively improved typescript inference for realtime events

* chore: added deleted page ids in data

* fix: types pro max

* fix: modified the page ids

* fix: change component name for nested page

* fix: realtime events duplication

* fix: added logs

* fix: added common place to differentiate nested pages behaviour

* fix: added new flagging

* fix: remove page link references

* fix: remove page link references

* fix: feature flagging

* fix: feature flagging

* fix: added back missing bits

* chore: added the logic to restored the moved page

* fix: breadcrumbs loading fixed

* chore: added feature flag

* fix: transforming headers

* fix: page updates

* fix: editor body refactored

* chore: sorted the pages parent order

* fix: duplicate page

* fix: common realtime events for all pages

* fix: create/fetch page details

* fix: better animations and creation of embeds

* fix: better loadin animations and better deletion of nodes

* fix: better transitions

* fix: added event customization

* fix: logo props showing wrong data

* fix: reverted back changes

* fix: workspace store searching

* fix: console logs

* fix: build errors

* fix: more build errors

* fix: revert changes

* fix: remove not needed code

* fix: add access denied to non upgraded users

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: VipinDevelops <vipinchaudhary1809@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: gurusinath <gurusainath007@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-12 16:28:36 +05:30
sriram veeraghanta
520daa7cbd Merge branch 'preview' into sync/ce-ee 2025-04-11 18:08:13 +05:30
Aaryan Khandelwal
915e374485 [WIKI-307]chore: update page icon placement #6916 2025-04-11 18:07:03 +05:30
pushya22
ec2e4cf591 Sync: Community Changes #2918
Sync: Community Changes
2025-04-09 20:09:40 +05:30
M. Palanikannan
d347269afb [WEB-3819] fix: images now restore in read only mode as well (#6904) 2025-04-09 20:06:15 +05:30
sriram veeraghanta
a794c44cd8 fix: merge conflicts 2025-04-09 15:06:40 +05:30
Vipin Chaudhary
2b411de1e3 [WIKI-306] fix: handle editor click behavior on the last node #6879 2025-04-09 14:51:58 +05:30
sriram veeraghanta
9f8b9305b5 fix: merge conflicts 2025-04-04 20:12:42 +05:30