Skip to content

Commit 1eb89a0

Browse files
committed
fix: change the names of specified properties
give a link to the plugins in the table on plugins page add urls to plugins that have a special page
1 parent 0418936 commit 1eb89a0

File tree

5 files changed

+21
-11
lines changed

5 files changed

+21
-11
lines changed

plugins/compliance-hub/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "18.3.0",
55
"description": "Providing and aggregating features in compliance with GDPR",
66
"author": "Count.ly",
7-
"homepage": "https://count.ly/plugins/",
7+
"homepage": "https://count.ly/plugins/compliance-hub/",
88
"repository": {
99
"type": "git",
1010
"url": "http://github.com/Countly/countly-server.git"

plugins/consolidate/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.0",
55
"description": "Consolidate information from all apps into one by duplicating information",
66
"author": "Count.ly",
7-
"homepage": "https://count.ly/plugins/",
7+
"homepage": "https://count.ly/plugins/consolidate/",
88
"repository": {
99
"type": "git",
1010
"url": "http://github.com/Countly/countly-server.git"

plugins/plugin-upload/frontend/public/localization/plugin-upload.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugin-upload.plugin-title = Plugin Upload
22
plugin-upload.plugin-description = Plugin for uploading new plugins
33
plugin-upload.upload-title = Add new plugin
4-
plugin-upload.add-plugin = Add plugin
4+
plugin-upload.add-plugin = Add New Plugin
55
plugin-upload.upload-description = Upload your new plugin packed as .zip, .tar, .tar.gz or .tgz.
66
plugin-upload.drag-drop = Drag & drop files here or
77
plugin-upload.drag-drop-unable = Your browser doesn't support drag & drop upload.

plugins/plugins/frontend/public/localization/plugins.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#plugins
22

3-
plugins.title = Plugins
3+
plugins.title = Feature Configurations
44
plugins.configs = Settings
55
plugins.user-configs = Account Settings
66
plugins.user-account = My Account
@@ -34,7 +34,7 @@ plugins.errors-msg = Check logs for more information
3434
plugins.confirm = Enabling or disabling plugins will restart nodejs process, dropping all current connections. Disabling plugin will also disable functionality plugin have provided. <br/><br/>Are you sure you want to proceed?
3535
plugins.will-restart = Countly will reload after changes affected
3636
plugins.please-wait = Please wait until process completed
37-
plugins.dependents = Dependent plugins
37+
plugins.dependents = Dependent Features
3838
plugins.disable-descendants = Disabling {0} will cause dependent plugins ({1}) to be disabled as well. Do you want to continue?
3939
plugins.enable-ancestors = Enabling this {0} will cause depended plugins ({1}) to be enabled as well. Do you want to continue?
4040
plugins.yes-i-want-to-continue = Yes I want to continue

plugins/plugins/frontend/public/templates/plugins.html

+16-6
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,30 @@ <h2> {{i18n('plugins.title')}} </h2>
1111
<cly-section>
1212
<cly-datatable-n :rows="pluginsData" :tracked-fields="localTableTrackedFields" :default-sort="{prop: 'name', order: 'ascending'}" :row-class-name="tableRowClassName">
1313
<template v-slot="scope">
14-
<el-table-column type="switch" fixed="left" width="100" sortable prop="enabled">
14+
<el-table-column type="switch" fixed="left" width="70" prop="enabled">
1515
<template v-slot="rowScope">
1616
<el-switch :value="rowScope.row.enabled"
1717
@input="onToggle(scope, rowScope.row)">
1818
</el-switch>
1919
</template>
2020
</el-table-column>
21-
<el-table-column sortable prop="name" :label="i18n('plugins.name')" width="200"></el-table-column>
22-
<el-table-column sortable prop="desc" :label="i18n('plugins.description')"></el-table-column>
23-
<el-table-column sortable prop="deps" :label="i18n('plugins.dependents')" width="200"></el-table-column>
24-
<el-table-column sortable prop="version" :label="i18n('plugins.version')" width="100"></el-table-column>
21+
<el-table-column sortable prop="name" :label="i18n('plugins.name')" width="200">
22+
<template slot-scope="rowScope">
23+
<a :href="rowScope.row.homepage" target="_blank">{{ rowScope.row.name }}</a>
24+
</template>
25+
</el-table-column>
26+
<el-table-column prop="desc" :label="i18n('plugins.description')">
27+
<template v-slot="rowScope">
28+
<div style="white-space: normal;">
29+
{{ rowScope.row.description }}
30+
</div>
31+
</template>
32+
</el-table-column>
33+
<el-table-column prop="deps" :label="i18n('plugins.dependents')" width="200"></el-table-column>
34+
<el-table-column prop="version" :label="i18n('plugins.version')" width="100"></el-table-column>
2535
</template>
2636
<template v-slot:header-left>
27-
<el-radio-group v-model="filterValue" @change="filter">
37+
<el-radio-group v-model="filterValue" @change="filter" plain size="small">
2838
<el-radio-button label="all">{{i18n('plugins.all')}}</el-radio-button>
2939
<el-radio-button label="enabled">{{i18n('plugins.enabled')}}</el-radio-button>
3040
<el-radio-button label="disabled">{{i18n('plugins.disabled')}}</el-radio-button>

0 commit comments

Comments
 (0)