swarm-ui: load a repo's rules into the review try-out
A button beside the repo field reads the repo's rules from its default branch into the classification rows, names the file and the commit it read, asks before replacing rows the operator wrote, and shows the route's error without touching the rows.
This commit is contained in:
parent
d52e97f376
commit
cf4c4cde87
1 changed files with 127 additions and 0 deletions
|
|
@ -20,6 +20,14 @@
|
|||
.ui-tryout-target > * {
|
||||
flex: 1 1 14em;
|
||||
}
|
||||
.ui-tryout-target > button {
|
||||
flex: none;
|
||||
align-self: flex-end;
|
||||
}
|
||||
.ui-tryout-loaded {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
.ui-tryout-classification {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
Loading…
Reference in a new issue