Skip to content

fix: include pre-built device_page/dist in resources to fix empty Filament Manager#10832

Open
BenJule wants to merge 3 commits into
bambulab:masterfrom
BenJule:fix/10799-device-page-dist-missing
Open

fix: include pre-built device_page/dist in resources to fix empty Filament Manager#10832
BenJule wants to merge 3 commits into
bambulab:masterfrom
BenJule:fix/10799-device-page-dist-missing

Conversation

@BenJule
Copy link
Copy Markdown

@BenJule BenJule commented May 20, 2026

Problem

The Filament Manager tab shows a blank white page on macOS (issue #10799) and throws a "file not found" error on Linux AppImage (issue #10806).

Root cause: resources/web/device_page/dist/ is excluded from the repository by the **/dist/ gitignore rule. All other embedded web pages in BambuStudio (resources/web/fila_manager/, resources/web/device/, resources/web/login/, etc.) are pre-built static assets committed directly to git. The device_page/dist/ was the only exception — it was only generated at CMake build time via the device_page_build custom target, and was never included in the Linux AppImage or macOS DMG release packages.

Fix

  • Add a .gitignore exception to track resources/web/device_page/dist/
  • Commit the pre-built assets (index.html, assets/index.{css,js}, img/**)

The CMake device_page_build target still rebuilds these files on a full source build; the committed dist serves as the reliable fallback that release packages depend on — matching the approach used for every other embedded web page.

Test plan

  • Open Filament Manager tab on macOS → page loads correctly (no blank view)
  • Open Filament Manager tab on Linux AppImage → no "file not found" error
  • resources/web/device_page/dist/index.html present in packaged AppImage

Closes #10799
Closes #10806

BenJule added 3 commits May 21, 2026 10:52
The upstream build_all.yml only listed 'main' as a push trigger.
BenJule/BambuStudio uses 'master' as its default branch, so CI never
fired on fork-local pushes. Adding 'master' alongside 'main' makes
the full multi-platform build run when master is updated.
…ament Manager

The `resources/web/device_page/dist/` directory was excluded from the
repository by the `**/dist/` gitignore rule.  All other web assets in
`resources/web/` are pre-built static files committed directly to git,
but `device_page/dist/` was only generated at CMake build time and never
packaged into the Linux AppImage or macOS DMG releases.

Add a gitignore exception to track `resources/web/device_page/dist/` and
commit the pre-built assets (index.html, assets/index.{css,js}, img/**).
This mirrors how all other embedded web pages in BambuStudio are shipped.

The CMake `device_page_build` target will still rebuild these files on a
full source build; the committed dist serves as the fallback that release
packages rely on.

Closes bambulab#10799
Closes bambulab#10806
@BenJule BenJule force-pushed the fix/10799-device-page-dist-missing branch from 00c37f1 to 09561d7 Compare May 21, 2026 08:55
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.

[BUG] Filament Manager: missing device_page/dist/index.html in Linux AppImage v02.07.00.55 (2.7.0 Public Beta) Filament Manager tab empty (macOS)

1 participant