-
Notifications
You must be signed in to change notification settings - Fork 16
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
Tweak history #178
Tweak history #178
Conversation
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.
Tooltips are a great addition. Good idea!
Example output: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2023-08/15/report.html I should probably use |
@@ -1114,14 +1121,14 @@ function printreport(io::IO, job::PkgEvalJob, results) | |||
end | |||
against_status = String(test.status_1) | |||
print(io, "[$against_status]($against_log) | ") | |||
print(io, "$(get(history, test.package, "missing")) |") | |||
print(io, "<span class=\"history\">$(get(history, test.package, "missing"))</span> |") |
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.
Good solution!
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.
Eh, it's not great, as it embeds HTML now in Markdown. I tried using the AttributeRule from CommonMark.jl, but that only allows attaching IDs to entities, not to plain text (so *history*{{#id}}
would work, but then the history string would be emphasized). I couldn't find a way to create non-semantic group in Markdown, so and just ended up using HTML instead...
cc @LilithHafner