Skip to content
Prev Previous commit
Next Next commit
Rename Document Labeling to Data Labeling with blue icon
- Update sidebar navigation to show 'Data Labeling' instead of 'Document Labeling'
- Add blue color (#006BB4) to Data Labeling icon to match other navbar icons
- Update route from 'document-labeling' to 'data-labeling'
- Update page title from 'Document Labeling for RAG' to 'Data Labeling for RAG'
- Update custom tab types from DocumentLabeling to DataLabeling
- Update test document text to reference 'data labeling functionality'

Co-Authored-By: Francisco Javier Arceo <arceofrancisco@gmail.com>

Signed-off-by: Devin AI <devin-ai-integration[bot]@users.noreply.github.com>

Co-Authored-By: Francisco Javier Arceo <arceofrancisco@gmail.com>
  • Loading branch information
commit 530755ccdd8b880441a6900f94b640230d181cf8
2 changes: 1 addition & 1 deletion ui/src/FeastUISansProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const FeastUISansProvidersInner = ({
element={<DatasetInstance />}
/>
<Route
path="document-labeling/"
path="data-labeling/"
element={<DocumentLabelingPage />}
/>
<Route path="permissions/" element={<PermissionsIndex />} />
Expand Down
12 changes: 6 additions & 6 deletions ui/src/custom-tabs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,18 @@ interface DatasetCustomTabRegistrationInterface
}: DatasetCustomTabProps) => JSX.Element;
}

// Type for Document Labeling Custom Tabs
interface DocumentLabelingCustomTabProps {
// Type for Data Labeling Custom Tabs
interface DataLabelingCustomTabProps {
id: string | undefined;
feastObjectQuery: RegularFeatureViewQueryReturnType;
}
interface DocumentLabelingCustomTabRegistrationInterface
interface DataLabelingCustomTabRegistrationInterface
extends CustomTabRegistrationInterface {
Component: ({
id,
feastObjectQuery,
...args
}: DocumentLabelingCustomTabProps) => JSX.Element;
}: DataLabelingCustomTabProps) => JSX.Element;
}

export type {
Expand All @@ -171,6 +171,6 @@ export type {
FeatureCustomTabProps,
DatasetCustomTabRegistrationInterface,
DatasetCustomTabProps,
DocumentLabelingCustomTabRegistrationInterface,
DocumentLabelingCustomTabProps,
DataLabelingCustomTabRegistrationInterface,
DataLabelingCustomTabProps,
};
10 changes: 5 additions & 5 deletions ui/src/pages/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ const SideNav = () => {
isSelected: useMatchSubpath(`${baseUrl}/data-set`),
},
{
name: "Document Labeling",
id: htmlIdGenerator("documentLabeling")(),
icon: <EuiIcon type="documentEdit" />,
name: "Data Labeling",
id: htmlIdGenerator("dataLabeling")(),
icon: <EuiIcon type="documentEdit" color="#006BB4" />,
renderItem: (props) => (
<Link {...props} to={`${baseUrl}/document-labeling`} />
<Link {...props} to={`${baseUrl}/data-labeling`} />
),
isSelected: useMatchSubpath(`${baseUrl}/document-labeling`),
isSelected: useMatchSubpath(`${baseUrl}/data-labeling`),
},
{
name: "Permissions",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/pages/document-labeling/DocumentLabelingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ The final paragraph contains information about feature stores and real-time mach
<EuiPageBody>
<EuiPageHeader>
<EuiTitle size="l">
<h1>Document Labeling for RAG</h1>
<h1>Data Labeling for RAG</h1>
</EuiTitle>
</EuiPageHeader>

Expand Down
2 changes: 1 addition & 1 deletion ui/src/test-document.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is a sample document for testing the document labeling functionality in Feast UI.
This is a sample document for testing the data labeling functionality in Feast UI.

The document contains multiple paragraphs and sections that can be used to test the text highlighting and labeling features.

Expand Down