Improve Simple UI (#2554)
* feat[Simple-UI]: add action status list * fix[Simple-UI]: various ui issues * chore: add devtool * feat[Simple-UI: add DS metadata * feat[Simple-UI]: add sort in DS view * feat[Simple-UI]: add created at to DS view * style[Simple-UI]: remove id from DS view * feat[Simple-UI]: add rsql filter & url filter * feat[Simple-UI]: if one ds in result show details * feat[Simple-UI]: add filter from url to targetview * feat[Simple-UI]: add link from target details view to DS * feat[Simple-UI]: add sort & version on target view * refacto[Simple-UI]: linkted text area * feat[Simple-UI]: dynamic homepage depending on permissions * feat[Simple-UI]: sort by newest version * feat[Simple-UI]: add target address * feat[Simple-UI]: sort by last modified target * fix[Simple-UI]: securityToken null if no permission * fix[Simple-UI]: green circle on bad update * feat[Simple-UI]: use local date format * docs: update user config * fix: tag filter * feat[Simple-UI]: search on multiple attributes * refacto: rename TargetActions -> TargetActionsHistory * refacto: move TargetActionsHistory to a new file
This commit is contained in:
committed by
GitHub
parent
2b66449ff1
commit
d2b8e74056
@@ -207,7 +207,7 @@ public final class MgmtTargetMapper {
|
||||
return actionStatus.stream()
|
||||
.map(status -> toResponse(status,
|
||||
deploymentManagement.findMessagesByActionStatusId(
|
||||
status.getId(), PageRequest.of(0, MgmtRestConstants.REQUEST_PARAMETER_PAGING_MAX_LIMIT))
|
||||
status.getId(), PageRequest.of(0, MgmtRestConstants.REQUEST_PARAMETER_PAGING_MAX_LIMIT))
|
||||
.getContent()))
|
||||
.toList();
|
||||
}
|
||||
@@ -346,7 +346,7 @@ public final class MgmtTargetMapper {
|
||||
result.setReportedAt(actionStatus.getCreatedAt());
|
||||
result.setTimestamp(actionStatus.getOccurredAt());
|
||||
result.setId(actionStatus.getId());
|
||||
result.setType(actionStatus.getStatus().name().toLowerCase());
|
||||
result.setType(MgmtActionStatus.StatusType.forValue(actionStatus.getStatus().name()));
|
||||
actionStatus.getCode().ifPresent(result::setCode);
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user