-
Notifications
You must be signed in to change notification settings - Fork 383
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
[gui] Expandable runs #2953
[gui] Expandable runs #2953
Conversation
tagName : t.versionTag, | ||
title: t.versionTag, | ||
tagName : t.versionTag ? t.versionTag : t.time, | ||
title: t.versionTag ? t.versionTag : t.time, |
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.
You may consider using this more concise syntax:
title: t.versionTag ? t.versionTag : t.time, | |
title: t.versionTag || t.time, |
|
||
if run_history_filter and run_history_filter.tagIds: | ||
query = query.filter(RunHistory.id.in_(run_history_filter.tagIds)) | ||
if stored.after: |
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.
stored.before
and stored.after
are not optional. Are these guaranteed to be 0 by default?
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.
@bruntib I tried it and the default value will be None if these fields are not set on the client side.
5c21fbf
to
2bef627
Compare
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.
Could you extend the history entries with some text to be more explicit about the numbers there.
So the users are not confused what those numbers mean (successful/failed analysis of the source files).
I think some users could think that those numbers are report numbers.
2bef627
to
9b31aca
Compare
@gyorb I added a tooltip on these numbers and to this section. I don't really want to add a string explicitly before the analyzer statistics section. By the way if I check a run line I can see that these are analysis statistics, so I can expect that here these are also analyzer statistics. But with my changes if I hover my mouse over this it will shows me this information too. What do you think? |
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.
Firefox breaks the tool tip lines a bit weird or is that appear only on my machine?
Like this:
Analysis statistics: shows the number of successfully analyzed
files
and the number of files which failed to analyze.
Chromium seems to be fine.
Otherwise LGTM.
9b31aca
to
bb04706
Compare
Here is an overview of what got changed by this pull request: Issues
======
+ Solved 51
- Added 128
Complexity increasing per file
==============================
- web/server/vue-cli/src/store/modules/run.js 9
- web/server/vue-cli/src/mixins/date.mixin.js 1
See the complete overview on Codacy |
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.
a space is missing
class="analyzer-statistics" | ||
:title="'Analysis statistics: shows the number of successfully analyzed' + |
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.
:title="'Analysis statistics: shows the number of successfully analyzed' + | |
:title="'Analysis statistics: shows the number of successfully analyzed ' + |
- Run items can be expanded which will show the run history entries. - Add button to load more run history items.
bb04706
to
7afc78b
Compare
No description provided.