Skip to content

Commit 7b2e1c1

Browse files
refactor(ui): rename "By substance" tab to "Substance Log"
Update the nav label, section heading, and the README feature name. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent aafe197 commit 7b2e1c1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ anywhere.
5858
covers substances you add yourself once they're classified.
5959
- **Substances** — catalogue substances, assign interaction classes (common ones
6060
are auto-classified), keep your own dose notes.
61-
- **By substance** — every dose grouped by substance, so you can see your history
61+
- **Substance Log** — every dose grouped by substance, so you can see your history
6262
and typical dosages at a glance.
6363

6464
## Architecture

src/routes/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@
10441044
<button class:active={tab === "journal"} onclick={() => goTab("journal")}>Journal</button>
10451045
<button class:active={tab === "companion"} onclick={() => goTab("companion")}>Companion</button>
10461046
<button class:active={tab === "substances"} onclick={() => goTab("substances")}>Substances</button>
1047-
<button class:active={tab === "bysub"} onclick={() => goTab("bysub")}>By substance</button>
1047+
<button class:active={tab === "bysub"} onclick={() => goTab("bysub")}>Substance Log</button>
10481048
<button class:active={tab === "data"} onclick={() => goTab("data")}>Settings</button>
10491049
<button title="Emergency &amp; support resources" onclick={openHelp}>Emergency Resources</button>
10501050
</nav>
@@ -1430,7 +1430,7 @@
14301430
<!-- ============ BY SUBSTANCE ============ -->
14311431
{#if tab === "bysub"}
14321432
<section class="card">
1433-
<h2>By substance</h2>
1433+
<h2>Substance Log</h2>
14341434
{#if usage.length}
14351435
{#each usage as u}
14361436
<div class="usage">

0 commit comments

Comments
 (0)