Skip to content
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

The cells in the dashboard's top row redirect to the builder page not the build run #145849

Closed
ricardoamador opened this issue Mar 27, 2024 · 12 comments · Fixed by flutter/cocoon#3706
Labels
fyi-web For the attention of Web platform team P2 Important issues not at the top of the work list platform-web Web applications specifically team-infra Owned by Infrastructure team

Comments

@ricardoamador
Copy link
Contributor

ricardoamador commented Mar 27, 2024

Type of Request

bug

Infrastructure Environment

Dashboard

What is happening?

The cells in the top row of the build dashboard redirect to the builder page that shows the history of the builds for said build and not the particular build itself.

Steps to reproduce

  1. Navigate to the dashboard.
  2. Click a yellow cell in the top row of the dashboard.
  3. It should redirect to the builder page with a historical list of the previous builds.

Expected results

I expect to not be redirected and that to see the queue time and run time in a bubble when clicked as shown here:
image

@ricardoamador ricardoamador added the team-infra Owned by Infrastructure team label Mar 27, 2024
@keyonghan
Copy link
Contributor

@ditman Is this somehow related to the commit link not working issue?

@keyonghan keyonghan added P2 Important issues not at the top of the work list triaged-infra Triaged by Infrastructure team fyi-web For the attention of Web platform team labels Mar 28, 2024
@ditman
Copy link
Member

ditman commented Mar 28, 2024

@keyonghan no idea, maybe. I've also noticed this behavior recently!

@ditman
Copy link
Member

ditman commented Mar 29, 2024

I've checked this a little bit and the problem seems to be that the semantics system is picking up clicks on that first row (in my mac it's 2 rows, it seems), instead of letting flutter handle them. We must not be computing the semantic target correctly on the clicks there (the underlying element seems to be correctly sized and positioned, though!) (??)

One potential workaround is to comment this out:

But I think @yjbanov is going to be interested in this issue!

@yjbanov yjbanov added platform-web Web applications specifically team-web Owned by Web platform team triaged-web Triaged by Web platform team and removed fyi-web For the attention of Web platform team labels Apr 4, 2024
@flutter-triage-bot flutter-triage-bot bot removed team-infra Owned by Infrastructure team triaged-infra Triaged by Infrastructure team team-web Owned by Web platform team triaged-web Triaged by Web platform team labels Apr 4, 2024
@flutter-triage-bot
Copy link

Issue is assigned to multiple teams (infra, web). Please ensure the issue has only one team-* label at a time. Use fyi-* labels to have another team look at the issue without reassigning it.

@ditman ditman added team-infra Owned by Infrastructure team fyi-web For the attention of Web platform team labels Apr 4, 2024
@keyonghan
Copy link
Contributor

This seems blocking team manaully rerun a failed task from the first row to green the tree. /cc @stuartmorgan

One potential workaround is to comment this out:

https://github.com/flutter/cocoon/blob/7a67a76fd71d13fe9356e70b5501006371c514d7/dashboard/lib/main.dart#L71

@ditman Can I simply remove the line to unblock as suggested? Will this cause any other unexpected behavior? /cc @goderbauer who made changes on this row before.

@goderbauer
Copy link
Member

@goderbauer who made changes on this row before.

Do you mean the change in flutter/cocoon@354995f? That one is replacing an error-prone (private) API call with a public API without changing the behavior. The behavior was originally introduced in flutter/cocoon#1729 - apparently to allow tools like vimium to navigate the dashboard. Presumably, that functionality will break if we'd remove the line to turn on semantics.

@keyonghan
Copy link
Contributor

keyonghan commented Apr 8, 2024

By visiting https://chromewebstore.google.com/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb, seems it's blocked internally.

If there is no other quick solutions, we may give it a try to unblock the high demanding usage of dashboard retry (or build executions review from the first row), assuming not much use of that functionality externally.

@ricardoamador
Copy link
Contributor Author

ricardoamador commented Apr 10, 2024

Okay here is something interesting which I think has to do with a different bug that may still be open. If you click the lower righthand corner of the cell it will take you to the build page. This works for the top row. Casey made a change a while back that had an adverse affect on the cells where you had to click different areas of it.

Disregard.

@gaaclarke
Copy link
Member

workaround

I found that resizing the web browser window will sometimes allow you to get the popup behavior if you are getting the "navigate to builders" behavior.

@stuartmorgan
Copy link
Contributor

I think it's the tooltip for the header, as I can frequently (although not reliably; I'm not sure what the exact trigger is) get different behavior depending on whether I have hovered over a header before clicking a square that's where the tooltip shows. And in particular I can get it to open the builder for a different column than I'm in if I open a tooltip for that builder first.

@matanlurey
Copy link
Contributor

I'm proposing the easiest possible fix for this, flutter/cocoon#3706.

auto-submit bot pushed a commit to flutter/cocoon that referenced this issue May 6, 2024
Closes flutter/flutter#145849.

This was originally added by Casey so he could use some Chrome extension to navigate the dashboard (#1729), but it appears to cause serious problems for mouse-users.

I've filed flutter/flutter#147881 for the web team to take a look.
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fyi-web For the attention of Web platform team P2 Important issues not at the top of the work list platform-web Web applications specifically team-infra Owned by Infrastructure team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants