[Web] Plug-in ICONS are displayed based on the plug-in type (#179)

This commit is contained in:
qianmoQ 2022-12-22 13:51:13 +08:00 committed by GitHub
commit 4a22c8db23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
81 changed files with 110 additions and 61 deletions

View File

@ -119,10 +119,7 @@ Here are some of the major database solutions that are supported:
[![](https://tokei.rs/b1/github/EdurtIO/incubator-datacap)](https://github.com/EdurtIO/incubator-datacap)
![version](https://img.shields.io/github/v/release/EdurtIO/incubator-datacap.svg)
![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/downloads-pre/EdurtIO/incubator-datacap/latest/total?style=flat-square)
![GitHub all releases](https://img.shields.io/github/downloads/EdurtIO/incubator-datacap/total?style=flat-square)
![GitHub branch checks state](https://img.shields.io/github/checks-status/EdurtIO/incubator-datacap/master?style=flat-square)
![GitHub branch checks state](https://img.shields.io/github/checks-status/EdurtIO/incubator-datacap/develop?style=flat-square)
![GitHub Release Date](https://img.shields.io/github/release-date/EdurtIO/incubator-datacap?style=flat-square)
![GitHub commit activity](https://img.shields.io/github/commit-activity/y/EdurtIO/incubator-datacap?style=flat-square)

View File

@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap</groupId>
<artifactId>incubator-datacap</artifactId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<groupId>io.edurt.datacap</groupId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap</groupId>
<artifactId>incubator-datacap</artifactId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<groupId>io.edurt.datacap.common</groupId>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>incubator-datacap</artifactId>
<groupId>io.edurt.datacap</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

2
dist/pom.xml vendored
View File

@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap</groupId>
<artifactId>incubator-datacap</artifactId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<groupId>io.edurt.datacap</groupId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap</groupId>
<artifactId>incubator-datacap</artifactId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<groupId>io.edurt.datacap</groupId>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin</artifactId>
<groupId>io.edurt.datacap.plugin</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-http</artifactId>
<groupId>io.edurt.datacap.plugin.http</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-http</artifactId>
<groupId>io.edurt.datacap.plugin.http</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin</artifactId>
<groupId>io.edurt.datacap.plugin</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<artifactId>datacap-plugin-jdbc</artifactId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<artifactId>datacap-plugin-jdbc-db2</artifactId>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<artifactId>datacap-plugin-jdbc</artifactId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<artifactId>datacap-plugin-jdbc-ignite</artifactId>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<artifactId>datacap-plugin-jdbc</artifactId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<artifactId>datacap-plugin-jdbc-iotdb</artifactId>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<artifactId>datacap-plugin-jdbc</artifactId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<artifactId>datacap-plugin-jdbc-neo4j</artifactId>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin</artifactId>
<groupId>io.edurt.datacap.plugin</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-jdbc</artifactId>
<groupId>io.edurt.datacap.plugin.jdbc</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin</artifactId>
<groupId>io.edurt.datacap.plugin</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>datacap-plugin-native</artifactId>
<groupId>io.edurt.datacap.plugin.natived</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,12 +5,12 @@
<parent>
<artifactId>incubator-datacap</artifactId>
<groupId>io.edurt.datacap</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>datacap-plugin</artifactId>
<groupId>io.edurt.datacap.plugin</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>DataCap for plugin</name>

View File

@ -4,7 +4,7 @@
<groupId>io.edurt.datacap</groupId>
<artifactId>incubator-datacap</artifactId>
<packaging>pom</packaging>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
<modules>
<module>configure</module>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>incubator-datacap</artifactId>
<groupId>io.edurt.datacap</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -3,4 +3,4 @@
HOME=$(pwd)
sh "$HOME"/bin/shutdown.sh
sh "$HOME"/bin/start.sh
sh "$HOME"/bin/startup.sh

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>incubator-datacap</artifactId>
<groupId>io.edurt.datacap</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,7 +1,7 @@
{
"name": "datacap-console-fe",
"description": "DataCap web site",
"version": "1.3.0",
"name": "datacap-fe",
"description": "DataCap console",
"version": "1.4.0",
"private": true,
"scripts": {
"dev": "vue-cli-service serve",

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -3,7 +3,7 @@
<Select v-model="applySource" style="width: 160px" @on-change="handlerChangeValue">
<Option v-for="column in columns" :value="column.id + ':' + column.type" v-bind:key="column.id">
<Tooltip transfer :content="column.type">
{{ column.name }}
<Avatar :src="'/static/images/plugin/' + column.type + '.png'" size="small" /> {{ column.name }}
</Tooltip>
</Option>
</Select>

View File

@ -39,7 +39,7 @@ const content = `
const releaseNote: ReleaseNote = {
content: content,
latest: true,
latest: false,
time: "2022-11-30",
version: "1.2.0"
};

View File

@ -0,0 +1,47 @@
import {ReleaseNote} from "./ReleaseNote";
const content = `
> The current release involves several major updates.
#### General
---
- Support change username
- Support custom sql template
- Support plugin function
- Add restart script
#### Web
---
- Optimize the presentation of the data source list
- Add data source description and prompt
- Support query history id order
- Support quote query history
#### Plugins
---
- Support oceanbase for jdbc
- Support redis for native
- Support neo4j for jdbc
- Support iotdb for jdbc
#### Redis
- Support auth for native
`;
const releaseNote: ReleaseNote = {
content: content,
latest: true,
time: "2022-12-16",
version: "1.3.0"
};
export default {
releaseNote
}

View File

@ -2,9 +2,11 @@ import {ReleaseNote} from "@/views/common/release/ReleaseNote";
import Release20221115 from "@/views/common/release/Release20221115";
import Release20221015 from "@/views/common/release/Release20221015";
import Release120 from "@/views/common/release/Release120";
import Release130 from "@/views/common/release/Release130";
const releaseNotes: ReleaseNote[] = [];
releaseNotes.push(Release120.releaseNote,
releaseNotes.push(Release130.releaseNote,
Release120.releaseNote,
Release20221115.releaseNote,
Release20221015.releaseNote);

View File

@ -43,18 +43,18 @@
<Submenu name="settings">
<template #title>
<Icon type="ios-cog"/>
{{ $t('common.settings') }}&nbsp;<Tag color="warning">New</Tag>
{{ $t('common.settings') }}
</template>
<MenuGroup :title="$t('common.default')">
<MenuItem name="settings_functions" to="/admin/settings/function">
<Icon type="ios-basket"/>
{{ $t('common.function') }} <Tag style="margin-left: 5px;" color="warning">New</Tag>
{{ $t('common.function') }}
</MenuItem>
</MenuGroup>
<MenuGroup :title="$t('common.template')">
<MenuItem name="admin_template_sql" to="/admin/template/sql">
<Icon type="md-browsers"/>
{{ $t('common.sql') }}<Tag style="margin-left: 5px;" color="warning">New</Tag>
{{ $t('common.sql') }}
</MenuItem>
</MenuGroup>
</Submenu>

View File

@ -157,7 +157,7 @@ export default defineComponent({
handlerPluginConvert(elements: [])
{
const plugins = [];
elements.forEach(element => plugins.push({tip: element}));
elements.forEach(element => plugins.push({src: '/static/images/plugin/' + element + '.png', tip: element}));
return plugins;
},
handlerImportController(value: boolean)

View File

@ -38,7 +38,10 @@
<Divider orientation="left">{{ key }} ({{ plugins[key].length }})</Divider>
<Space wrap :size="[8, 16]">
<Tooltip v-for="plugin in plugins[key]" :content="plugin.description" transfer v-bind:key="plugin.name">
<Radio :label="plugin.name + ' ' + plugin.type"/>
<Radio :label="plugin.name + ' ' + plugin.type">
<Avatar :src="'/static/images/plugin/' + plugin.name + '.png'" size="small" />
<span style="margin-left: 2px;">{{ plugin.name }}</span>
</Radio>
</Tooltip>
</Space>
</div>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>incubator-datacap</artifactId>
<groupId>io.edurt.datacap</groupId>
<version>1.3.0</version>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>