Repository: provectus/kafka-ui
Issue: Rename "Relevant" version of a schema to "Actual"
Labels: good first issue
scope/frontend
status/accepted
type/chore



**Describe the bug**
Update "Relevant" version of Schema to be "Actual"

**Set up**
https://www.kafka-ui.provectus.io/

**Steps to Reproduce**

1. Navigate to Schema Registry
2. Open the Schema

**Expected behavior**
Should be 'actual version" instead of "Relevant version"

**Screenshots**
<img width="1717" alt="relevant version" src="https://user-images.githubusercontent.com/104780608/188567076-82590b28-f3f0-49ca-b65a-cc0862b8ceae.png">



**Additional context**
<!--
(Add any other context about the problem here)
-->


Issue comments:
Is this issue taken? If not, I want to do it.
No, it’s not. Please go ahead:)

> On 15 Sep 2022, at 18:35, Winnie Chiu ***@***.***> wrote:
> 
> ﻿
> Is this issue taken? If not, I want to do it.
> 
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you are subscribed to this thread.


Pull request review comments:

Patch that resolved the issue:
diff --git a/kafka-ui-react-app/src/components/Schemas/Details/LatestVersion/LatestVersionItem.tsx b/kafka-ui-react-app/src/components/Schemas/Details/LatestVersion/LatestVersionItem.tsx
index 4efa47d7fe7..5cc472d9f0f 100644
--- a/kafka-ui-react-app/src/components/Schemas/Details/LatestVersion/LatestVersionItem.tsx
+++ b/kafka-ui-react-app/src/components/Schemas/Details/LatestVersion/LatestVersionItem.tsx
@@ -14,7 +14,7 @@ const LatestVersionItem: React.FC<LatestVersionProps> = ({
 }) => (
   <S.Wrapper>
     <div>
-      <Heading level={3}>Relevant version</Heading>
+      <Heading level={3}>Actual version</Heading>
       <EditorViewer data={schema} schemaType={schemaType} maxLines={28} />
     </div>
     <div>
diff --git a/kafka-ui-react-app/src/components/Schemas/Details/__test__/LatestVersionItem.spec.tsx b/kafka-ui-react-app/src/components/Schemas/Details/__test__/LatestVersionItem.spec.tsx
index 9962bd2e966..e4d70548cad 100644
--- a/kafka-ui-react-app/src/components/Schemas/Details/__test__/LatestVersionItem.spec.tsx
+++ b/kafka-ui-react-app/src/components/Schemas/Details/__test__/LatestVersionItem.spec.tsx
@@ -8,7 +8,7 @@ import { jsonSchema, protoSchema } from './fixtures';
 describe('LatestVersionItem', () => {
   it('renders latest version of json schema', () => {
     render(<LatestVersionItem schema={jsonSchema} />);
-    expect(screen.getByText('Relevant version')).toBeInTheDocument();
+    expect(screen.getByText('Actual version')).toBeInTheDocument();
     expect(screen.getByText('Latest version')).toBeInTheDocument();
     expect(screen.getByText('ID')).toBeInTheDocument();
     expect(screen.getByText('Subject')).toBeInTheDocument();
@@ -18,7 +18,7 @@ describe('LatestVersionItem', () => {
 
   it('renders latest version of compatibility', () => {
     render(<LatestVersionItem schema={protoSchema} />);
-    expect(screen.getByText('Relevant version')).toBeInTheDocument();
+    expect(screen.getByText('Actual version')).toBeInTheDocument();
     expect(screen.getByText('Latest version')).toBeInTheDocument();
     expect(screen.getByText('ID')).toBeInTheDocument();
     expect(screen.getByText('Subject')).toBeInTheDocument();


Test patch: