* fix date related exceptions
* replace new Date from develop branch changes as well
* changes from self review
* wrap getDate logic with try catch to handle in case of error scenarios
* fix formatted time
* fix date time misalignment
* fix failing build
* fix gantt chart view position fix
* comments for getDate method
* remove new Date() where not required
* changes from my self review
* fix: clearing nodes to default node i.e paragraph before converting it to other types of nodes
For more reference on what this does, please refer https://tiptap.dev/docs/editor/api/commands/clear-nodes
* chore: clearNodes after delete in case of selections being present
* fix: hiding link selector in the bubble menu if inline code block is selected
* feat: added tab index support to navigate using Tab key in all the editors
* chore: changed the name of Table of Contents in Pages
* chore: file formatting
---------
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
* fix: horizontal rule no more causes issues on last node
* fixed the mismatched transaction by using native tiptap stuff
* added support to add new line onclick at bottom if last node is an image
TODO: blockquote at last node
* fix: simplified adding node at end of the document logic
* feat: rewrite entire logic handling all cases
* feat: arrow down and arrow up keys add empty node at top and bottom of doc from first/last row's cells
* feat: added arrow up and down key support to images too
* remove unnecessary console logs
* chore: formatting components
* fix: reduced bottom padding to increase onclick area
---------
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
* fix: z index issues with modals and on hover color in table item picker menu
* feat: added text indicators inside the table colors to give a gist of how text would look
* feat: implemented cycle and module for display filters groupBy and sunGroupBy in project issues list and kanban layouts
* chore: Enabled drag ability for cycle and handled prepopulated data for quick add
* chore: disbaled drag ability for cycle
* chore: updated preloaded data
* chore: updated module and cycle store router dependancy to prop dependancy
* dev: add is_subscriber to issue details endpoint
* dev: remove is_subscribed annotation from detail serializers
* dev: update issue details endpoint
* dev: inbox issue create
* dev: issue detail serializer
* dev: optimize and add extra fields for issue details
* dev: remove data from issue updates
* dev: add fields for issue link and attachment
* remove expecting a issue response while updating and deleting an issue
* change link, attachment and reaction types and modify store to recieve their data from within the issue detail API call
* make changes for subscription store to recieve data from issue detail API call
* dev: add issue reaction id
* add query prarms for archived issue
---------
Co-authored-by: rahulramesha <rahulramesham@gmail.com>
* chore: implemented the modules and cycle filter in the display properties
* typo: added placeholders for module and cycle select in spreadsheet view
* feat: created workspace modules and cycles endpoints in appi server and implemented in application
* ui: UI changes in the spreadsheet module and cycle dropdown and added cursor navigation for cycle via arrow keys
* format: formatted api sever
* chore: module select logic updated
* chore: updated module updated handler in all-properties and spreadsheet column
* chore: updated url names for workspace modules and cycles
* fix: validated members availability in the modules list member tooltip
---------
Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so>
* fix: updated description init loading and added loading confirmation alert in inbox issues, issue peek overview, and issue detail
* fix: updated the space issue in the editor and removed unwanted props in the description-input for issues
* Virtualization like core changes with intersection observer
* Virtualization like changes for spreadsheet
* Virtualization like changes for list
* Virtualization like changes for kanban
* add logic to render all the issues at once
* revert back the changes for list to follow the old pattern of grouping
* fix column shadow in spreadsheet for rendering rows
* fix constant draggable height while dragging and rendering blocks in kanban
* fix height glitch while rendered rows adjust to default height
* remove loading animation for issue layouts
* reduce requestIdleCallback timer to 300ms
* remove logic for index tarcking to force render as the same effect seems to be achieved by removing requestIdleCallback
* Fix Kanban droppable height
* fix spreadsheet sub issue loading
* force change in reference to re render the render if visible component when the order of list changes
* add comments and minor changes
* enable keyboard navigation for spreadsheet layout
* move the logic to table level instead of cell level
* fix perf issue that made it unusable
* fix scroll issue with navigation
* fix build errors
* chore: cycle and module store update action updated
* chore: cycle and module issue store actions updated
* chore: cycle and module retrieve endpoints updated
* fix: app sidebar z index and priority icon fix
* chore: cycle and module sidebar and stats updated
* style: peek overview and issue details properties
* fix: cycle and module remove function
* style: update placeholder text color
* fix: relation constant
* chore: added todos to fix later
* 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
* fix: inline codes now exitable with right arrow key and inclusive
* regression: toggle inline code on bubble menu selection
* feat: added different code block behaviour on selection and not selection
* fix: blockquote toggling and isActive state fixed
* add concurrency to dev command to avaoid erroring out
* add context to issue activity
* minor quality of life improvement for exporter modal
* show the option to save draft issue only when there is content in name and description
* maintain commonality while referencing the user in activity
* fix minor changes in draft save issue modal logical condition
* minor change is state component for filter selection
* change logic for create issue activity
* change use last draft issue button to state control over previous on hover as that was inconsistent
* chore: dropdowns should close on selecting an option
* style: @plane/ui dropdown styling
* refactor: @plane/ui dropdowns
* fix: build errors
* fix: list layout dropdowns positioning
* fix: priority dropdown text in dark mode
- 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: 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>
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`.
* 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
* 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>
* 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>