* chore: events naming convention changed
* chore: track element added for project related events
* chore: track element added for cycle related events
* chore: track element added for module related events
* chore: issue related events updated
* refactor: event tracker store
* refactor: event-tracker store
* fix: posthog changes
---------
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
* chore: empty state asset added
* chore: empty state asset updated and image path helper function added
* chore: empty state asset updated
* chore: empty state asset updated and empty state details constant added
* chore: empty state component, helper function and comicbox button added
* chore: draft, archived and project issue empty state
* chore: cycle, module and issue layout empty state
* chore: analytics, dashboard, all issues, pages and project view empty state
* chore:projects empty state
* chore:projects empty state improvement
* chore: cycle, module, view and page loader improvement
* chore: code refactor
* fix: issue embed going to next line when selected on slash commands
* fix: issue suggestions selecting next embed on arrow down
* fix: pages crashing, because of incorrect data type
* chore: removed issue embeds from document editor and page interface
* fix: upgraded issue widget card to show only Placeholder
* fix: pricing url changes for issue embed placeholder
* fix: build errors
* make computedFn without optional arguments
* fix archived issues
* fix activity changes with proper context
* fix display filters that require server side filtering
- Removed unused `switchLinkView` function in `PageRenderer`
- Added `hideDragHandle` prop to `PageRenderer` component
- Updated `EditorContainer` component in `PageRenderer` to include `hideDragHandle` prop
- Removed unused code and variables in `DocumentEditor` component
- Added `hideDragHandleOnMouseLeave` state variable in `DocumentEditor` component
- Added `setHideDragHandleFunction` to set the hideDragHandle function from the DragAndDrop extension
- Passed `hideDragHandleOnMouseLeave` as prop to `PageRenderer` component in `DocumentEditor`
- Removed unused code and variables in `PageDetailsPage` component
- Updated `customClassName` prop in `PageRenderer` component used in `PageDetailsPage`
chore(deps): Update dependencies
- Updated `@tippyjs/react` dependency to version 4.2.6
- Updated `mobx-react-lite` dependency to version 4.0.5
- Updated `tippy.js` dependency to version 6.3.7
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
* fix global issues and views
* remove separate layouts for specific views
* add permissions to views
* fix global issues filters
---------
Co-authored-by: Rahul R <rahulr@Rahuls-MacBook-Pro.local>
* fix: handled undefined issue_id in list layout
* dev: issue detail store and optimization
* dev: issue filter and list operations
* fix: typo on labels update
* dev: Handled all issues in the list layout in project issues
* dev: handled kanban and auick add issue in swimlanes
* chore: fixed peekoverview in kanban
* chore: fixed peekoverview in calendar
* chore: fixed peekoverview in gantt
* chore: updated quick add in the gantt chart
* chore: handled issue detail properties and resolved build issues
---------
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
* refactor: updated preloaded function for the list view quick add
* fix: resolved bug in the assignee dropdown
* chore: issue sidebar link improvement
* fix: resolved subscription store bug
* chore: updated preloaded function for the kanban layout quick add
* chore: resolved issues in the list filters and component
* chore: filter store updated
* fix: issue serializer changed
* chore: quick add preload function updated
* fix: build error
* fix: serializer changed
* fix: minor request change
* chore: resolved build issues and updated the prepopulated data in the quick add issue.
* fix: build fix and code refactor
* fix: spreadsheet layout quick add fix
* fix: issue peek overview link section updated
* fix: cycle status bug fix
* fix: serializer changes
* fix: assignee and labels listing
* chore: issue modal parent_id default value updated
* fix: cycle and module issue serializer change
* fix: cycle list serializer changed
* chore: prepopulated validation in both list and kanban for quick add and group header add issues
* chore: group header validation added
* fix: issue response payload change
* dev: make cycle and module issue create response simillar
* chore: custom control link component added
* dev: make issue create and update response simillar to list and retrieve
* fix: build error
* chore: control link component improvement
* chore: globalise issue peek overview
* chore: control link component improvement
* chore: made changes and optimised the issue peek overview root
* build-error: resolved build erros for issueId dependancy from issue detail store
* chore: peek overview link fix
* dev: update state nullable rule
---------
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
* query params from router as computed
* chore: setup workspace store and sub-stores
* chore: update router query store
* chore: update store types
* fix: pages store changes
* change observables and retain object reference
* fix build errors
* chore: changed the structure of workspace, project, cycle, module and pages
* fix: pages fixes
* fix: merge conflicts resolved
* chore: fixed workspace list
* chore: update workspace store accroding to the new response
* fix: adding page details to store
* fix: adding new contexts and providers
* dev: issues store and filters in new store
* dev: optimised the issue fetching in issue base store
* chore: project views id mapped
* update lodash set to directly run inside runInaction since it mutates the object
* fix: context changes
* code refactor kanban for better mainatinability
* optimize Kanban for performance
* chore: implemented hooks for all the created stores
* chore: removed bridge id
* css change and refactor
* chore: update cycle store structure
* chore: implement the new label root store
* chore: removed object structure
* chore: implement project view hook
* Kanban new store implementation for project issues
* fix project root for kanban
* feat: workspace and project members endpoint (#3092)
* fix: merge conflicts resolved
* issue properties optimization
* chore: user stores
* chore: create new store context and update hooks
* chore: setup inbox store and implement router store
* chore: initialize and implement project estimate store
* chore: initialize global view store
* kanban and list view optimization
* chore: use new cycle and module store. (#3172)
* chore: use new cycle and module store.
* chore: minor improvements.
* Revert "chore: merge develop"
This reverts commit 9d2e0e29e7, reversing
changes made to 9595493c42.
* chore: implement useGlobalView hook
* refactor: projects & inbox store instances (#3179)
* refactor: projects & inbox store instances
* fix: formatting
* fix: action usage
* chore: implement useProjectState hook. (#3185)
* dev: issue, cycle store optimiation
* fix build for code
* dev: removed dummy variables
* dev: issue store
* fix: adding todos
* chore: removing legacy store
* dev: issues store types and typos
* chore: cycle module user properties
* fix legacy store deletion issues
* chore: change POST to PATCH
* fix issues rendering for project root
* chore: removed workspace details in workpsaceinvite
* chore: created models for display properties
* chore: setup member store and implement it everywhere
* refactor: module store (#3202)
* refactor: cycle store (#3192)
* refator: cycle store
* some more improvements.
* chore: implement useLabel hook. (#3190)
* refactor: inbox & project related stores. (#3193)
* refactor: inbox -> filter, issues, inoxes & project -> publish, projects store
* refactor: workspace-project-id name
* fix kanban dropdown overlapping issue
* fix kanban layout minor re rendering
* chore: implement useMember store everywhere
* chore: create and implement editor mention store
* chore: removed the issue view user property
* chore: created at id changed
* dev: segway intgegration (#3132)
* feat: implemented rabbitmq
* dev: initialize segway with queue setup
* dev: import refactors
* dev: create communication with the segway server
* dev: create new workers
* dev: create celery node queue for consuming messages from django
* dev: node to celery connection
* dev: setup segway and django connection
* dev: refactor the structure and add database integration to the app
* dev: add external id and source added
---------
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
* dev: github importer (#3205)
* dev: initiate github import
* dev: github importer all issues import
* dev: github comments and links for the imported issues
* dev: update controller to use logger and spread the resultData in getAllEntities
* dev: removed console log
* dev: update code structure and sync functions
* dev: updated retry logic when exception
* dev: add imported data as well
* dev: update logger and repo fetch
* dev: update jira integration to new structure
* dev: update migrations
* dev: update the reason field
* chore: workspace object id removed
* chore: view's creation fixed
* refactor: mobx store improvements. (#3213)
* fix: state and label errors
* chore: remove legacy code
* fix: branch build fix (#3214)
* branch build fix for release-* in case of space,backend,proxy
* fixes
* chore: update store names and types
* fix - file size limit not work on plane.settings.production (#3160)
* fix - file size limit not work on plane.settings.production
* fix - file size limit not work on plane.settings.production
* fix - file size limit not work on plane.settings.production, move to common.py
---------
Co-authored-by: luanduongtel4vn <hoangluan@tel4vn.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
* style: instance admin email settings ui & ux update. (#3186)
* refactor: use-user-auth hook (#3215)
* refactor: use-user-auth hook
* fix: user store currentUserLoader
* refactor: project-view & application related stores (#3207)
* refactor: project-view & application related stores
* rename: projectViews -> projectViewIds
* fix: project-view favourite state in store
* chore: remove unnecessary hooks and contexts (#3217)
* chore: update issue assignee property component
* chore: bug fixes & improvement (#3218)
* chore: draft issue validation added to prevent saving empty or whitespace title
* chore: resolve scrolling issue in page empty state
* chore: kanban layout quick add issue improvement
* fix: bugs & improvements (#3189)
* fix: workspace invitation modal form values reset
* fix: profile sidebar avatar letter
* [refactor] Editor code refactoring (#3194)
* removed relative imports from editor core
* Update issue widget file paths and imports to use kebab case instead of camel case, to align with coding conventions and improve consistency.
* Update Tiptap core and extensions versions to 2.1.13 and Tiptap React version to 2.1.13. Update Tiptap table imports to use the new location in package @tiptap/pm/tables. Update AlertLabel component to use the new type definition for LucideIcon.
* updated lock file
* removed default exports from editor/core
* fixed injecting css into the core package itself
* seperated css code to have single source of origin wrt to the package
* removed default imports from document editor
* all instances using index as key while mapping fixed
* Update Lite Text Editor package.json to remove @plane/editor-types as a dependency.
Update Lite Text Editor index.ts to update the import of IMentionSuggestion and IMentionHighlight from @plane/editor-types to @plane/editor-core.
Update Lite Text Editor ui/index.tsx to update the import of UploadImage, DeleteImage, IMentionSuggestion, and RestoreImage from @plane/editor-types to @plane/editor-core.
Update Lite Text Editor ui/menus/fixed-menu/index.tsx to update the import of UploadImage from @plane/editor-types to @plane/editor-core.
Update turbo.json to remove @plane/editor-types#build as a dependency for @plane/lite-text-editor#build, @plane/rich-text-editor#build, and @plane/document-editor#build.
* Remove deprecated import and adjust tippy.js usage in the slash-commands.tsx file of the editor extensions package.
* Update dependencies in `rich-text-editor/package.json`, remove `@plane/editor-types` and add `@plane/editor-core` in `rich-text-editor/src/index.ts`, and update imports in `rich-text-editor/src/ui/extensions/index.tsx` and `rich-text-editor/src/ui/index.tsx` to use `@plane/editor-core` instead of `@plane/editor-types`.
* Update package.json dependencies and add new types for image deletion, upload, restore, mention highlight, mention suggestion, and slash command item.
* Update import statements in various files to use the new package "@plane/editor-core" instead of "@plane/editor-types".
* fixed document editor to follow conventions
* Refactor imports in the Rich Text Editor package to use relative paths instead of absolute paths.
- Updated imports in `index.ts`, `ui/index.tsx`, and `ui/menus/bubble-menu/index.tsx` to use relative paths.
- Updated `tsconfig.json` to include the `baseUrl` compiler option and adjust the `include` and `exclude` paths.
* Refactor Lite Text Editor code to use relative import paths instead of absolute import paths.
* Added LucideIconType to the exports in index.ts for use in other files.
Created a new file lucide-icon.ts which contains the type LucideIconType.
Updated the icon type in HeadingOneItem in menu-items/index.tsx to use LucideIconType.
Updated the Icon type in AlertLabel in alert-label.tsx to use LucideIconType.
Updated the Icon type in VerticalDropdownItemProps in vertical-dropdown-menu.tsx to use LucideIconType.
Updated the Icon type in BubbleMenuItem in fixed-menu/index.tsx to use LucideIconType.
Deleted the file tooltip.tsx since it is no longer used.
Updated the Icon type in BubbleMenuItem in bubble-menu/index.tsx to use LucideIconType.
* ♻️ refactor: simplify rendering logic in slash-commands.tsx
The rendering logic in the file "slash-commands.tsx" has been simplified. Previously, the code used inline positioning for the popup, but it has now been removed. Instead of appending the popup to the document body, it is now appended to the element with the ID "tiptap-container". The "flip" option has also been removed. These changes have improved the readability and maintainability of the code.
* fixed build errors caused due to core's internal imports
* regression: fixed pages not saving issue and not duplicating with proper content issue
* build: Update @tiptap dependencies
Updated the @tiptap dependencies in the package.json files of `document-editor`, `extensions`, and `rich-text-editor` packages to version 2.1.13.
* 🚑 fix: Correct appendTo selector in slash-commands.tsx
Update the `appendTo` function call in `slash-commands.tsx` to use the correct selector `#editor-container` instead of `#tiptap-container`. This ensures that the component is appended to the appropriate container in the editor extension.
Note: The commit message assumes that the change is a fix for an issue or error. If it's not a fix, please provide more context so that an appropriate commit type can be determined.
* style: email placeholder changed across the platform (#3206)
* style: email placeholder changed across the platform
* fix: placeholder text
* dev: updated new filter endpoints and restructured issue and issue filters store
* implement issues and replace useMobxStore
* remove all store legacy references
* dev: updated the orderby and subgroupby filters data
* dev:added projectId in issue filters for consistency
* fix more build errors
* dev: updated profile issues
* dev: removed store legacy
* dev: active cycle issues in the cycle issue store
* fix additional build errors and memoize issueActions in each layout component
* change store enums
* remove all useMobxStore references
* fix more build errors
* dev: reverted workspace invitation
* fix: build errors and warnings
* fix: optimistic update for instant operations (#3221)
* fix: update functions failed case
* fix: typo
* chore: revert back to optimistic update approach for all `update related actions` (#3219)
* fix: merge conflicts resolved
* chore: update memberMap logic in components
* add assignees to kanban groups and properties
* dev: migration fixes
* final bit of optimization on list view
* change all TODOs that are to be done before this release to FIXME
* change base Kanban TODOs that are to be done before this release to FIXME
* dev: add fields and expand for app serializers
* dev: issue detail store
* dev: update issue serializer to return object ids
* fix: Instance key added in settings and converted issues list api to arry instead of dict
* fix: removing segway files
* dev: control expand through query parameters
* revert: github importer
* Revert "dev: segway intgegration (#3132)"
This reverts commit 1cc18a0915.
* dev: remove migrations for segway
* dev: issue structure change and created workspacebasemodel
* dev: issue detail serializer
* fix: changed workspace dict
* dev: updated new issue structure
* chore: build fix
* dev: issue detail store refactor
* dev: created list endpoint for issue-relation
* dev: added issue attachments in issue detail store
* dev: added issue activity computed
* fix: build error
* chore: peek overview modal context added
* chore: build error fix
* dev: added sub_issues in issue details store
* dev: added complete issue serializer for sub issues
* dev: resolved type errors in issue root store
* dev: changed the issue relation structure
* chore: new global dropdowns
* chore: build error fix
* chore: cycle and module selection if disabled
* dev: removed unnecessary code from the workspace root
* chore: build error fix
* chore: issue relation remove endpoint
* fix: build error
* dev: typos and implemented issue relation store
* fix: yarn lock updated
* style: update the UI of all the dropdowns
* fix: state store fixes
* fix: key issue
* fix: state store console logs removed
* refactor: member dropdowns
* fix: moving types to packages
* fix: dropdown arrow positioning
* dev: removed logs
* style: label dropdown
* chore: restrict description notifications
* chore: description changes
* chore: update spreadsheet layout dropdowns
* fix: build errors
* chore: duplicate key change
* fix: ui bugs
* chore: relation activity change
* chore: comment activity changes
* chore: blocking issue removal
* chore: added project_id for relation
* chore: issue relation store and component
* chore: issue redirection issue in the issue realtion in detail page
* chore: created activity changed
* chore: issue links new store implementation on the issue detail
* chore: issue relation deletion acitivity changed
* chore: issue attachments new store implementation on the issue detail
* chore: workspace level issues
* fix: build errors
---------
Co-authored-by: rahulramesha <rahulramesham@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: Lakhan Baheti <94619783+1akhanBaheti@users.noreply.github.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
Co-authored-by: Manish Gupta <59428681+mguptahub@users.noreply.github.com>
Co-authored-by: Hoang Luan <luandnh98@gmail.com>
Co-authored-by: luanduongtel4vn <hoangluan@tel4vn.com>
Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>
Co-authored-by: M. Palanikannan <73993394+Palanikannan1437@users.noreply.github.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
* chore: date and time standardization all across the platform.
* chore: update `renderFormattedTime` function.
* remove unwanted code.
* fix: build errors
* chore: update `renderFormattedTime` function params.
* 🔧 chore: Update revalidate option and add useEffect hook in PageDetailsPage component
- Set the `revalidate` option to `false` in the `commonSwrOptions` object.
- Add an `useEffect` hook that calls the `mutatePageDetails` function with specific options.
- Inside the `useEffect` hook, set `revalidate` to `true`, `populateCache` to `true`, and define a rollback function for error handling.
- If an error occurs during the rollback, display an error alert message using the `actionCompleteAlert` function.
- In the `updatePage` function, ensure that `workspaceSlug`, `projectId`, and `pageId` are all defined before proceeding.
* ♻️ refactor: Update code styling for inline code in CoreEditorExtensions
In the `packages/editor/core/src/ui/extensions/index.tsx` file, the code for inline code styling in the CoreEditorExtensions component has been updated. Previously, it was set to `false`, but now it is defined as an object with specific HTML attributes. The code styling includes a rounded-md background, custom primary color, margin, padding, font styling, and disabling spellcheck. This change improves the visual appearance and readability of inline code elements in the editor.
* style: create webhook page to modal
* fix: create page removed
* fix: auto modal close on empty state
* fix: secret key heading removed from generated modal
This commit adds a duplicate_page function to the PageDetailsPage component, which allows users to duplicate a page. If the current page does not have a description_html value, it will be set to the default value from the pageDetails object. The formData object is updated with the necessary values for duplication, including the new page name and description. Additionally, the handleSubmit dependency is included in the useEffect hook to ensure proper form submission.
* chore: remove `add link` button for guests & viewer in modules sidebar.
* chore: remove `+` (add view) icon for guests & viewer in `All Issues`.
* chore: remove `Start Project` button from Dashboard & Projects empty state for guests & viewers.
* chore: project level user role validation for empty states.
* chore: format all files in the project
* fix: removing @types/react from dependencies
* fix: adding prettier and eslint config
* chore: format files
* fix: upgrading turbo version
* chore: ignoring warnings and adding todos
* fix: updated the type of bubble menu item in the document editor
* chore: format files
---------
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Added a useCallback function, which helps keeping only one version of the debounce function, what happens is that when we type in the editor, the rerenders produces multiple debounce function, which all triggers together after the specifier amount of time, making many request to backend, consiquently failing the debounce. Now useCallback will give only one function even if the rerenders are happening which fixes the issue
* feat: added heading 3 in the editor summary markings
* feat: fixed editor and summary bar sizing
* feat: added `issue-embed` extension
* feat: exposed issue embed extension
* feat: added main embed config configuration to document editor body
* feat: added peek overview and issue embed fetch function
* feat: enabled slash commands to take additonal suggestions from editors
* chore: replaced `IssueEmbedWidget` into widget extension
* chore: removed issue embed from previous places
* feat: added issue embed suggestion extension
* feat: added issue embed suggestion renderer
* feat: added issue embed suggestions into extensions module
* feat: added issues in issueEmbedConfiguration in document editor
* chore: package fixes
* chore: removed log statements
* feat: added title updation logic into document editor
* fix: issue suggestion items, not rendering issue widget on enter
* feat: added error card for issue widget
* feat: improved focus logic for issue search and navigate
* feat: appended transactionid for issueWidgetTransaction
* chore: packages update
* feat: disabled editing of title in readonly mode
* feat: added issueEmbedConfig in readonly editor
* fix: issue suggestions not loading after structure changed to object
* feat: added toast messages for success/error messages from doc editor
* fix: issue suggestions sorting issue
* fix: formatting errors resolved
* fix: infinite reloading of the readonly document editor
* fix: css in avatar of issue widget card
* feat: added show alert on pages reload
* feat: added saving state for the pages editor
* fix: issue with heading 3 in side bar view
* style: updated issue suggestions dropdown ui
* fix: Pages intiliazation and mutation with updated MobX store
* fixed image uploads being cancelled on refocus due to swr
* fix: issue with same description rerendering empty content fixed
* fix: scroll in issue suggestion view
* fix: added submission prop
* fix: Updated the comment update to take issue id in inbox issues
* feat:changed date representation in IssueEmbedCard
* fix: page details mutation with optimistic updates using swr
* fix: menu options in read only editor with auth fixed
* fix: add error handling for title and page desc
* fixed yarn.lock
* fix: read-only editor title wrapping
* fix: build error with rich text editor
---------
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: Palanikannan1437 <73993394+Palanikannan1437@users.noreply.github.com>
* fix add subgroup issue FED-1101
* fix subgroup by None assignee FED-1100
* fix grouping by asignee or labels FED-1096
* fix create view popup FED-1093
* fix subgroup exception in swimlanes
* fix show sub issue filter FED-1102
* use Enums instead of numbers
* fix Estimates setting permission for admin
* disable access to project settings for viewers and guests
* fix project unautorized flicker
* add observer to estimates
* add permissions to member list
* fix: workspace settings pages authorization
* chore: user cannot add a member with a higher role than theirs
* chore: update workspace general settings auth
* image restoration fixed (marks an image to be deleted after a week)
* removed clgs
* added image constraints
* formatted editor-core package using yarn format
* lite-text-editor nothing to format
* rich-text-editor nothing to format
* formatted document-editor with prettier
* modified file service to follow api change
* fixed more formatting in document editor
* fixed all instances of types with that from the package
* fixed delete to work consistently (minor optimizations turned off)
* stop duplicate images inside editor
* restore image on editor creation
say if user A deletes image number 2, user B was also in the same issue and in their screen the image was there, if user B makes certain changes and that gets saved in backend, according to user B image 2 should exist but since user A deleted it, it'll not get restored and get deleted in 7 days, hence I've added a check such that whenever a issue loads we restore all images by default
* added restore image function with types
* replaced all instances to have restore image logic
* fixed issue detail for peek view
* disabled option to insert table inside a table
* Fix: issue with project publish modal data not updating immediately.
* fix: issue with workspace list not scrollable in profile settings.
* fix: update redirect workspace slug logic to redirect to prev workspace instead of `/`.
* style: update API tokens and webhooks empty state designs.
* dev: draft and archived issue store
* connect draft and archived issues
* kanban for draft issues
* fix filter store for calendar and kanban
* dev: profile issues store and draft issues filters in header
* disble issue creation for draft issues
* dev: profile issues store filters
* disable kanban properties in draft issues
* dev: profile issues store filters
* dev: seperated adding issues to the cycle and module as seperate methds in cycle and module store
* dev: workspace profile issues store
* dev: sub group issues in the swimlanes
* profile issues and create issue connection
* fix profile issues
* fix spreadsheet issues
* fix dissapearing project from create issue modal
* page level modifications
* fix additional bugs
* dev: issues profile and global iisues and filters update
* fix issue related bugs
* fix project views for list and kanban
* fix build errors
---------
Co-authored-by: rahulramesha <rahulramesham@gmail.com>