Skip to content

Commit ffeedfc

Browse files
committed
OpenConceptLab/ocl_issues#2259 | source version vectorized indicator
1 parent 3de2a50 commit ffeedfc

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@
248248
"unapplied",
249249
"webkit",
250250
"localhost",
251-
"waitlist"
251+
"waitlist",
252+
"vectorized"
252253
],
253254
"skipIfMatch": [
254255
"http://[^s]*",

src/components/repos/VersionsTable.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ const Row = ({ version, disabled, checkbox, bodyCellStyle, onCheck, checked, onV
3838
}
3939
<TableCell sx={{...bodyCellStyle, ...(checkbox ? {} : {borderTopLeftRadius: '50px', borderBottomLeftRadius: '50px'})}} onClick={isDisabled ? undefined : () => onVersionChange(version)}>
4040
{version.id}
41+
{
42+
version?.match_algorithms?.includes('llm') &&
43+
<Tooltip title={t('repo.version.vectorized_for_mapper')}>
44+
<i style={{fontSize: '0.8rem', marginLeft: '8px'}} className="fa-solid fa-diagram-project"></i>
45+
</Tooltip>
46+
}
4147
</TableCell>
4248
<TableCell sx={{...bodyCellStyle}} onClick={isDisabled ? undefined : () => onVersionChange(version)}>
4349
{moment(version.created_on).fromNow()}

src/i18n/locales/en/translations.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@
322322
"ocl_repo_url": "OCL Repo URL",
323323
"create_version": "Create Version",
324324
"version": {
325+
"vectorized_for_mapper": "Concepts vectorization is enabled in this version for mapper tool",
325326
"form": {
326327
"id": {
327328
"label": "ID",

0 commit comments

Comments
 (0)