Skip to content

[Feature] Removes Dojo and updates to modern TypeScript for front-end#18

Merged
greg5green merged 1 commit intomainfrom
feature/modern-fe
Mar 19, 2026
Merged

[Feature] Removes Dojo and updates to modern TypeScript for front-end#18
greg5green merged 1 commit intomainfrom
feature/modern-fe

Conversation

@greg5green
Copy link
Owner

What changed

  • static/js/httpconfig.jsstatic/ts/httpconfig.ts
    • Replaced the Dojo AMD module with native fetch and DOM APIs in TypeScript. Uses textContent instead of innerHTML. The compiled output goes to static/js/ at build time.
  • tsconfig.frontend.json -- new frontend-specific TypeScript config targeting ES2022 modules for the browser, isolated from the server's CJS config.
  • package.json -- split build into build:css, build:server, and build:client sub-scripts.
  • static/html/httpconfig.html -- removed Dojo CDN script, IE conditional comments, and the deprecated Universal Analytics snippet. Script tag updated to type="module".
  • .gitignore / .dockerignore -- added static/js/ as build output in both.
  • Dockerfile --builder stage now copies static/ts/ and tsconfig.frontend.json. Final stage gets static/js/ from the builder rather than the host.

@greg5green greg5green merged commit fd5571e into main Mar 19, 2026
2 checks passed
@greg5green greg5green deleted the feature/modern-fe branch March 19, 2026 02:25
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