* 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>
* refcator spreadsheet to use table and roow based approach rather than column based
* update spreadsheet and optimized layout
* fix issues in spread sheet
* close quick action menu on click
---------
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>
* fix: jira importer validations
* dev: update validation for cloud hostname
* dev: update the function to be used externally
* dev: update codeql workflow
* dev: update repository selection api
* fix cycle creation and active cycle map
* minor fix in cycle store
* create cycle breaking fix
* replace last possible bits of router.push with Link
---------
Co-authored-by: Rahul R <rahulr@Rahuls-MacBook-Pro.local>
* 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>
error of table not being defined while getting getBoundingClientRect()
and solve other TS issues
- Added ResolvedPos import from @tiptap/pm/model
- Updated setCellsBackgroundColor function parameter type to string
- Declared ToolboxItem type for toolbox items
- Modified columnsToolboxItems and rowsToolboxItems to use the ToolboxItem type
- Updated createToolbox function parameters to specify Element or null for triggerButton and ToolboxItem[] for items
- Added ts-expect-error comment above the toolbox variable declaration
- Updated update method parameter type to readonly Decoration[]
- Changed destructuring assignment of hoveredTable and hoveredCell in updateControls method to use Object.values and reduce method
- Added null check for this.table in updateControls method
- Wrapped the code that updates columnsControl and rowsControl with null checks for each control
- Replaced ts-ignore comments with proper dispatch calls in selectColumn and selectRow methods
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>