Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: App mgmt for isv and admin #617

Merged
merged 5 commits into from
Dec 26, 2018

Conversation

whDongRui
Copy link
Contributor

solve #599 -- App mgmt

@codecov
Copy link

codecov bot commented Dec 25, 2018

Codecov Report

Merging #617 into master will decrease coverage by 0.19%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #617     +/-   ##
=========================================
- Coverage   14.42%   14.22%   -0.2%     
=========================================
  Files         104      106      +2     
  Lines        1747     1771     +24     
  Branches      385      388      +3     
=========================================
  Hits          252      252             
- Misses       1438     1462     +24     
  Partials       57       57
Impacted Files Coverage Δ
src/components/AppStatistics/index.jsx 0% <0%> (ø)
src/components/Base/Image/index.jsx 0% <0%> (ø) ⬆️
src/components/TitleSearch/index.jsx 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0de33cc...532b1a7. Read the comment docs.

@@ -33,6 +33,10 @@ export default class Image extends React.Component {
}

shouldComponentUpdate(nextProps, nextState) {
if (nextProps.src !== this.props.src) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't setState in shouldCompnentUpdate

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If src value initialize to "", this.state.failed will true. The nex props src has value, but 'failed' still is true, this is a bug.

@@ -171,6 +171,8 @@
transition: all $transition-speed;
word-wrap: break-word;
word-break: break-all;
font-size: 12px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

font-size: $size-small

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General font not used variable,only color used variable

@@ -0,0 +1,699 @@
import React, { Component, Fragment } from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this file not used, can remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok,maybe other undeveloped pages refer to this page.

@sunnywx sunnywx changed the title feat: Add new all apps and detail pages feat(isv): App mgmt Dec 25, 2018
@whDongRui whDongRui changed the title feat(isv): App mgmt feat: App mgmt for isv and admin Dec 26, 2018
@whDongRui whDongRui merged commit f6c876a into openpitrix:master Dec 26, 2018
@whDongRui whDongRui deleted the new/app-detail branch January 8, 2019 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants