Skip to content

Commit

Permalink
Merge pull request #55 from 4paradigm/feat/refine_frontend_for_010
Browse files Browse the repository at this point in the history
feat: refine frontend for 010
  • Loading branch information
tobegit3hub authored Jan 16, 2024
2 parents a8ae24a + 3ca6c96 commit c2c2751
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 16 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM openjdk:17-oracle

WORKDIR /app

ADD openmldb-feature-platform-0.8-SNAPSHOT.jar /app/
ADD openmldb-feature-platform-0.1-SNAPSHOT.jar /app/

EXPOSE 8888

CMD ["java", "-jar", "/app/openmldb-feature-platform-0.8-SNAPSHOT.jar"]
CMD ["java", "-jar", "/app/openmldb-feature-platform-0.1-SNAPSHOT.jar"]

2 changes: 1 addition & 1 deletion frontend/src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<a-layout-footer style="text-align: center">
<br />
<div>
<a href="https://github.com/4paradigm/OpenMLDB" target="_blank">OpenMLDB</a> © 2021-2023
<a href="https://github.com/4paradigm/OpenMLDB" target="_blank">OpenMLDB</a> © 2021-2024
</div>
</a-layout-footer>
</a-layout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</a-form-item>
</a-form>

<a-button type="primary" @click="generateSampleFeatures">{{ $t('Display Sample Features') }}</a-button>
<a-button type="primary" @click="generateSampleFeatures">{{ $t('Preview Sample Features') }}</a-button>
&nbsp;<a-button type="primary" @click="showForm">{{ $t('Filter with Index') }}</a-button>

<div v-if="isShowForm">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/feature/FeatureDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>

<br/>
<a-button type="primary" @click="randomlyGenerateFeatures">{{ $t('Display Sample Features') }}</a-button>
<a-button type="primary" @click="randomlyGenerateFeatures">{{ $t('Preview Sample Features') }}</a-button>
<!-- &nbsp;<a-button type="primary" @click="showForm">通过索引过滤特征</a-button> -->

<div v-if="isShowForm">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/form/CreateFeatureForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default {
})
.then(response => {
notification["success"]({
message: this.$t('Execute Fail'),
message: this.$t('Execute Success'),
description: `${this.$t('Success to create feature view')}: ${this.formState.name}`
});
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/form/CreateFeatureServiceForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default {
})
.then(response => {
notification["success"]({
message: this.$t('Success Fail'),
message: this.$t('Execute Success'),
description: `Success to add feature service ${this.formState.name} and version ${this.formState.version}`
});
Expand Down
1 change: 1 addition & 0 deletions frontend/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"Example": "Example",
"Text of SQL Playground": "Users can execute any OpenMLDB SQL statement. In online mode, it will request the online database, allowing for the addition, deletion, modification, and querying of online data; in offline mode, it will submit SQL for distributed execution, enabling offline exploration or sample generation.",
"Text of Computed Features": "Users can precompute feature values and directly store them in the OpenMLDB online table, and then access the online table data for reading and writing features. If more complex feature computation logic is needed, it can be implemented through the command line or SDK by writing OpenMLDB SQL.",
"Preview Sample Features": "Preview Sample Features",
"Filter with Index": "Filter with Index"

}
16 changes: 8 additions & 8 deletions frontend/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"Features": "特征",
"Feature": "特征",
"Feature List": "特征列表",
"Feature Views": "特征组",
"Feature View": "特征组",
"Feature View List": "特征组列表",
"Feature View Name": "特征组名",
"Feature Views": "特征视图",
"Feature View": "特征视图",
"Feature View List": "特征视图列表",
"Feature View Name": "特征视图名",
"Feature Services": "特征服务",
"Feature Service": "特征服务",
"Feature Service List": "特征服务列表",
Expand Down Expand Up @@ -97,7 +97,7 @@
"Map Hive Table": "映射Hive表",
"Display Import SQL": "显示 SQL 导入",
"Display All Versions": "显示所有版本",
"Related Feature Views": "关联特征组",
"Related Feature Views": "关联特征视图",
"Related Feature Services": "关联特征服务",
"Notice CLTV Text": "注意:网页版支持标准Hive数据引入,CLTV数据需要通过后台引入。",
"Dag": "Dag",
Expand Down Expand Up @@ -209,7 +209,7 @@
"Success to submit import data job": "成功提交导入数据任务",
"Write Mode": "写入模式",
"All Features": "所有特征",
"All Feature Views": "所有特征组",
"All Feature Views": "所有特征视图",
"All Databases": "所有数据库",
"All Tables": "所有数据表",
"All Offline Jobs": "所有离线任务",
Expand All @@ -231,7 +231,7 @@
"Offline Scenario": "离线场景",
"Export Offline Sample": "导出离线样本",
"Analyze": "分析",
"Success to create feature view": "成功创建特征组",
"Success to create feature view": "成功创建特征视图",
"SQL Playground": "SQL实验室",
"SQL Result": "SQL 结果",
"Insert Single Row": "插入单行数据",
Expand Down Expand Up @@ -275,7 +275,7 @@
"Example": "示例",
"Text of SQL Playground": "用户可以执行任意的 OpenMLDB SQL 语句,在线模式下会请求在线数据库,可进行在线数据的增删改查;离线模式下会提交分布式执行的 SQL,可进行离线探索或样本生成。",
"Text of Computed Features": "用户可以通过预计算把特征值直接存入 OpenMLDB 在线表中,然后访问在线表数据进行读写特征。如果需要实现更复杂的特征计算逻辑,可以通过命令行或SDK来编写 OpenMLDB SQL 实现。",
"Display Sample Features": "显示样本特征",
"Preview Sample Features": "预览样本特征",
"Filter with Index": "通过索引过滤"


Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.4paradigm.openmldb</groupId>
<artifactId>openmldb-feature-platform</artifactId>
<packaging>jar</packaging>
<version>0.8-SNAPSHOT</version>
<version>0.1.0-SNAPSHOT</version>
<name>openmldb-feature-platform-server</name>
<url>http://maven.apache.org</url>

Expand Down

0 comments on commit c2c2751

Please sign in to comment.