Skip to content

πŸ› fix(branding): remove ONLYOFFICE branding from loader and unlock customization (#89) β€” webpack mirror [PARKED]#140

Draft
moodyjmz wants to merge 4 commits into
build/webpack-migrationfrom
fix/onlyoffice-branding-webpack
Draft

πŸ› fix(branding): remove ONLYOFFICE branding from loader and unlock customization (#89) β€” webpack mirror [PARKED]#140
moodyjmz wants to merge 4 commits into
build/webpack-migrationfrom
fix/onlyoffice-branding-webpack

Conversation

@moodyjmz

Copy link
Copy Markdown
Member

Parked. Webpack mirror of #139 (which lands the same fix on the grunt main line). Same source edits as #139 β€” Main.js gate unlock + .deploy loader logo/title β€” with the build wiring expressed for webpack: deploy-html.js now substitutes {{APP_TITLE_TEXT}}/{{LOADER_LOGO}}/{{LOADER_LOGO_DARK}} (mirrors grunt's replace:indexhtml).

Verified with make web-apps-dev (incl. mobile): splash logo correct in light + dark, title branded.

Held until the webpack migration lands; will be rebased/updated as the pipeline evolves. Docs (theme/README.md) intentionally live on #139 only.

πŸ€– Generated with Claude Code

moodyjmz and others added 4 commits June 22, 2026 16:12
…ess cause; harden verify-bundles gate

- docs/webpack-migration.md gotcha #8: expand SW staleness note to explain
  WHY incognito is required locally β€” PRODUCT_VERSION is pinned in the eo
  Makefile so local rebuilds emit app.js at the same URL with no cache_tag
  change; SW serves the stale bundle. Production deploys self-bust via the
  version-prefix redirect + flush-cache.sh.

- docs/webpack-migration.md gotcha #9: add invariant note β€” output.clean:false
  is safe only because the output set is fixed. Enabling splitChunks, async
  import(), or asyncChunks without content-hashed filenames or per-editor
  cleaning leaves stale chunks on disk that the SW will cache silently.

- build/webpack.editor.factory.mjs: matching inline comments at clean:false and
  splitChunks:false cross-referencing the invariant and the Common scoping
  finding, so the constraint is visible at the call site without needing to
  consult docs separately.

- build/scripts/verify-bundles.mjs: hard-fail (not warn) when BUILD_ROOT exists
  but an expected bundle is absent. Previously warn-and-continue allowed a
  partial build to pass the token-survivor gate; each gate should be
  self-sufficient even though verify-deploy also checks bundle existence.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
CSS hashes in mobile index.html files updated to reflect esbuild output
from the TerserPlugin β†’ EsbuildPlugin switch. Build artifacts β€” no
functional change.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
…ense (#89)

Drop the asc_getCanBranding() license factor from canBrandingExt in all five
editors so integrator branding works on the AGPL community build instead of
raising the "paid feature" dialog.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
Replace the ONLYOFFICE "romb" splash diamonds with the theme logo (light/dark via
the applied theme-type-dark class) and tokenize the static <title>. deploy-html.js now
substitutes {{APP_TITLE_TEXT}}, {{LOADER_LOGO}} and {{LOADER_LOGO_DARK}} from the theme
config, mirroring grunt's replace:indexhtml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
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.

1 participant