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
Version log and (limited) notifications log #10178
Conversation
@@ -76,5 +78,28 @@ This allows selecting which to show or hide.]]), | |||
end, | |||
separator = true, | |||
}, | |||
{ | |||
text = _("Show past notifications"), | |||
help_text = _("Show the text of past Notifications."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
help_text = _("Show the text of past Notifications."), | |
help_text = _("Show the text of past notifications."), |
Seems a redundant though? I'd basically the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will remove the help text.
frontend/version.lua
Outdated
|
||
if not last_log_line then -- empty log file | ||
return "" | ||
end | ||
else -- log file does not exist or can not be opened | ||
return "" | ||
end | ||
|
||
return last_log_line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can probably be simplified to just:
return last_log_line or ""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 6 files at r4, 1 of 1 files at r5, all commit messages.
Reviewable status: all files reviewed, 6 unresolved discussions (waiting on @Frenzie and @zwim)
This is the successor to #10160
This change is