From 764ff7aee2e8ca6b777eb2cdb9e88dc0b3f00ca3 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Sun, 21 Apr 2024 22:10:32 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20frontend:=20rename=20avatar=20mo?= =?UTF-8?q?lecules=20to=20match=20filenames?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/molecules/grouped-rows/base/index.stories.tsx | 2 +- .../src/app/molecules/grouped-rows/channel/index.stories.tsx | 2 +- .../src/app/molecules/grouped-rows/company/index.stories.tsx | 2 +- .../src/app/molecules/grouped-rows/user/index.stories.tsx | 2 +- tdrive/frontend/src/app/molecules/grouped-rows/user/index.tsx | 4 ++-- .../app/molecules/grouped-rows/workspace/index.stories.tsx | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tdrive/frontend/src/app/molecules/grouped-rows/base/index.stories.tsx b/tdrive/frontend/src/app/molecules/grouped-rows/base/index.stories.tsx index df5ba675..8f8b5dbb 100644 --- a/tdrive/frontend/src/app/molecules/grouped-rows/base/index.stories.tsx +++ b/tdrive/frontend/src/app/molecules/grouped-rows/base/index.stories.tsx @@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar'; import { CheckIcon } from '@atoms/icons-agnostic'; export default { - title: '@molecules/avatar-block', + title: '@molecules/grouped-rows', }; const Template: ComponentStory = (props: { diff --git a/tdrive/frontend/src/app/molecules/grouped-rows/channel/index.stories.tsx b/tdrive/frontend/src/app/molecules/grouped-rows/channel/index.stories.tsx index 44519b15..3a99518d 100644 --- a/tdrive/frontend/src/app/molecules/grouped-rows/channel/index.stories.tsx +++ b/tdrive/frontend/src/app/molecules/grouped-rows/channel/index.stories.tsx @@ -5,7 +5,7 @@ import ChannelBlock from '.'; import Avatar from '@atoms/avatar'; export default { - title: '@molecules/avatar-block', + title: '@molecules/grouped-rows', }; const Template: ComponentStory = (props: { diff --git a/tdrive/frontend/src/app/molecules/grouped-rows/company/index.stories.tsx b/tdrive/frontend/src/app/molecules/grouped-rows/company/index.stories.tsx index 8410dd25..92ddc415 100644 --- a/tdrive/frontend/src/app/molecules/grouped-rows/company/index.stories.tsx +++ b/tdrive/frontend/src/app/molecules/grouped-rows/company/index.stories.tsx @@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar'; import { CheckIcon } from '@atoms/icons-agnostic'; export default { - title: '@molecules/avatar-block', + title: '@molecules/grouped-rows', }; const Template: ComponentStory = (props: { diff --git a/tdrive/frontend/src/app/molecules/grouped-rows/user/index.stories.tsx b/tdrive/frontend/src/app/molecules/grouped-rows/user/index.stories.tsx index 16488073..566c0d8e 100644 --- a/tdrive/frontend/src/app/molecules/grouped-rows/user/index.stories.tsx +++ b/tdrive/frontend/src/app/molecules/grouped-rows/user/index.stories.tsx @@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar'; import { CheckIcon } from '@atoms/icons-agnostic'; export default { - title: '@molecules/avatar-block', + title: '@molecules/grouped-rows', }; const Template: ComponentStory = (props: { diff --git a/tdrive/frontend/src/app/molecules/grouped-rows/user/index.tsx b/tdrive/frontend/src/app/molecules/grouped-rows/user/index.tsx index 3dec0fec..38606e4e 100644 --- a/tdrive/frontend/src/app/molecules/grouped-rows/user/index.tsx +++ b/tdrive/frontend/src/app/molecules/grouped-rows/user/index.tsx @@ -3,7 +3,7 @@ import React from 'react'; import BaseBlock from '@molecules/grouped-rows/base'; // @ts-ignore -interface BlockProps extends React.InputHTMLAttributes { +interface UserBlockProps extends React.InputHTMLAttributes { avatar: JSX.Element; title: JSX.Element | string; subtitle: JSX.Element | string; @@ -11,6 +11,6 @@ interface BlockProps extends React.InputHTMLAttributes { className?: string; } -export default function Workspace(props: BlockProps) { +export default function UserBlock(props: UserBlockProps) { return BaseBlock(props); } diff --git a/tdrive/frontend/src/app/molecules/grouped-rows/workspace/index.stories.tsx b/tdrive/frontend/src/app/molecules/grouped-rows/workspace/index.stories.tsx index 63e17bd6..a6815e9e 100644 --- a/tdrive/frontend/src/app/molecules/grouped-rows/workspace/index.stories.tsx +++ b/tdrive/frontend/src/app/molecules/grouped-rows/workspace/index.stories.tsx @@ -7,7 +7,7 @@ import Avatar from '@atoms/avatar'; import { CheckIcon } from '@atoms/icons-agnostic'; export default { - title: '@molecules/avatar-block', + title: '@molecules/grouped-rows', }; const Template: ComponentStory = (props: {