Skip to content

[pull] midnight from simulationcraft:midnight#661

Merged
pull[bot] merged 1 commit into
hotbees:midnightfrom
simulationcraft:midnight
Jun 11, 2026
Merged

[pull] midnight from simulationcraft:midnight#661
pull[bot] merged 1 commit into
hotbees:midnightfrom
simulationcraft:midnight

Conversation

@pull

@pull pull Bot commented Jun 11, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…parsing (#11495)

* [HTML Report] Render Raid DPS chart early

render the main raid DPS chart early so that it doesn't take forever to appear on large reports. motivated by full raid sim stacks like are published on simulationcraft.org

* [HTML Report] Emit grouping classes by default

the section-open / grouped-first / grouped-last classes that separate and round the report's sections were only applied by `validate_section()` on document.ready, causing a noticable layout shift when they snap apart on larger (longer-loading) reports.

instead, we include them directly on the sections we know will be present: section-open for the default-open sections (raid summary and profile sets), grouped-first for hotfixes and grouped-last for the table of contents. this makes the styling and layout mostly correct before document.ready, improving the feel on larger reports.

* [HTML Report] Emit `section-open` for main actor of single actor reports

* [HTML Report] Defer actor subsection loading

A significant portion of page load time on larger reports is spent parsing HTML and building the DOM. By enclosiong heavier per-actor subsections (Abilities, Buffs, Procs/Uptimes/Benefits, Resources, Action Priority List, Statistics & Data Analysis, Stats, Gear, Profile, Talents (multi-player only), Parsed Player Effects) in `<script type="text/x-deferred-html">` blocks, the browser will skip parsing these sections, and we can later inject this unparsed HTML into the DOM with a bit of JS once the user actually opens the section. This gives us a report which is interactive much faster by avoiding having the browser do heavy parsing work on sections that may never be opened.

* [report] Remove special casing for HTML reports based on actor count.

* [report] Defer only actor, as nested script tags are not permitted.

---------

Co-authored-by: Kate Martin <51387586+renanthera@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jun 11, 2026
@pull pull Bot added the ⤵️ pull label Jun 11, 2026
@pull pull Bot merged commit c0844eb into hotbees:midnight Jun 11, 2026
@pull pull Bot added the ⤵️ pull label Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant