feat(ui): Add last validation time, disable revalidation if PR not open
In the status UI, previously we never stated when the last validation occurred. As we have access to this data, we should tell the user when the last validation of a commit associated with a PR happened. This better supports users to know if their failure may be due to out of date validation. Additionally, in the case of GH PRs where we have logic to manage those calls separately, we can now check if the PR is open. We use this to now toggle whether the revalidation button will be usable and whether the hCaptcha is injected.
parent
6e45fd09
No related branches found
No related tags found
Showing
- src/main/java/org/eclipsefoundation/git/eca/config/EclipseQuteTemplateExtensions.java 19 additions, 0 deletions...ndation/git/eca/config/EclipseQuteTemplateExtensions.java
- src/main/java/org/eclipsefoundation/git/eca/resource/StatusResource.java 10 additions, 1 deletion...rg/eclipsefoundation/git/eca/resource/StatusResource.java
- src/main/resources/templates/simple_fingerprint_ui.html 10 additions, 2 deletionssrc/main/resources/templates/simple_fingerprint_ui.html
Please register or sign in to comment