Skip to content

Conversation

gc2lgno
Copy link

@gc2lgno gc2lgno commented Aug 12, 2025

No description provided.

@tarasmadan tarasmadan self-requested a review August 12, 2025 15:52
@tarasmadan
Copy link
Collaborator

Error: Wrong commit subject format: 'dasboard/app/tenplates/templates.html: Redesing of navbar'. Please use 'main/affected/package: short change description'. See docs/contributing.md for details. Regex pattern used to check commit subjects is '^(Revert "|(([a-z0-9/_.-]+|Makefile|CONTRIBUTORS|README.md)(, )?)+:\ [^A-Z].+[^.]$)'.

"dasboard/app: redesing of navbar" should work. For both commits.

Feel free to merge these commits in order to simplify changes.

@gc2lgno gc2lgno changed the title dashboard/app: Redesing of navbar and Boostrap CDN dasboard/app: redesing of navba Aug 18, 2025
@gc2lgno gc2lgno changed the title dasboard/app: redesing of navba dasboard/app: redesing of navbar Aug 18, 2025
@tarasmadan
Copy link
Collaborator

There are many dashboard errors. You can find them in the log by "FAIL:" prefix:

--- FAIL: TestFileCoverage (0.00s)
    --- FAIL: TestFileCoverage/regular_db (6.64s)
        util_test.go:344: GET: /test2/coverage/file?dateto=2025-01-31&period=month&commit=c0e75905caf368e19aab585d20151500e750de89&filepath=virt/kvm/kvm_main.c
        util_test.go:363: REPLY: 200
        util_test.go:344: GET: /test1
        util_test.go:363: REPLY: 500
        util_test.go:177: expected OK, got error: 500: <!doctype html>
            <html>
            <head>
            	
            	
            	 
            	<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
                    integrity="sha384-4Q6Gf2aSP4eDXB8Miphtr37CMZZQ5oXLH2yaXMJ2w8e2ZtHTl7GptT4jmndRuHDT" crossorigin="anonymous">
            	<script src="/static/common.js"></script>
            	
            
            	<title>syzbot</title>
            </head>
            <body>
            	traceID: 
            	<br>
            	template: templates.html:90:39: executing &#34;header&#34; at &lt;$.BugCounts.MissingBackports&gt;: can&#39;t evaluate field MissingBackports in type *main.CachedBugStats
            	<br>
            	<a href="javascript:history.back()">back</a>
            </body>
            </html>
    --- FAIL: TestFileCoverage/empty_db (7.64s)
        util_test.go:344: GET: /test2/coverage/file?dateto=2025-01-31&period=month&commit=c0e75905caf368e19aab585d20151500e750de89&filepath=virt/kvm/kvm_main.c
        util_test.go:363: REPLY: 200
        util_test.go:344: GET: /test1
        util_test.go:363: REPLY: 500
        util_test.go:177: expected OK, got error: 500: <!doctype html>
            <html>
            <head>
            	
            	
            	 
            	<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
                    integrity="sha384-4Q6Gf2aSP4eDXB8Miphtr37CMZZQ5oXLH2yaXMJ2w8e2ZtHTl7GptT4jmndRuHDT" crossorigin="anonymous">
            	<script src="/static/common.js"></script>
            	
            
            	<title>syzbot</title>
            </head>
            <body>
            	traceID: 
            	<br>
            	template: templates.html:90:39: executing &#34;header&#34; at &lt;$.BugCounts.MissingBackports&gt;: can&#39;t evaluate field MissingBackports in type *main.CachedBugStats
            	<br>
            	<a href="javascript:history.back()">back</a>
            </body>
            </html>
    --- FAIL: TestFileCoverage/multimanager_db (7.66s)
        util_test.go:344: GET: /test2/coverage/file?dateto=2025-01-31&period=month&commit=c0e75905caf368e19aab585d20151500e750de89&filepath=virt/kvm/kvm_main.c&manager=special-cc-manager&unique-only=1
        util_test.go:363: REPLY: 200
        util_test.go:344: GET: /test1
        util_test.go:363: REPLY: 500
        util_test.go:177: expected OK, got error: 500: <!doctype html>
            <html>
            <head>
            	
            	
            	 
            	<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
                    integrity="sha384-4Q6Gf2aSP4eDXB8Miphtr37CMZZQ5oXLH2yaXMJ2w8e2ZtHTl7GptT4jmndRuHDT" crossorigin="anonymous">
            	<script src="/static/common.js"></script>
            	
            
            	<title>syzbot</title>
            </head>
            <body>
            	traceID: 
            	<br>
            	template: templates.html:90:39: executing &#34;header&#34; at &lt;$.BugCounts.MissingBackports&gt;: can&#39;t evaluate field MissingBackports in type *main.CachedBugStats
            	<br>
            	<a href="javascript:history.back()">back</a>
            </body>
            </html>

@a-nogikh
Copy link
Collaborator

It would be great to have some dev deployment to see what the updated interface looks like or at least the screenshots of it.

@tarasmadan
Copy link
Collaborator

We'll see it once the dashboard tests are fixed.

@tarasmadan
Copy link
Collaborator

Attaching 2 full window screenshots to simplify comparison:

  1. Information density need to be higher. Currently this table costs less than 1 screen from the height perspective.
  2. Instances (tested repos) link is missing.
  3. Not all the table columns have names.
  4. "failing" links should be red.
  5. Numbers are better to be right aligned to simplify comparison.
  6. Menu is better to drop down on hovering, not click.
image image

Talking about the "fixed" page:

  1. Multiple alignment problems/sizing problems.
  2. UI doesn't explain where we are now. Current menu highlights the current position. New doesn't.
image

…rtials for better organization"

This reverts commit 7e70a74.
…d header components for improved organization and maintainability."

This reverts commit ec11e44.
…out for cleaner structure"

This reverts commit 113487b.
…r improved structure and reusability"

This reverts commit 9a0d3a0.
Including div class container on main.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants