Build history#5371
Conversation
Pull Request Test Coverage Report for Build 7786
💛 - Coveralls |
|
@kofj, VMware has approved your signed contributor license agreement. |
| public getManifest( | ||
| repositoryName: string, | ||
| tag: string, | ||
| queryParams?: RequestQueryParams |
There was a problem hiding this comment.
The optional 'queryParams' is not appended to the request. If caller pass parameters, it will be no effect
There was a problem hiding this comment.
This optional is not used, should be removed.
| } from '../utils'; | ||
| import { ErrorHandler } from '../error-handler/index'; | ||
| import { SystemSettingsComponent, VulnerabilityConfigComponent } from './index'; | ||
| import { SystemSettingsComponent } from './system/system-settings.component'; |
There was a problem hiding this comment.
What's the reason of changing the importing paths of these components
There was a problem hiding this comment.
Because it will warn: "Circular dependency" when running NG Live Development Server.
| <div><clr-icon shape="play" size="20" class="tip-icon-low rotate-90"></clr-icon>{{lowCount}} {{'VULNERABILITY.SEVERITY.LOW' | translate }} {{'TAG.LEVEL_VULNERABILITIES' | translate }}</div> | ||
| <div class="second-row"><clr-icon shape="help" size="18"></clr-icon>{{unknownCount}} {{'VULNERABILITY.SEVERITY.UNKNOWN' | translate }} {{'TAG.LEVEL_VULNERABILITIES' | translate }}</div> | ||
| <div> | ||
| <clr-icon shape="error" size="24" class="is-error"></clr-icon> {{highCount}} {{'VULNERABILITY.SEVERITY.HIGH' | translate }} {{'TAG.LEVEL_VULNERABILITIES' |
There was a problem hiding this comment.
Seems this part is only code formatting changes. But the format is a little inconsistent with the original style.
There was a problem hiding this comment.
It is an error, will be fixed later.
| import {JobLogViewerComponent} from "../job-log-viewer/job-log-viewer.component"; | ||
| import {ChannelService} from "../channel/channel.service"; | ||
| import {JobLogService, JobLogDefaultService} from "../service/job-log.service"; | ||
| import { VULNERABILITY_DIRECTIVES } from "../vulnerability-scanning/index"; |
|
Let' holding for a while and merge it into master after @ninjadq and @zhoumeina complete the upgrading work of Clarity and Angular. Rebase will be required then! |
|
The related libraries of front-end UI are upgraded to new versions (Angular to 6.x, clarity to 0.12). Now we can start the merging work of this PR. Before doing that, I think you need to rebase your code to based on the new code base. Once you have done, please let us know. |
|
Hi @kofj – please rebase when you get a moment. Thanks! |
|
@steven-zou @ninjadq All checks have passed, review please. |
Pull Request Test Coverage Report for Build 9145
💛 - Coveralls |
| @@ -0,0 +1,11 @@ | |||
| <clr-datagrid [clrDgLoading]="loading"> | |||
| <clr-dg-column style="width: 160px;">{{ 'TAG.CREATION' | translate }}</clr-dg-column> | |||
There was a problem hiding this comment.
Please move this style="width: 160px;" to scss.
|
@kofj , I don't know why when I try to create some comments, it returns 405 not allowed. |
zhoumeina
left a comment
There was a problem hiding this comment.
Please modify according to the comment.
zhoumeina
left a comment
There was a problem hiding this comment.
Please modify according to the comment.
| "RUNNING":"执行中", | ||
| "ERROR":"错误", | ||
| "STATUS": "状态", | ||
| "START_TIME": "开始时间", |
There was a problem hiding this comment.
why need to modify this update_time to endtime. It should not be modified in this pr.
zhoumeina
left a comment
There was a problem hiding this comment.
Please change it according to comment.
Add build histroy section and navbar to tag-detail component Add i18n items of build history Format code. Signed-off-by: Frank Kung <kfanjian@gmail.com>
Move style to scss file. Signed-off-by: Frank Kung <kfanjian@gmail.com>
Show build history info in the tag detail page as a default table panel.