Remove unnecessary links and texts in topic messages (#1851)
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
This commit is contained in:
parent
d8e5075235
commit
a038762409
4 changed files with 2 additions and 12 deletions
|
@ -62,13 +62,8 @@ const Message: React.FC<{ message: TopicMessage }> = ({
|
||||||
<StyledDataCell title={key}>{key}</StyledDataCell>
|
<StyledDataCell title={key}>{key}</StyledDataCell>
|
||||||
<StyledDataCell>
|
<StyledDataCell>
|
||||||
<S.Metadata>
|
<S.Metadata>
|
||||||
<S.MetadataLabel>Range:</S.MetadataLabel>
|
|
||||||
<S.MetadataValue>{content}</S.MetadataValue>
|
<S.MetadataValue>{content}</S.MetadataValue>
|
||||||
</S.Metadata>
|
</S.Metadata>
|
||||||
<S.Metadata>
|
|
||||||
<S.MetadataLabel>Version:</S.MetadataLabel>
|
|
||||||
<S.MetadataValue>3</S.MetadataValue>
|
|
||||||
</S.Metadata>
|
|
||||||
</StyledDataCell>
|
</StyledDataCell>
|
||||||
<td style={{ width: '5%' }}>
|
<td style={{ width: '5%' }}>
|
||||||
{vEllipsisOpen && (
|
{vEllipsisOpen && (
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Link } from 'react-router-dom';
|
|
||||||
|
|
||||||
export const Wrapper = styled.tr`
|
export const Wrapper = styled.tr`
|
||||||
background-color: ${({ theme }) => theme.topicMetaData.backgroundColor};
|
background-color: ${({ theme }) => theme.topicMetaData.backgroundColor};
|
||||||
|
@ -78,5 +77,3 @@ export const PaginationButton = styled.button`
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const SchemaLink = styled(Link)``;
|
|
||||||
|
|
|
@ -106,7 +106,6 @@ const MessageContent: React.FC<MessageContentProps> = ({
|
||||||
<S.MetadataMeta>
|
<S.MetadataMeta>
|
||||||
Size: <BytesFormatted value={contentSize} />
|
Size: <BytesFormatted value={contentSize} />
|
||||||
</S.MetadataMeta>
|
</S.MetadataMeta>
|
||||||
<S.SchemaLink to="/">SchemaLink</S.SchemaLink>
|
|
||||||
</span>
|
</span>
|
||||||
</S.Metadata>
|
</S.Metadata>
|
||||||
|
|
||||||
|
@ -117,7 +116,6 @@ const MessageContent: React.FC<MessageContentProps> = ({
|
||||||
<S.MetadataMeta>
|
<S.MetadataMeta>
|
||||||
Size: <BytesFormatted value={keySize} />
|
Size: <BytesFormatted value={keySize} />
|
||||||
</S.MetadataMeta>
|
</S.MetadataMeta>
|
||||||
<S.SchemaLink to="/">SchemaLink</S.SchemaLink>
|
|
||||||
</span>
|
</span>
|
||||||
</S.Metadata>
|
</S.Metadata>
|
||||||
</S.MetadataWrapper>
|
</S.MetadataWrapper>
|
||||||
|
|
|
@ -74,8 +74,8 @@ const MessagesTable: React.FC = () => {
|
||||||
<TableHeaderCell title="Offset" />
|
<TableHeaderCell title="Offset" />
|
||||||
<TableHeaderCell title="Partition" />
|
<TableHeaderCell title="Partition" />
|
||||||
<TableHeaderCell title="Timestamp" />
|
<TableHeaderCell title="Timestamp" />
|
||||||
<TableHeaderCell title="Key" previewText="Preview" />
|
<TableHeaderCell title="Key" />
|
||||||
<TableHeaderCell title="Content" previewText="Preview" />
|
<TableHeaderCell title="Content" />
|
||||||
<TableHeaderCell> </TableHeaderCell>
|
<TableHeaderCell> </TableHeaderCell>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
Loading…
Add table
Reference in a new issue