Hide editable metadata fields in read view
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 1.4.2 - 2026-09-15
|
||||
|
||||
- Hid display title and thumbnail path from the read-only metadata view; those fields now appear only while editing metadata.
|
||||
|
||||
## 1.4.1 - 2026-09-15
|
||||
|
||||
- Changed title details to show metadata as read-only text by default.
|
||||
|
||||
@@ -70,7 +70,7 @@ If an older `data/metadata.json` file exists, the app imports it into SQLite on
|
||||
|
||||
## Metadata Fields
|
||||
|
||||
Title details show metadata as normal read-only text by default. Use the `Edit` button to change:
|
||||
Title details show the description as normal read-only text by default. Use the `Edit` button to change:
|
||||
|
||||
- display title
|
||||
- short description
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "h-player",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.2",
|
||||
"private": true,
|
||||
"description": "A small private web app for browsing a folder-based video collection.",
|
||||
"scripts": {
|
||||
|
||||
@@ -126,14 +126,6 @@ function renderDetails(title) {
|
||||
</div>
|
||||
</div>
|
||||
<div id="metaView" class="meta-view">
|
||||
<section>
|
||||
<span>Display title</span>
|
||||
<p>${escapeHtml(title.title)}</p>
|
||||
</section>
|
||||
<section>
|
||||
<span>Thumbnail</span>
|
||||
<p>${title.thumbnail ? escapeHtml(title.thumbnail) : "No thumbnail set"}</p>
|
||||
</section>
|
||||
<section>
|
||||
<span>Description</span>
|
||||
<p>${title.description ? escapeHtml(title.description) : "No description yet"}</p>
|
||||
|
||||
Reference in New Issue
Block a user