You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by ha...@apache.org on 2018/03/08 06:14:02 UTC
[incubator-skywalking-ui] branch public/favicon updated (b608b4d ->
ba29e6f)
This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a change to branch public/favicon
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking-ui.git.
from b608b4d Rename favicon
new 3231f5e Amend topology
new c001674 Add default value to Search component
new ba29e6f Rename favicon path
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
public/{img => }/favicon.png | Bin
src/components/Page/Search/index.js | 11 +++++++++--
src/routes/Application/Application.js | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
rename public/{img => }/favicon.png (100%)
--
To stop receiving notification emails like this one, please contact
hanahmily@apache.org.
[incubator-skywalking-ui] 01/03: Amend topology
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch public/favicon
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking-ui.git
commit 3231f5e2c4eab77f6db9bf9d6a6ad3e33c580e41
Author: hanahmily <ha...@gmail.com>
AuthorDate: Wed Mar 7 17:03:41 2018 +0800
Amend topology
---
src/routes/Application/Application.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/routes/Application/Application.js b/src/routes/Application/Application.js
index b2f2946..6bb59eb 100644
--- a/src/routes/Application/Application.js
+++ b/src/routes/Application/Application.js
@@ -110,7 +110,7 @@ export default class Application extends PureComponent {
bordered={false}
bodyStyle={{ padding: 0, marginTop: 24 }}
>
- <AppTopology elements={data.getApplicationTopology} layout={{ name: 'concentric', minNodeSpacing: 200 }} />
+ <AppTopology elements={data.getApplicationTopology} layout={{ name: 'concentric', startAngle: Math.PI, minNodeSpacing: 250 }} />
</Card>
<Row gutter={24}>
<Col {...middleColResponsiveProps}>
--
To stop receiving notification emails like this one, please contact
hanahmily@apache.org.
[incubator-skywalking-ui] 02/03: Add default value to Search
component
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch public/favicon
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking-ui.git
commit c0016743d26999cc1336bf719f45427e41f0e21c
Author: hanahmily <ha...@gmail.com>
AuthorDate: Thu Mar 8 13:51:15 2018 +0800
Add default value to Search component
---
src/components/Page/Search/index.js | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/components/Page/Search/index.js b/src/components/Page/Search/index.js
index 5986b4e..45b9ae0 100644
--- a/src/components/Page/Search/index.js
+++ b/src/components/Page/Search/index.js
@@ -27,14 +27,18 @@ export default class Search extends PureComponent {
constructor(props) {
super(props);
this.lastFetchId = 0;
+ this.originFetchServer = this.fetchServer;
this.fetchServer = debounce(this.fetchServer, 800);
}
state = {
data: [],
fetching: false,
}
- fetchServer = (value) => {
- if (!value || value.length < 1) {
+ componentDidMount() {
+ this.originFetchServer('', true);
+ }
+ fetchServer = (value, isSelectOne) => {
+ if (value === undefined) {
return;
}
const { url, query, variables = {}, transform } = this.props;
@@ -57,6 +61,9 @@ export default class Search extends PureComponent {
}
const list = body.data[Object.keys(body.data)[0]];
this.setState({ data: (transform ? list.map(transform) : list), fetching: false });
+ if (isSelectOne && this.state.data.length > 0) {
+ this.handleSelect(this.state.data[0]);
+ }
});
}
handleSelect = (value) => {
--
To stop receiving notification emails like this one, please contact
hanahmily@apache.org.
[incubator-skywalking-ui] 03/03: Rename favicon path
Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch public/favicon
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking-ui.git
commit ba29e6f94cf46bad9f566e55e561dd7546bbe2dd
Author: hanahmily <ha...@gmail.com>
AuthorDate: Thu Mar 8 14:12:57 2018 +0800
Rename favicon path
---
public/{img => }/favicon.png | Bin
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/public/img/favicon.png b/public/favicon.png
similarity index 100%
rename from public/img/favicon.png
rename to public/favicon.png
--
To stop receiving notification emails like this one, please contact
hanahmily@apache.org.