Repository navigation
feat(labs): add a mock lab details page - #2172
alanpeixinho wants to merge 3 commits into
Conversation
Preview one lab from the listing with sample submission fill, distribution, and tree results. Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
|
left a small mockup, so we can iterate on the design of the proposed lab details page, any feedback would be appreciated. |
|
IMHO data need to be sorted by priority. What people check daily and most often - current builds status, so it must be on top, and first page without scrolling must be that people come for - daily. |
@nuclearcat To be fair, I was struggling with defining what is more important here. But I think I am with you here, those two aggregated are probably better going to the bottom. I will change and update the screenshot. |
Put the tree results first and leave submission fill as the last section. Assisted-by: Cursor Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
|
@nuclearcat Done. Build status is at the top. Distribution follows, and submission fill is last. |
|
I wonder if we could make the page more actionable by highlighting recent failures or items that need attention. The tree table provides a useful overview, but users still need to scan individual status counts to identify problems. A small summary of recent failures could help users quickly understand what needs investigation. e.g. highlight trees with recent failures, platforms with recurring errors or tests that started failing. I am not sure but maybe providing this kind of information would help the users to identify problems faster. |
|
@felipebergamin I like the idea of a short list of what needs attention. Highlighting every tree or board that has some failures would cover most of the page, since a few failures are normal. We looked at the lab data. A failure that shows up in one lab and not in another is easier to act on. The list could be:
Cases we found:
Would it be more helpful to show what fails in one lab but not in the others? |
|
@felipebergamin Do you think something like this could help? Did you have something different in mind? |
A boot and a kselftest that fail here and pass in other labs sit in one collapsed warning. Assisted-by: Cursor Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
Yes, something like that. |
|
Closing this draft. The lab details page landed in #2200. |
@alanpeixinho I believe your agent hallucinated. PR 2200 only ships the endpoints |
|
@felipebergamin Right. #2200 only added the endpoints. This draft stays open as the mock for #2168. Connecting it to those endpoints is #2226. |



Summary
A lab row in the listing now opens a details page for that lab, using the same origin and time window. The page shows submission fill, distribution, and per-tree builds, boots, and tests.
Mock data only, from
labDetailsMock.ts. Part of #2168.Made with Cursor