- 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>
* dev: workspace states and estimates
* refactor issue dropdown logic to help work properly with issues on global level
* fix: project labels response change
* fix label type
* change store computed actions to computed functions from mobx-utils
* fix: state response change
* chore: project and workspace state change
* fix state and label types
* chore: state and label serializer change
* modify state and label types
* fix dropdown reset on project id change
* fix label sort order
---------
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Rahul R <rahulr@Rahuls-MacBook-Pro.local>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Rahul R <rahul.ramesha@plane.so>
* 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: created dashboard, widgets and dashboard widget model
* fix: new user home dashboard
* chore: recent projects list
* chore: recent collaborators
* chore: priority order change
* chore: payload changes
* chore: collaborator's active issue count
* chore: all dashboard widgets added with services and typs
* chore: centered metric for pie chart
* chore: widget filters
* chore: created issue filter
* fix: created and assigned issues payload change
* chore: created issue payload change
* fix: date filter change
* chore: implement filters
* fix: added expansion fields
* fix: changed issue structure with relation
* chore: new issues response
* fix: project member fix
* chore: updated issue_relation structure
* chore: code cleanup
* chore: update issues response and added empty states
* fix: button text wrap
* chore: update empty state messages
* fix: filters
* chore: update dark mode empty states
* build-error: Type check in the issue relation service
* fix: issues redirection
* fix: project empty state
* chore: project member active check
* chore: project member check in state and priority
* chore: remove console logs and replace harcoded values with constants
* fix: code refactoring
* fix: key name changed
* refactor: mapping through similar components using an array
* fix: build errors
---------
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
* refactor: update `create/update issue` modal to use currently active store's create/update method.
* chore: add condition to avoid multiple API calls if the current store is MODULE or CYCLE.
* remove: console log
* chore: update `currentStore` to `storeType`.
This fix adds support for hiding the drag handle when the cursor leaves the editor container. It improves the user experience by providing a cleaner interface and removing unnecessary visual elements especially while scrolling.
- Add `hideDragHandle` prop to `EditorContainer` component in `editor-container.tsx`.
- Implement `onMouseLeave` event handler in `EditorContainer` to invoke `hideDragHandle` function.
- Update `DragAndDrop` extension in `drag-drop.tsx` to accept a `setHideDragHandle` function as an optional parameter.
- Pass the `setHideDragHandle` function from `RichTextEditor` component to `DragAndDrop` extension in `RichTextEditorExtensions` function in `index.tsx`.
- Set `hideDragHandleOnMouseLeave` state in `RichTextEditor` component to store the `hideDragHandlerFromDragDrop` function.
- Create `setHideDragHandleFunction` callback function in `RichTextEditor` to update the `hideDragHandleOnMouseLeave` state.
- Pass `hideDragHandleOnMouseLeave` as `hideDragHandle` prop to `EditorContainer` component in `RichTextEditor`.
* add loaders to all the dropdowns outside project wrpper
* fix build errors
* minor refactor for project states color
---------
Co-authored-by: Rahul R <rahulr@Rahuls-MacBook-Pro.local>
* fix: removed backticks in inline code blocks
* added better error handling while cancelling uploads
* fix: inline code blocks, code blocks and links have saner behaviour
- Inline code blocks are now exitable, don't have backticks, have better padding vertically and better regex matching
- Code blocks on the top and bottom of the document are now exitable via Up and Down Arrow keys
- Links are now exitable while being autolinkable via a custom re-write of the tiptap-link-extension
* fix: more robust link checking
* fix: handled undefined issue_id in list layout
* chore: updated label select dropdown in the issue detail
* fix: peekoverview issue is resolved
* chore: user role validation for issue details.
* fix: Link, Attachement, parent mutation
* build-error: build error resolved in peekoverview
* chore: user role validation for issue details.
* chore: user role validation for `issue description`, `parent`, `relation` and `subscription`.
* chore: issue subscription mutation
* chore: user role validation for `labels` in issue details.
---------
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>