* [WEB-540] fix: hide `sub_issue`, `link`, `attachment` property from list/ kanban view if their count is 0.
* chore: use `cn` helper function instead of string interpolation.
* fix: tab indices logic
* fix: due date highlight logic
* Revert "fix: due date highlight logic"
This reverts commit f523078689e1570295a6067ce4f9580a6a031f22.
* 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>
* dev: update bot filters
* dev: remove bot filters from workspace
* filter out bot members in workspace
* dev: remove filtering from project member listing
* dev: update filtering for bot workspace members
---------
Co-authored-by: rahulramesha <rahulramesham@gmail.com>
* dev: initialize new date picker
* style: selected date focus state
* chore: replace custom date filter modal components
* chore: replaced inbox snooze popover datepicker
* chore: replaced the custom date picker
* style: date range picker designed
* chore: date range picker implemented throughout the platform
* chore: updated tab indices
* chore: range-picker in the issue layouts
* chore: passed due date color
* chore: removed range picker from issue dates
* 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
* fix horizontal scroll in gantt chart while dragging
* add aline indicator for quick add
* add border color for line above quick add in gantt to make it look better in dark mode
* fixing kanban dnd by stooping the modification of the original array by spreading to change the array reference
* fix sort order in the same list
* minor change in condition
* 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
* style: responsive profile
* style: profile header drop down, sidebar auto show hide depending on the screen width
* fix: item tap on white space in the drop down menu in profile header
* fix: profile layout breaking on big screens in page visit
* fix: cycle and module reordering in the gantt chart
* chore: hide duration from sidebar if no dates are assigned
* chore: updated date helper functions to accept undefined params
* chore: update cycle sidebar condition
* 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
* fix: module header hide on bigger screens
* fix: Add Inbox back on mobile
---------
Co-authored-by: Maximilian Engel <maximilian.engel@swg.de>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
* fix: show window closing alert only when page is not saved
* chore: Refactor useReloadConfirmations hook
- Removed the `message` parameter, as it was not being used and not
supported in modern browsers
- Changed the `isActive` flag to a temporary flag and added a TODO comment to remove it later.
- Implemented the `handleRouteChangeStart` function to handle route change events and prompt the user with a confirmation dialog before leaving the page.
- Updated the dependencies of the `handleBeforeUnload` and `handleRouteChangeStart` callbacks.
- Added event listeners for `beforeunload` and `routeChangeStart` events in the `useEffect` hook.
- Cleaned up the event listeners in the cleanup function of the `useEffect` hook.
fix: Fix reload confirmations in PageDetailsPage
- Removed the TODO comment regarding fixing reload confirmations with MobX, as it has been resolved.
- Passed the `pageStore?.isSubmitting === "submitting"` flag to the `useReloadConfirmations` hook instead of an undefined message.
This commit refactors the `useReloadConfirmations` hook to improve its functionality and fixes the usage in the `PageDetailsPage` component.
---------
Co-authored-by: Palanikannan1437 <73993394+Palanikannan1437@users.noreply.github.com>
* 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: 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: added sidebar toggle in all the screens for mobile responsive
* chore: close sidebar on click of empty space when opened
* chore: setting the sidebar collapsed in smaller screens
* chore: issue peek overview and sidebar properties focused state improvement
* fix: added name of the issue in issue relation
* chore: issue sidebar and peek overview properties improvement
* chore: issue assignee improvement for sidebar and peek overview
---------
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
* fix: inbox pending_issue_count updation from the store
* fix: inbox list item overflow issue on issue title
* fix: inbox issue mutation
---------
Co-authored-by: gurusainath <gurusainath007@gmail.com>
* clear store on signout
* fix: project member list response change
* fix adding member to project
* fix exceptions with invitations
---------
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
* chore: applying filters from the route params to the global issue filters store and Typos
* chore: enabled posthog
* fix: labels disbaled and loader while creating the label in isse detail and relation modal loader and mutation issue
* 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
* 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
* 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
* fix for drag and drop issues
* add horizontal scroll for kanban
* fix all issues quick action overlap
---------
Co-authored-by: Rahul R <rahul.ramesha@plane.so>
* 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 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`.
* 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>