-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance versioning + revert function
Make revert function work (#780) - Update version list after reverting a change - Fix issue /w big svgs - Make reverting molfile / svg work - Fix merge issues - Replace passing local variables /w using state Add missing versioning for Screens, Wellplates, and Research plans Change the way versions are displayed in the version table. Previously we had one version per database update. Now we group versions by the request id. These changes are now merged to make it more intuitive for the user. Implement revert functionality /w fetchers, reverters, and serializers Implement a new revert UI with one button per version and one modal to select revertible values. Delete old revert button. Co-authored-by: Martin Schneider <[email protected]> Co-authored-by: VadimKeller <[email protected]>
- Loading branch information
1 parent
68e51f5
commit ea20c95
Showing
73 changed files
with
2,768 additions
and
749 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.image-with-full-width { | ||
width: 100%; | ||
} |
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,126 @@ | ||
.history-legend { | ||
display: flex; | ||
justify-content: flex-end; | ||
list-style: none; | ||
padding: 0; | ||
margin: 2px 2px 10px 0; | ||
|
||
&__item { | ||
font-size: 10px; | ||
padding-left: .5em; | ||
|
||
&::before { | ||
content: "\f0c8"; | ||
font-family: FontAwesome; | ||
display: inline-block; | ||
padding: 0 0.2em; | ||
} | ||
|
||
&--old { | ||
&::before { | ||
color: #f2dede; | ||
} | ||
} | ||
|
||
&--new { | ||
&::before { | ||
color: #dff0d8; | ||
} | ||
} | ||
|
||
&--current { | ||
&::before { | ||
color: #f5f5f5; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.history-modal .modal-dialog { | ||
top: 0; | ||
transform: translate(-50%, 0) !important; | ||
} | ||
|
||
.history-alert { | ||
margin-bottom: 0; | ||
margin-top: 20px; | ||
} | ||
|
||
.history-checkbox-label { | ||
margin-bottom: 0; | ||
display: flex; | ||
gap: 5px; | ||
cursor: pointer; | ||
|
||
input { | ||
margin-top: 0 !important; | ||
} | ||
} | ||
|
||
.history-table { | ||
&__caret { | ||
transition: transform .1s ease-out; | ||
} | ||
|
||
&__row { | ||
cursor: pointer; | ||
|
||
&.active { | ||
.history-table__caret { | ||
transform: rotate(90deg); | ||
} | ||
} | ||
} | ||
|
||
&-breadcrumb { | ||
font-size: 13px; | ||
padding: 8px 15px; | ||
margin: 0; | ||
list-style: none; | ||
background-color: #f5f5f5; | ||
border-radius: 4px; | ||
|
||
&:not(:first-child) { | ||
margin-top: 10px; | ||
} | ||
|
||
&__element { | ||
display: inline-block; | ||
} | ||
|
||
&__element + &__element:before { | ||
padding: 0 5px; | ||
color: #ccc; | ||
content: "/ "; | ||
} | ||
} | ||
|
||
.bg-current { | ||
background-color: #f5f5f5; | ||
} | ||
|
||
.row-change { | ||
display: flex; | ||
flex-wrap: wrap; | ||
font-size: 10px; | ||
margin: 10px 0 0; | ||
word-break: break-all; | ||
|
||
& > [class*="col-"] { | ||
padding: 6px; | ||
} | ||
|
||
.ql-container { | ||
font-size: 10px; | ||
} | ||
|
||
.ql-editor { | ||
padding: 0; | ||
} | ||
|
||
.ql-tooltip.ql-hidden { | ||
height: 0; | ||
padding-top: 10px; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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.