rework: static handler for svelte implementation of the dashboard#304
Merged
Sweattypalms merged 22 commits intoJan 5, 2026
Merged
Conversation
* Add particle packets and systems * Glowing pigs! * Collisions patch * Particles track player * Clippy * Return ok for dropped conn * Fix requested changes
* feat : add ungrounding system for entities * fix : clippy lint * fix : rustfmt * fix : add some docs + clippy lints
Move chunk cache to Dashmap instead of moka
…ent units
- Switch memory reporting unit from `Megabytes` to `Kilobytes` in `tps.rs` to match actual data source
- Update memory label from "Memory (MB)" to "Memory (MiB)"
- Format current and peak memory values as `{:.2}MiB` using new `get_mib` helper
- Add `get_mib` function to convert kilobytes to mebibytes (`kb / 1024.0`)
- Remove platform-specific RSS scaling in `memory.rs`, now always using raw `process.memory()` in bytes
fix(performance): correctly display memory
since this is for a pull request, we should use the official ferrumc-rs repo for source
Sweattypalms
requested changes
Jan 4, 2026
| println!("cargo:rustc-cfg=dashboard_build"); | ||
|
|
||
| // 5. Rerun if the dashboard-dist directory is deleted | ||
| println!("cargo:rerun-if-changed=dashboard-dist"); |
Member
There was a problem hiding this comment.
How would you handle dashboard UI updates? Because I'm pretty sure this means only one download and that's it.
Contributor
Author
There was a problem hiding this comment.
Why i did it:
FORCE_UPDATE=1 cargo build -r --features dashboard
i run this when an update happens since workflows have empty directory for it.
But i will make it re-download it every time it compiles.
Zip will be on memory from now on,. It will try to download it every time it compiles. If no internet (or something that prevents downloading), will use old dashboard, if none exists, it will fallback to the dashboard offline build failed message in the html.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Don't accept this pr before accepting the dashboard pr, since build.rs uses downloadable file from dashboard repository.
see: ferrumc-rs/dashboard#1