From 1ecc5271187a08393bd7e08773506078e2197a8f Mon Sep 17 00:00:00 2001 From: Giorgio Gilestro Date: Wed, 27 May 2026 15:39:03 +0200 Subject: [PATCH] cleanup: drop dead upload.html + soften broker-only marketing copy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Delete app/templates/upload.html. The /upload route redirected to /settings#import (302) and never rendered this template; the file was carrying stale Trading-212-only copy. - Landing + pricing pages: replace "Trading 212 today, more brokers planned" with "Trading 212 natively, other formats auto-detected" to reflect the LLM-fallback parser that's been live for a few days. The /upload redirect route in app/routers/pages.py stays — it remains a useful bookmark-forwarder for users with old links. Co-Authored-By: Claude Opus 4.7 --- app/templates/landing.html | 8 +-- app/templates/pricing.html | 2 +- app/templates/upload.html | 104 ------------------------------------- 3 files changed, 5 insertions(+), 109 deletions(-) delete mode 100644 app/templates/upload.html diff --git a/app/templates/landing.html b/app/templates/landing.html index 2732a68..8d3d170 100644 --- a/app/templates/landing.html +++ b/app/templates/landing.html @@ -116,10 +116,10 @@

Paid users can also drop a portfolio CSV from their broker - (Trading 212 today, more brokers planned) for an AI sense-check on - concentration, regime fit, and currency exposure. Holdings stay in - your browser by default; opt in to encrypted cloud sync to restore - on another device. + — Trading 212 natively, other formats auto-detected — + for an AI sense-check on concentration, regime fit, and currency + exposure. Holdings stay in your browser by default; opt in to + encrypted cloud sync to restore on another device.

diff --git a/app/templates/pricing.html b/app/templates/pricing.html index 93f1562..c32fb26 100644 --- a/app/templates/pricing.html +++ b/app/templates/pricing.html @@ -62,7 +62,7 @@
  • Strategic log refreshed every hour instead of every six — track intraday moves as they unfold
  • Follow-up chat on any past log — ask the model a question against the day’s full context
  • Daily email digest (Mon–Sat) — ~600-word read of the session ahead, on top of the Sunday recap
  • -
  • Portfolio import from a broker CSV (Trading 212 supported today; more brokers planned)
  • +
  • Portfolio import from any broker CSV — Trading 212 natively, other formats auto-detected
  • AI portfolio read — diversification, sector and currency concentration, macro-regime fit on your holdings
  • Optional encrypted cloud sync — PIN-derived encryption in your browser, second-layer wrap on the server, no plaintext holdings server-side
  • diff --git a/app/templates/upload.html b/app/templates/upload.html deleted file mode 100644 index 0c397e8..0000000 --- a/app/templates/upload.html +++ /dev/null @@ -1,104 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ BRAND_NAME }} · Import Portfolio{% endblock %} - -{% block main %} -
    -
    - Import portfolio (Trading 212 CSV) - held locally · optional encrypted cloud sync (paid) -
    - -
    -

    - Export your pie from the T212 web app - (Trading 212 → Investing → Your Pie → ⋯ → Export) - and drop the CSV here. Each Slice is resolved to its Yahoo ticker; - the parsed pie is kept in this browser's localStorage. - The server learns only which tickers exist (anonymously) so it can - fetch their prices. If you have cloud sync - enabled, an encrypted copy is also pushed to the - server — only your PIN can decrypt it. -

    - -
    -
    - -
    -
    Drop a T212 pie CSV here
    -
    or browse · max 1 MB
    -
    -
    - - -
    - - -
    -
    - - - - -{% endblock %}