Repository navigation
Conversation
…I output, currencies - Split the 2,400-line index.html into css/app.css and ten classic scripts in static/js/ (shared global scope, ordered; startup in main.js). See D11. - Vendor and pin Chart.js 4.6.1, marked 18.1.3, DOMPurify 3.4.17 and the Inter font (latin + latin-ext for Romanian diacritics) via package.json + scripts/vendor.mjs. No CDN dependencies left besides TradingView and logos. - Replace the Tailwind Play CDN (runtime compiler) with precompiled static/css/tailwind.css (Tailwind 3.4.19). CI fails if it's stale. - All LLM markdown goes through DOMPurify (images forbidden). Remove the chat's raw-HTML update_tab_content action. - Currency-aware money formatting: prices in `currency`, statement values in `financialCurrency`, Yahoo minor units (GBp/ZAc/ILA), compact $3.08T style. Watchlist quotes carry their currency. - Plain-language wording and an AI disclaimer line; markdown styling for reports. - scripts/ui_smoke.js is now a pass/fail Playwright test (sanitising, currencies, breakdowns, watchlist, refresh, chat, no-key hint, failure toast), run in CI against scripts/fake_server.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TW7cJeWrcBW5SJHr4ZKtSH
…loading Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TW7cJeWrcBW5SJHr4ZKtSH
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.
Stacked on #2. Merge #1 and #2 first.
What changed
index.htmlis nowcss/app.cssplus ten plain scripts instatic/js/, with no build step. They're plain scripts rather than ES modules because the markup uses inline handlers (D11).npm run vendor). The Tailwind Play CDN is replaced by a precompiledstatic/css/tailwind.css(npm run build:css), and CI fails if it's stale.scripts/ui_smoke.jsis a pass/fail Playwright test, run in CI on a newfrontendjob against the fake server. It includes an XSS probe and RON/TWD currency checks.Live-test checklist:
docs/HANDOFF.md.Generated by Claude Code