From 1414a846eca18e2ed33870645b8b1a6d1a9298aa Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sat, 7 Feb 2026 17:47:10 +0100 Subject: [PATCH] Added edit tooltips. --- pages/actors/@actorId/edit/+Page.vue | 25 ++++++++++++++++++++++++- pages/scene/edit/+Page.vue | 25 ++++++++++++++++++++++++- static | 2 +- 3 files changed, 49 insertions(+), 3 deletions(-) diff --git a/pages/actors/@actorId/edit/+Page.vue b/pages/actors/@actorId/edit/+Page.vue index 2424e29..b8b62b2 100644 --- a/pages/actors/@actorId/edit/+Page.vue +++ b/pages/actors/@actorId/edit/+Page.vue @@ -66,7 +66,16 @@ class="row" >
-
{{ item.label || item.key }}
+
+ {{ item.label || item.key }} + + +
[ { key: 'augmentation', type: 'augmentation', + note: 'Provide explicit evidence, such as social media posts, visible scarring, or before/after. Avoid "it\'s obvious".', value: { naturalBoobs: actor.value.naturalBoobs, boobsVolume: actor.value.boobsVolume, @@ -503,6 +513,7 @@ const fields = computed(() => [ { key: 'piercings', type: 'has', + note: 'Excludes earrings', value: { has: actor.value.hasPiercings, description: actor.value.piercings, @@ -685,10 +696,22 @@ async function submit() { .key { width: 10rem; + display: inline-flex; + align-items: center; text-transform: capitalize; font-weight: bold; } + .item-note{ + fill: var(--glass); + padding: .5rem .75rem; + cursor: help; + + &:hover { + fill: var(--primary); + } + } + .input { background: var(--background); } diff --git a/pages/scene/edit/+Page.vue b/pages/scene/edit/+Page.vue index c32f228..0985073 100644 --- a/pages/scene/edit/+Page.vue +++ b/pages/scene/edit/+Page.vue @@ -66,7 +66,16 @@ class="row" >
-
{{ item.label || item.key }}
+
+ {{ item.label || item.key }} + + +
[ key: 'title', type: 'string', value: scene.value.title, + note: 'Do not correct language errors unless source was updated.', }, { key: 'description', type: 'text', value: scene.value.description, + note: 'Do not correct language errors unless source was updated.', }, { key: 'date', @@ -408,6 +419,8 @@ async function submit() { .key { width: 8rem; + display: inline-flex; + align-items: center; text-transform: capitalize; font-weight: bold; } @@ -473,6 +486,16 @@ async function submit() { } } +.item-note{ + fill: var(--glass); + padding: .5rem .75rem; + cursor: help; + + &:hover { + fill: var(--primary); + } +} + .editor-footer { display: flex; flex-direction: column; diff --git a/static b/static index 13a0a44..edbc4d2 160000 --- a/static +++ b/static @@ -1 +1 @@ -Subproject commit 13a0a44985449987afad3b61d5e43cb487d77cfd +Subproject commit edbc4d27a1946a920bf1a75a0ff0dd67e9ef6635