Skip to content

Restructure the HTML report template and match the website theme #179

Closed

Description

@shossain786

The report template (src/main/resources/report-template.html, ~660 lines) holds all CSS, JS and markup in one file, and its look doesn't match seleniumboot.com.

Goal

  • Split the template into a maintainable structure (separate CSS and JS sources, markup partials) that still builds into the single self-contained report file, so the report stays one file with no network needed.
  • Align colours, typography and spacing with the website theme. Keep light and dark mode working.

Acceptance criteria

  • The generated report is still one self-contained HTML file and works from file://.
  • No behaviour change: tabs, filters, search, trend charts and failure panels work as before (existing report tests pass).
  • Theme tokens live in one place.

Suggested by @PUSHPAK-JAISWAL.

Activity

  1. codingkush commented on Oct 20, 2026

    @codingkush
    Contributor

    Hi,
    I would like to work on this issue. I can help restructure the HTML report template while keeping it self-contained and preserving the existing functionality. Could you please assign this issue to me, or let me know if there's anything specific I should consider before getting started?

  2. shossain786 commented on Oct 21, 2026

    @shossain786
    ContributorAuthor

    Thanks @codingkush, assigning this to you. A few things before you start:

    Comment here if anything is unclear.

  3. codingkush commented on Oct 21, 2026

    @codingkush
    Contributor

    Hi! @shossain786 I am preparing the JavaScript extraction as a separate, small PR, following your suggestion.

    I tried to use the CSS extraction branch as the base for the JavaScript PR, but GitHub doesn't let me select that branch because it exists in my fork, not in the upstream repository.
    Should I keep the JavaScript PR based on master and make it independent of the CSS changes, or would you prefer a different approach?

    I want to make sure both changes integrate cleanly without duplicating or losing changes.

  4. shossain786 commented on Oct 24, 2026

    @shossain786
    ContributorAuthor

    Thanks @codingkush, this is moot now: #192 and #193 are merged, so the CSS/JS split is done. Remaining work is #194. Please address the review comments there (</nav>, balanced-tag test, chart font fallback, browser check) and I'll take another look.

  5. codingkush commented on Oct 24, 2026

    @codingkush
    Contributor

    @shossain786 Done , Kindly review the changes

  6. shossain786 commented on Oct 24, 2026

    @shossain786
    ContributorAuthor

    Done in #192, #193 and #194. Thanks @codingkush for the clean split into small PRs and for turning the review fixes around quickly.

  7. codingkush commented on Oct 24, 2026

    @codingkush
    Contributor

    @shossain786 Thank you! Looking forward to contributing more to Selenium Boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is neededreportingHTML report / dashboard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions