Spaces:
Sleeping
Sleeping
Tengo Gzirishvili Claude Opus 4.8 commited on
Commit Β·
385e30c
1
Parent(s): 35d1c3b
notice: align in-app policy bar with the v2.0 user email (+ recourse, re-surface)
Browse filesAdd the export/delete-before-the-effective-date recourse + a contact link to the
#policyNotice bar so it matches the 30-day user-notice email (Terms allow email
OR in-app notice; we do both). Bump the dismiss key (td_policy_v2_ack ->
td_policy_v2_ack_r2) so the updated notice re-surfaces once even to users who
dismissed the earlier wording. Verified in preview: re-shows despite old ack,
recourse + contact link present, dismiss persists. Cache-buster -> v=20260607-notice2.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- dee/static/app.js +1 -1
- dee/static/index.html +3 -3
dee/static/app.js
CHANGED
|
@@ -7455,7 +7455,7 @@ function runOracle(opts){
|
|
| 7455 |
// ββ One-time policy-change notice (Privacy/Terms v2.0) ββββββββββββββββββ
|
| 7456 |
// Shows a dismissible bar until the user acknowledges; choice persists.
|
| 7457 |
(function initPolicyNotice() {
|
| 7458 |
-
var KEY = '
|
| 7459 |
var el = document.getElementById('policyNotice');
|
| 7460 |
if (!el) return;
|
| 7461 |
try { if (localStorage.getItem(KEY) === '1') return; } catch (e) {}
|
|
|
|
| 7455 |
// ββ One-time policy-change notice (Privacy/Terms v2.0) ββββββββββββββββββ
|
| 7456 |
// Shows a dismissible bar until the user acknowledges; choice persists.
|
| 7457 |
(function initPolicyNotice() {
|
| 7458 |
+
var KEY = 'td_policy_v2_ack_r2'; // bumped: re-surface the notice now that it carries the export/delete recourse
|
| 7459 |
var el = document.getElementById('policyNotice');
|
| 7460 |
if (!el) return;
|
| 7461 |
try { if (localStorage.getItem(KEY) === '1') return; } catch (e) {}
|
dee/static/index.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
| 22 |
<!-- ?v= query bumps invalidate browser + iframe asset caches when app.css /
|
| 23 |
app.js change. Bump these numbers whenever you ship a frontend update β
|
| 24 |
without them, users keep getting the stale file for up to a week. -->
|
| 25 |
-
<link rel="stylesheet" href="/static/app.css?v=20260607-
|
| 26 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v=2" />
|
| 27 |
<link rel="apple-touch-icon" href="/static/favicon.svg?v=2" />
|
| 28 |
<!-- Mol* (PDBe) viewer for AlphaFold structure embed. Loaded async; the
|
|
@@ -38,7 +38,7 @@
|
|
| 38 |
<body>
|
| 39 |
<!-- One-time material-change notice (Privacy/Terms v2.0). Dismiss persists in localStorage. -->
|
| 40 |
<div id="policyNotice" class="policy-notice" hidden>
|
| 41 |
-
<span class="policy-notice-text">We've updated our <a href="https://turingdna.com/privacy/" target="_blank" rel="noopener">Privacy Policy</a> & <a href="https://turingdna.com/terms/" target="_blank" rel="noopener">Terms</a> (v2.0, effective 7 Jul 2026): we now use <strong>anonymous, aggregated</strong> signals to improve our models. Your individual sequences stay private β never shared, exposed, or reproduced.</span>
|
| 42 |
<button type="button" id="policyNoticeClose" class="policy-notice-close">Got it</button>
|
| 43 |
</div>
|
| 44 |
<div class="app">
|
|
@@ -1739,6 +1739,6 @@
|
|
| 1739 |
<!-- Cloning reference data must load before app.js so the Designer
|
| 1740 |
can read VECTORS / ENZYMES / CLONING_METHODS / TAGS / LINKERS. -->
|
| 1741 |
<script src="/static/cloning_db.js?v=20260530-ui-polish" defer></script>
|
| 1742 |
-
<script src="/static/app.js?v=20260607-
|
| 1743 |
</body>
|
| 1744 |
</html>
|
|
|
|
| 22 |
<!-- ?v= query bumps invalidate browser + iframe asset caches when app.css /
|
| 23 |
app.js change. Bump these numbers whenever you ship a frontend update β
|
| 24 |
without them, users keep getting the stale file for up to a week. -->
|
| 25 |
+
<link rel="stylesheet" href="/static/app.css?v=20260607-notice2" />
|
| 26 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v=2" />
|
| 27 |
<link rel="apple-touch-icon" href="/static/favicon.svg?v=2" />
|
| 28 |
<!-- Mol* (PDBe) viewer for AlphaFold structure embed. Loaded async; the
|
|
|
|
| 38 |
<body>
|
| 39 |
<!-- One-time material-change notice (Privacy/Terms v2.0). Dismiss persists in localStorage. -->
|
| 40 |
<div id="policyNotice" class="policy-notice" hidden>
|
| 41 |
+
<span class="policy-notice-text">We've updated our <a href="https://turingdna.com/privacy/" target="_blank" rel="noopener">Privacy Policy</a> & <a href="https://turingdna.com/terms/" target="_blank" rel="noopener">Terms</a> (v2.0, effective 7 Jul 2026): we now use <strong>anonymous, aggregated</strong> signals to improve our models. Your individual sequences stay private β never shared, exposed, or reproduced. Prefer not to continue? You can export or delete your data before then (<a href="https://turingdna.com/contact/" target="_blank" rel="noopener">contact us</a>).</span>
|
| 42 |
<button type="button" id="policyNoticeClose" class="policy-notice-close">Got it</button>
|
| 43 |
</div>
|
| 44 |
<div class="app">
|
|
|
|
| 1739 |
<!-- Cloning reference data must load before app.js so the Designer
|
| 1740 |
can read VECTORS / ENZYMES / CLONING_METHODS / TAGS / LINKERS. -->
|
| 1741 |
<script src="/static/cloning_db.js?v=20260530-ui-polish" defer></script>
|
| 1742 |
+
<script src="/static/app.js?v=20260607-notice2" defer></script>
|
| 1743 |
</body>
|
| 1744 |
</html>
|