diff --git a/src/app/(main)/my-voyage/[teamId]/features/components/Card.tsx b/src/app/(main)/my-voyage/[teamId]/features/components/Card.tsx index 459c9cb8..800e8397 100644 --- a/src/app/(main)/my-voyage/[teamId]/features/components/Card.tsx +++ b/src/app/(main)/my-voyage/[teamId]/features/components/Card.tsx @@ -67,7 +67,7 @@ export default function Card({ feature, index, setEditMode }: CardProps) { )}
-
{description}
+ {description} {`Added by ${ isCurrentUser ? "you" : firstName + " " + lastName }`} diff --git a/src/app/(main)/my-voyage/[teamId]/features/components/List.tsx b/src/app/(main)/my-voyage/[teamId]/features/components/List.tsx index 13e19ad6..28b19b8a 100644 --- a/src/app/(main)/my-voyage/[teamId]/features/components/List.tsx +++ b/src/app/(main)/my-voyage/[teamId]/features/components/List.tsx @@ -39,7 +39,7 @@ export default function List({ id, title, features }: ListProps) { return (
-

{title}

+

{title}

{/* Features container / drag and drop area */} {(provided: DroppableProvided, snapshot: DroppableStateSnapshot) => ( diff --git a/src/app/(main)/my-voyage/[teamId]/tech-stack/components/TechStackCard.tsx b/src/app/(main)/my-voyage/[teamId]/tech-stack/components/TechStackCard.tsx index 229d479b..821d9b84 100644 --- a/src/app/(main)/my-voyage/[teamId]/tech-stack/components/TechStackCard.tsx +++ b/src/app/(main)/my-voyage/[teamId]/tech-stack/components/TechStackCard.tsx @@ -81,9 +81,9 @@ export default function TechStackCard({ title, data }: TechStackCardProps) {
{GetIcon(title)} -

+ {title} -

+
diff --git a/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceCard.tsx b/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceCard.tsx index 89618a35..7cdf54e3 100644 --- a/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceCard.tsx +++ b/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceCard.tsx @@ -80,13 +80,14 @@ export default function ResourceCard({
-
Added {date}
+
Added {date}
{userId === currentUserId ? ( diff --git a/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceInput.tsx b/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceInput.tsx index bda2dd49..242cfc30 100644 --- a/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceInput.tsx +++ b/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceInput.tsx @@ -74,6 +74,7 @@ export default function ResourceInput() {
diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 474029e1..a5a670e2 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -89,13 +89,11 @@ export default function Button({ variant, size, children, - role, ...props }: ButtonProps) { return (
diff --git a/src/components/inputs/TextInput.tsx b/src/components/inputs/TextInput.tsx index 7f18f7cd..5c3077f7 100644 --- a/src/components/inputs/TextInput.tsx +++ b/src/components/inputs/TextInput.tsx @@ -21,6 +21,7 @@ interface TextInputProps extends React.InputHTMLAttributes { inputGroupContent?: JSX.Element; submitButtonText?: string | React.ReactNode; buttonDisabled?: boolean; + ariaLabel?: string; clearInputAction?: () => void; } @@ -40,6 +41,7 @@ const TextInput = React.forwardRef( clearInputAction, className, type = "text", + ariaLabel, ...props }, ref, @@ -92,6 +94,7 @@ const TextInput = React.forwardRef( )} >