-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Create task with comments * View comments on task details * Allow create comment on edit task * Display comments count on table * Show comment count on tasks tile on landing page * Fix up types * Order comments descending * Update schemas.ts * Move comment adding to central server * Update schemas.ts * Fix types * build fixes * Revert "Remove task comments endpoints" This reverts commit 498b1be. * Remove task comment create endpoint as no longer needed
- Loading branch information
Showing
34 changed files
with
383 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
packages/datatrak-web/src/components/Icons/CommentIcon.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Tupaia | ||
* Copyright (c) 2017 - 2024 Beyond Essential Systems Pty Ltd | ||
*/ | ||
import React from 'react'; | ||
import { SvgIcon, SvgIconProps } from '@material-ui/core'; | ||
|
||
export const CommentIcon = (props: SvgIconProps) => { | ||
return ( | ||
<SvgIcon | ||
{...props} | ||
width="14" | ||
height="14" | ||
viewBox="0 0 14 14" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M12.445 1.55516C12.0897 1.19958 11.6077 1 11.1053 1H2.89474C2.39225 1 1.91029 1.19958 1.55496 1.55516C1.19964 1.91011 1 2.39201 1 2.89475V8.57904C1 9.08178 1.19964 9.56368 1.55496 9.91864C1.91029 10.2742 2.39225 10.4738 2.89474 10.4738H4.78947V12.3686C4.78947 12.4936 4.82654 12.6155 4.89595 12.7191C4.96536 12.8233 5.06396 12.9041 5.17934 12.9521C5.29473 12.9995 5.42174 13.0121 5.54421 12.9881C5.66673 12.9635 5.77922 12.9035 5.86758 12.8151L8.20884 10.4738H11.1053C11.6077 10.4738 12.0897 10.2742 12.445 9.91864C12.8004 9.56368 13 9.08178 13 8.57904V2.89475C13 2.39201 12.8004 1.91011 12.445 1.55516ZM12.3684 8.57904C12.3684 8.91377 12.2353 9.23525 11.9984 9.4721C11.7615 9.70895 11.4402 9.84221 11.1053 9.84221H7.94736L5.42105 12.3686V9.84221H2.89474C2.55974 9.84221 2.23846 9.70895 2.00156 9.4721C1.76465 9.23525 1.63158 8.91377 1.63158 8.57904V2.89475C1.63158 2.56002 1.76465 2.23853 2.00156 2.00169C2.23846 1.76484 2.55974 1.63159 2.89474 1.63159H11.1053C11.4402 1.63159 11.7615 1.76484 11.9984 2.00169C12.2353 2.23853 12.3684 2.56002 12.3684 2.89475V8.57904Z" | ||
fill="#898989" | ||
stroke="#898989" | ||
strokeWidth="0.3" | ||
/> | ||
</SvgIcon> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.