[FEAT] Implement issue features and asignees#6
Conversation
There was a problem hiding this comment.
Pull request overview
This PR upgrades Devlane’s issue experience by adding rich-text comments with full CRUD on the issue detail page, improving list/detail UI data usage (assignees/labels), and enriching the backend issue list response to include related IDs.
Changes:
- Add a TipTap-based
CommentEditorand integrate it intoIssueDetailPagefor creating/editing comments. - Add comment update/delete APIs on the UI side and show assignees/labels in the issue list using the enriched API response.
- Update backend issue listing to populate assignee/label/cycle/module ID arrays; expand README and add UI favicon/assets.
Reviewed changes
Copilot reviewed 10 out of 17 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
ui/src/services/commentService.ts |
Adds update and delete methods to support comment CRUD from the UI. |
ui/src/pages/IssueListPage.tsx |
Uses assignee_ids and label_ids from API responses to display assignees/labels. |
ui/src/pages/IssueDetailPage.tsx |
Integrates rich-text comment editor, adds edit/delete UI, and improves error feedback. |
ui/src/components/work-item/CommentEditor.tsx |
New TipTap editor component used for creating and editing comments. |
ui/src/components/work-item/index.ts |
Exports the new CommentEditor. |
ui/src/components/CreateWorkItemModal.tsx |
Aligns project typing with API response types. |
api/internal/service/issue.go |
Enriches List response by populating assignee/label/cycle/module IDs. |
ui/package.json / ui/package-lock.json |
Adds TipTap dependencies and lockfile updates. |
ui/index.html |
Adds a favicon link. |
README.md |
Expands documentation (install/dev/features/license overview). |
ui/public/*.png |
Adds new branding/image assets used by README/favicon. |
Files not reviewed (1)
- ui/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Backend (api/internal/handler/issue.go): limit is capped at 100 (if limit <= 0 || limit > 100 { limit = 50 }). |
This pull request introduces several significant improvements to both the backend and frontend of the Devlane project. The main highlights are the addition of a rich text editor for comments using TipTap, enhanced error handling and user feedback in the issue detail page, and improvements to API responses for work items. Additionally, the documentation has been expanded, and minor UI/UX enhancements have been made.
Frontend Enhancements:
Rich Text Comment Editor:
CommentEditorcomponent using TipTap, supporting rich text formatting (bold, italic, underline, lists, code blocks, and placeholder text) for writing and editing comments. [1] [2]ui/package.jsonto include necessary TipTap extensions.CommentEditorinto theIssueDetailPage, replacing the plain text input for comments. [1] [2]Improved Comment Management and Error Handling:
UI/UX Improvements:
Backend/API Improvements:
Work Item API Response Enrichment:
Documentation and Developer Experience:
Expanded Project Documentation:
README.mdhas been significantly expanded to include installation instructions, feature overview, local development steps, technology stack, contribution guidelines, and licensing information.Other Codebase Improvements:
Type Consistency:
References:
Closes #5