From 5577ec301c204e15b904326de6e3a41da2436d6a Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 11 Sep 2026 17:57:07 +0200 Subject: [PATCH] refactor: cut the explanatory copy from the sign-in screen and My Resources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The HIPAA notice is gone from the auth screen, along with the CSS rule that had no other user. The My Resources intro paragraph and the helper paragraphs under each checkbox are gone too; where a paragraph carried something the reader actually needed, it moved onto the control itself — the illustration checkbox now says what it does and where to steer it. Two sentences were kept rather than deleted, both about data leaving the building: that a web search query leaves this network and must not carry anything identifying, and that a PubMed query goes to NCBI. Trimmed to one line each. Say the word and they go too, but a clinical tool should not quietly send a query off-network with nothing on screen about it. The three tests that pinned the removed sentences now assert the behaviour instead: that the header still claims privacy, and that the illustration checkbox is genuinely unchecked in the markup rather than merely described as off by default. Verified as rendered: neither the sign-in nor the sign-up screen mentions HIPAA, the invite-code field is visible, and the generator card is down to its controls plus the NCBI line. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU --- public/components/my-resources.html | 41 +++++------------------------ public/css/styles.css | 2 -- public/index.html | 5 ---- test/my-resources.test.js | 16 +++++++---- 4 files changed, 17 insertions(+), 47 deletions(-) diff --git a/public/components/my-resources.html b/public/components/my-resources.html index 7c06edb2..6997e59b 100644 --- a/public/components/my-resources.html +++ b/public/components/my-resources.html @@ -4,12 +4,6 @@ Private to you
-

- Teaching material you generate for yourself — a deck for tomorrow's session, a - handout, a summary. Nobody else sees these. Published Learning Hub content is separate - and stays with the moderators. -

-
@@ -40,11 +34,6 @@ Write from the indexed clinical library -

- Searches the corpus for your topic and writes from those excerpts, preferring them - over the model's own recall, and ends with a References section. Turn this off for a - topic the library does not cover. -

@@ -52,10 +41,6 @@
-

- Only shown when an administrator has approved more than one. Otherwise the - configured model is used. -

@@ -64,15 +49,8 @@
-

- Off by default: a model handed a drawing tool will find a reason to use it, and - most teaching material does not want one. With this on you can also say what to - draw in Instructions below — “include a diagram of the - airway” — instead of leaving the choice to the model. One illustration - per generation; it appears under the Generate button. -

@@ -81,13 +59,10 @@

- For something newer than the library — a guideline published this year, a recent - approval. The search query leaves this network and reaches the provider - your administrator configured; the library excerpts and the resource itself never do. - Do not put anything identifying in the topic if you turn this on. + The search query leaves this network. Do not put anything identifying in the topic.

@@ -97,12 +72,10 @@

- Searches PubMed and returns structured records, so a reference carries a PMID somebody - can look up. The search query goes to NCBI; the library excerpts and - the resource itself do not. + The search query goes to NCBI.

@@ -143,9 +116,7 @@

- Rewrites the resource in place, keeping its structure and any References section - unless you ask otherwise. The previous version is replaced, so copy anything you - want to keep first. + The previous version is replaced.

diff --git a/public/css/styles.css b/public/css/styles.css index 4ed0a07e..8f53d7e0 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -37,8 +37,6 @@ body{font-family:'Inter',system-ui,sans-serif;background:var(--g50);color:var(-- .btn-auth:hover{background:var(--blue-dark);} .auth-links{text-align:center;margin-top:16px;font-size:13px;} .auth-links a{color:var(--blue);text-decoration:none;margin:0 8px;} -.hipaa-notice{margin-top:24px;padding:12px;background:var(--amber-light);border-radius:8px;font-size:12px;color:#92400e;display:flex;align-items:flex-start;gap:8px;} -.hipaa-notice i{margin-top:2px;flex-shrink:0;} /* FOOTER */ .app-footer{color:rgba(255,255,255,0.4);font-size:10.5px;text-align:center;padding:20px 24px 8px;line-height:1.6;} diff --git a/public/index.html b/public/index.html index 4da90009..133c391d 100644 --- a/public/index.html +++ b/public/index.html @@ -137,11 +137,6 @@ -
- - HIPAA-compliant AI providers available with BAA. Check with your institution's guidelines before use. Not intended for production clinical use without proper authorization. -
-