From e292cc375897b2e8be2e16e91630b73527d1a19e Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Sat, 6 Jun 2026 13:26:15 +0200 Subject: [PATCH] =?UTF-8?q?style(furni-editor):=20graphical=20reskin=20?= =?UTF-8?q?=E2=80=94=20teal=20hero=20header=20w/=20big=20preview=20+=20dyn?= =?UTF-8?q?amic=20name=20+=20chips,=20soft=20card=20sections,=20LIVE=20pul?= =?UTF-8?q?se=20on=20display-name=20card,=20page=20bg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/FurniEditorEditView.tsx | 49 ++++++++++--------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/src/components/furni-editor/views/FurniEditorEditView.tsx b/src/components/furni-editor/views/FurniEditorEditView.tsx index 2c0c0a7..f9ac1bb 100644 --- a/src/components/furni-editor/views/FurniEditorEditView.tsx +++ b/src/components/furni-editor/views/FurniEditorEditView.tsx @@ -35,16 +35,16 @@ const Section: FC = ({ title, children, defaultOpen = true }) => const [ open, setOpen ] = useState(defaultOpen); return ( -
+
- { open &&
{ children }
} + { open &&
{ children }
}
); }; @@ -220,28 +220,31 @@ export const FurniEditorEditView: FC = props => const readonlyClass = 'w-full px-2 py-1 text-sm font-mono rounded-sm border border-[#ddd] bg-[#f2f2eb] text-[#555] select-all'; return ( - - { /* Header */ } - - -
- -
- - - ID: { item.id } - | - Sprite: { item.spriteId } + + { /* Hero header */ } +
+ +
+ +
+ + { furniName || form.publicName || form.itemName } + { form.itemName } + + ID { item.id } + SPRITE { item.spriteId } + { item.usageCount } IN USE + { isDirty && UNSAVED } + - ({ item.usageCount } in use) +
- { isDirty && Unsaved changes } - +
{ /* Primary edit surface: furnidata display name + description (server-authoritative, live) */ } -
-
- Display Name & Description +
+
+ Display Name & DescriptionLIVE { (furniName !== String(furniDataEntry?.name ?? '') || furniDescription !== String(furniDataEntry?.description ?? '')) && Unsaved }