forked from finos/waltz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report grid update columns, permissions, picker/edit views combined
#CTCTOWALTZ-2376 finos#5682
- Loading branch information
1 parent
764192a
commit 3c5ef20
Showing
26 changed files
with
671 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
waltz-model/src/main/java/org/finos/waltz/model/report_grid/ReportGridKind.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.finos.waltz.model.report_grid; | ||
|
||
public enum ReportGridKind { | ||
PUBLIC, | ||
PRIVATE | ||
} |
24 changes: 24 additions & 0 deletions
24
waltz-model/src/main/java/org/finos/waltz/model/report_grid/ReportGridUpdateCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.finos.waltz.model.report_grid; | ||
|
||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; | ||
import org.finos.waltz.model.IdProvider; | ||
import org.finos.waltz.model.Nullable; | ||
import org.finos.waltz.model.command.Command; | ||
import org.immutables.value.Value; | ||
|
||
@Value.Immutable | ||
@JsonSerialize(as = ImmutableReportGridUpdateCommand.class) | ||
@JsonDeserialize(as = ImmutableReportGridUpdateCommand.class) | ||
public abstract class ReportGridUpdateCommand implements Command { | ||
|
||
public abstract String name(); | ||
|
||
@Nullable | ||
public abstract String description(); | ||
|
||
@Value.Default | ||
public ReportGridKind kind(){ | ||
return ReportGridKind.PUBLIC; | ||
} | ||
} |
7 changes: 2 additions & 5 deletions
7
waltz-ng/client/report-grid/components/grid-view-section/report-grid-view-section.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
<div> | ||
<!-- GRID & FILTERS --> | ||
<div ng-if="$ctrl.selectedGrid" | ||
style="padding-top: 0.5em;"> | ||
<waltz-report-grid-view-panel parent-entity-ref="$ctrl.parentEntityRef"> | ||
</waltz-report-grid-view-panel> | ||
</div> | ||
<waltz-report-grid-view-panel parent-entity-ref="$ctrl.parentEntityRef"> | ||
</waltz-report-grid-view-panel> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.