feat: add table with current event queue to front report page
Add a table of pending events in the event queue. except for ones for private repositories.
The public queue allows people to have a idea of how long they will have to wait for CI to run for their change.
The table leaks the event queue, commit IDs, branch names, and patch IDs, but if that’s a problem, we can make this a table configurable, on a per node basis.
4 files changed
+108
-15
2a40a12a
→
07b3a48a
modified src/bin/cib.rs
@@ -209,8 +209,7 @@ impl ProcessEventsCmd {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/bin/cibtoolcmd/report.rs
@@ -23,8 +23,7 @@ impl Leaf for ReportCmd {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/pages.rs
@@ -21,11 +21,15 @@ use log::{debug, info, trace, warn};
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -68,6 +72,7 @@ pub enum PageError {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -81,6 +86,11 @@ impl PageBuilder {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -103,6 +113,7 @@ struct PageData {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -175,6 +186,55 @@ impl PageData {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -461,22 +521,22 @@ impl StatusPage {
|
|
|
|
|
|
| + | |
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -496,14 +556,14 @@ impl StatusPage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -512,6 +572,29 @@ impl StatusPage {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -521,6 +604,7 @@ impl StatusPage {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -559,6 +643,17 @@ impl StatusPage {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/radicle-ci.css
@@ -34,7 +34,7 @@ code.patch {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -42,7 +42,7 @@ code.revision {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -70,7 +70,7 @@ span.who {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|