Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve UI for backup logs #3510

Merged
merged 48 commits into from Dec 11, 2018
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
1c94dec
Serialize backup results in JSON format
mikaelmello Nov 14, 2018
78c9d3c
Use different controllers and templates for normal logs and backup logs
mikaelmello Nov 14, 2018
1b4f1a9
Decouple functions from log controllers
mikaelmello Nov 14, 2018
160e32a
Fix bug where log data was not being properly updated
mikaelmello Nov 14, 2018
e75da71
Basic formatting of JSON serialized data
mikaelmello Nov 19, 2018
6859c6a
Modify BackupLogController
mikaelmello Nov 22, 2018
efef97f
Make only title of list items clickable instead of entire item
mikaelmello Nov 22, 2018
28cbd08
Use arrow notation for AppUtils.formatSizeString
mikaelmello Nov 22, 2018
a62d057
Complete rewrite of the design that displays backup results
mikaelmello Nov 22, 2018
3c5cf71
Change display of errors and warnings on backup logs
mikaelmello Nov 23, 2018
a68cb32
Remove border from backup logs dashboard
mikaelmello Nov 23, 2018
31e23cf
Remove arrow icon and add result icons for backup log ui
mikaelmello Nov 23, 2018
abb9219
Rename color classes to better define their purpose
mikaelmello Nov 23, 2018
ddb14f8
Add angle icons to show that items are expandable
mikaelmello Nov 26, 2018
73f2aa0
Set content width to 100%
mikaelmello Nov 26, 2018
e3eb187
Add angle icon to all log lists
mikaelmello Nov 26, 2018
57bd9d1
Decouple BasicResults object properties from its children
mikaelmello Nov 26, 2018
8d1077c
Fix regression that stopped repairs from working
mikaelmello Nov 27, 2018
48ec45c
Improve how the correct icon is displayed based on the backup result
mikaelmello Nov 27, 2018
302b154
Add results for each phase of a operation and icons next to them and …
mikaelmello Nov 27, 2018
ff2f89f
Merge branch 'master' of github.com:duplicati/duplicati into improve-…
mikaelmello Nov 27, 2018
d960c85
Split backup results view into multiple templates
mikaelmello Nov 28, 2018
939cd30
Backup log view - Move content of first row to file templates
mikaelmello Nov 28, 2018
80822ef
backup-log-view: Display errors and not warnings on errors list
mikaelmello Nov 28, 2018
c6fec72
backup-log-view: Show '0' when warnings or errors have 0 length
mikaelmello Nov 28, 2018
c111dfa
backup-log-view? Use `50%`x2 instead of `1fr`x2 for grid-template-col…
mikaelmello Nov 29, 2018
7e67a87
backup-log-view: Add newline to end of files
mikaelmello Nov 29, 2018
57c118a
backup-log-view: Use a template to display list of messages (warnings…
mikaelmello Nov 29, 2018
b529c09
backup-log-view: Improve use of style and finish test.html template
mikaelmello Nov 29, 2018
33af051
Merge branch 'master' into improve-backup-logs-ui
mikaelmello Nov 29, 2018
f63f0f0
Merge branch 'master' into improve-backup-logs-ui
mikaelmello Nov 29, 2018
a5a704e
appUtils: formatDuration: round seconds instead of truncating it, reg…
mikaelmello Nov 29, 2018
2869cd4
backup-log-view: Fix variables used to display time of testing phase
mikaelmello Nov 29, 2018
b8838f9
backup-log-view: Add missing service that was removed on latest merge
mikaelmello Nov 29, 2018
835e069
backup-log-view: Finish recreate-database template
mikaelmello Nov 29, 2018
7a1534e
backup-log-view: Display question mark icon on old logs
mikaelmello Nov 29, 2018
5de83b4
backup-log-view: Finish compact results template
mikaelmello Nov 29, 2018
6dd7204
backup-log-view: top-right-box: Remove use of "SIzeOfDeletedFiles" as…
mikaelmello Nov 29, 2018
c2c2718
resultClasses: Fix ParsedResult of RepairResults
mikaelmello Nov 29, 2018
fd09693
backup-log-view: Finish repair results template
mikaelmello Nov 29, 2018
192b424
backup-log-view: Finish purge results template
mikaelmello Nov 29, 2018
bc5f062
backup-log-view: Small styling refactor on compact result template
mikaelmello Nov 29, 2018
c49b0a9
backup-log-view: Finish delete template
mikaelmello Nov 30, 2018
5909c27
backup-log-view: Add more left-padding to expanded items
mikaelmello Dec 3, 2018
ec5fee9
basic-results: Serialize enumerable properties up to a certain number…
mikaelmello Dec 4, 2018
aa71b88
basic-results: Serialize full length of enumerable properties that ar…
mikaelmello Dec 5, 2018
732e670
backup-log-view: Make Complete Log expandable and with an icon to cop…
mikaelmello Dec 7, 2018
3dbfac9
basic-results: Increase limit of enumerable elements that are serialized
mikaelmello Dec 7, 2018
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Rename color classes to better define their purpose

  • Loading branch information...
mikaelmello committed Nov 23, 2018
commit abb92199c6f5e73040022dba02fb6c24588ab07f
@@ -210,15 +210,15 @@ wait-area {

}

.green {
.success-color {
color: #339900;
}

.red {
.error-color {
color: #cc0000;
}

.yellow {
.warning-color {
color: #ffcc00;
}

Large diffs are not rendered by default.

@@ -12,9 +12,9 @@ <h1 translate>Log data for <b>{{Backup.Backup.Name}}</b></h1>
<li ng-show="GeneralData == null" translate>Loading ...</li>
<li ng-repeat="item in GeneralData">
<div ng-click="expanded = !expanded" class="entryline clickable">
<i ng-show="item.Result && item.Result.ParsedResult == 'Success'" class="fa fa-check-circle green"></i>
<i ng-show="item.Result && item.Result.ParsedResult == 'Warning'" class="fa fa-exclamation-circle yellow"></i>
<i ng-show="item.Result && item.Result.ParsedResult == 'Error'" class="fa fa-times-circle red"></i>
<i ng-show="item.Result && item.Result.ParsedResult == 'Success'" class="fa fa-check-circle success-color"></i>
<i ng-show="item.Result && item.Result.ParsedResult == 'Warning'" class="fa fa-exclamation-circle warning-color"></i>
<i ng-show="item.Result && item.Result.ParsedResult == 'Error'" class="fa fa-times-circle error-color"></i>
{{item.Timestamp | parsetimestamp}} - {{"Operation" | translate}}: {{item.Result ? item.Result.MainOperation : item.Type | translate}}
</div>
<div ng-show="expanded && item.Result" class="backup-result">
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.