feat: Add empty state for no old data#10320
Conversation
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
timja
left a comment
There was a problem hiding this comment.
UI looks good, jelly just needs a little polish
|
@timja I've made some changes to the Jelly file , please check now |
change looks good but you haven't done https://github.com/jenkinsci/jenkins/pull/10320/files#r1966735160 |
|
@timja yup , sorry I missed that earlier , done it now. |
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
|
@timja made the change now , is it fine? |
|
I don't think that the implementation is complete. While looping over the elements of the table it does the check |
mawinter69
left a comment
There was a problem hiding this comment.
Maybe one can already have a flag when the data is collected whether the table would be empty and the hasExtra will be set.
|
/label web-ui |
|
@mawinter69 I've made the desired changes as you suggested |
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
|
Any thoughts on "No old data" as the panel text? "No old data was found" to me sounds like it failed to find old data. |
|
@janfaracik yes , No old data seems a better fit to me too. Shall I change it? |
|
yes please |
|
Done |
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
core/src/main/resources/hudson/diagnosis/OldDataMonitor/manage.jelly
Outdated
Show resolved
Hide resolved
Co-authored-by: Kris Stern <krisstern@outlook.com>
|
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
|
Great thanks to all of you for your continuous guidance !! |
Fixes jenkinsci/sig-ux#11.
Added an empty state to Manage Old Data to not display an empty table , instead show No old data was found.
Testing done
Before:


After:
Proposed changelog entries
Proposed changelog category
/label rfe
Proposed upgrade guidelines
N/A
Submitter checklist
@Restrictedor have@since TODOJavadocs, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO"), if applicable.evalto ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@timja @janfaracik
Before the changes are marked as
ready-for-merge:Maintainer checklist
upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidateto be considered (see query).