diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.tsx index 8fd1506175b..52ebe28d1fa 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.tsx @@ -121,9 +121,13 @@ const ActivityFeedCard: FC = ({ return (
+ className={classNames( + className, + 'hover:tw-bg-gray-100 tw--mx-2.5 tw-px-2.5 tw--mt-1 tw-py-1 tw-mb-1 tw-rounded', + { + 'tw-bg-gray-100': visible, + } + )}> = ({ visible={visible} zIndex={9999} onVisibleChange={handleVisibleChange}> -
+
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/BotsDetail/BotsDetail.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/BotsDetail/BotsDetail.component.tsx index bbc2e0c4fc5..8b4fd374ca3 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/BotsDetail/BotsDetail.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/BotsDetail/BotsDetail.component.tsx @@ -37,7 +37,6 @@ import CopyToClipboardButton from '../buttons/CopyToClipboardButton/CopyToClipbo import Description from '../common/description/Description'; import { reactSingleSelectCustomStyle } from '../common/react-select-component/reactSelectCustomStyle'; import TitleBreadcrumb from '../common/title-breadcrumb/title-breadcrumb.component'; -import PageContainerV1 from '../containers/PageContainerV1'; import PageLayout, { leftPanelAntCardStyle } from '../containers/PageLayout'; import ConfirmationModal from '../Modals/ConfirmationModal/ConfirmationModal'; import { UserDetails } from '../Users/Users.interface'; @@ -161,11 +160,11 @@ const BotsDetail: FC = ({ const getDisplayNameComponent = () => { return ( -
+
{isDisplayNameEdit ? ( -
+
= ({ className="ant-card-feed" style={{ ...leftPanelAntCardStyle, - marginTop: '20px', + marginTop: '16px', }}>
@@ -267,7 +266,7 @@ const BotsDetail: FC = ({ className="ant-card-feed" style={{ ...leftPanelAntCardStyle, - marginTop: '20px', + marginTop: '16px', }}>
@@ -377,7 +376,7 @@ const BotsDetail: FC = ({ const getCenterLayout = () => { return (
@@ -423,23 +422,23 @@ const BotsDetail: FC = ({ }, [botsData]); return ( - - - - {getCenterLayout()} - + + } + leftPanel={fetchLeftPanel()} + rightPanel={fetchRightPanel()}> + {getCenterLayout()} {isRevokingToken ? ( = ({ }} /> ) : null} - + ); }; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Reactions/Emoji.jsx b/openmetadata-ui/src/main/resources/ui/src/components/Reactions/Emoji.jsx index 0ff02dea982..d5b47016911 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Reactions/Emoji.jsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Reactions/Emoji.jsx @@ -92,7 +92,9 @@ const Emoji = ({ reaction, reactionList, onReactionSelect }) => { fallback-src={image}> {reactionObject.emoji} - {reactionList.length} + + {reactionList.length} + ); diff --git a/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetails.tsx b/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetails.tsx index 31dc72f0371..88f05cf090a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetails.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/TeamDetails/TeamDetails.tsx @@ -365,7 +365,7 @@ const TeamDetails = ({ ) : (
{sortedUser.map((user, index) => { const User = { diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Users/Users.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Users/Users.component.tsx index c6a21416499..9d27fafa6a2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Users/Users.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Users/Users.component.tsx @@ -225,11 +225,11 @@ const Users = ({ const getDisplayNameComponent = () => { if (isAdminUser || isLoggedinUser || isAuthDisabled) { return ( -
+
{isDisplayNameEdit ? ( -
+
+

{getEntityName(userData as unknown as EntityReference)}

); @@ -305,7 +305,7 @@ const Users = ({ ); } else { return ( -
+

{userData.description || ( No description @@ -335,7 +335,7 @@ const Users = ({ return ( Teams

}> -
{teamsElement}
+
{teamsElement}
); } else { return ( }> - -
- {isTeamsEdit ? ( - - ({ + label: getEntityName(team as unknown as EntityReference), + value: team.id, + }))} + placeholder="Teams..." + styles={reactSingleSelectCustomStyle} + value={selectedTeams} + onChange={handleOnTeamsChange} + /> +
+ + +
+
+ ) : ( + teamsElement + )} +
); } @@ -466,7 +462,7 @@ const Users = ({ return ( Roles
}> -
+
{rolesElement}
@@ -485,7 +481,7 @@ const Users = ({ return ( }> - -
- {isRolesEdit ? ( - - +
+ + +
+
+ ) : ( + rolesElement + )} +
); } @@ -605,7 +597,7 @@ const Users = ({
{ }, [botsName]); return ( - - {isLoading ? ( - - ) : ( -
{getBotsDetailComponent()}
- )} -
+ + {isLoading ? : getBotsDetailComponent()} + ); }; diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/teams/CheckboxUserCard.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/teams/CheckboxUserCard.tsx index 8dee9277a97..76d278e82fe 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/teams/CheckboxUserCard.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/teams/CheckboxUserCard.tsx @@ -78,34 +78,32 @@ const CheckboxUserCard = ({ )}
- {isActionVisible && ( -
- {isCheckBoxes ? ( - { - setIsChecked(e.target.checked); - onSelect?.(item.id as string, e.target.checked); - }} + {isActionVisible && + (isCheckBoxes ? ( + { + setIsChecked(e.target.checked); + onSelect?.(item.id as string, e.target.checked); + }} + /> + ) : ( + onRemove?.(item.id as string)}> + - ) : ( - onRemove?.(item.id as string)}> - - - )} -
- )} + + ))}
); }; diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/teams/UserCard.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/teams/UserCard.tsx index 02135a3c85b..30a0868e8a9 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/teams/UserCard.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/teams/UserCard.tsx @@ -186,7 +186,7 @@ const UserCard = ({ {isIconVisible ? item.name : capitalize(item.name)} @@ -212,18 +212,18 @@ const UserCard = ({ )}
- {isActionVisible && ( -
- {isCheckBoxes ? ( - { - onSelect?.(item.id as string); - }} - /> - ) : ( + {isActionVisible && + (isCheckBoxes ? ( + { + onSelect?.(item.id as string); + }} + /> + ) : ( +
You do not have permission to update the team.} isOwner={isOwner} @@ -245,9 +245,8 @@ const UserCard = ({ /> - )} -
- )} +
+ ))}
); };