Hide editable metadata fields in read view
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# 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
|
## 1.4.1 - 2026-09-15
|
||||||
|
|
||||||
- Changed title details to show metadata as read-only text by default.
|
- 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
|
## 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
|
- display title
|
||||||
- short description
|
- short description
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "h-player",
|
"name": "h-player",
|
||||||
"version": "1.4.1",
|
"version": "1.4.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "A small private web app for browsing a folder-based video collection.",
|
"description": "A small private web app for browsing a folder-based video collection.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -126,14 +126,6 @@ function renderDetails(title) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="metaView" class="meta-view">
|
<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>
|
<section>
|
||||||
<span>Description</span>
|
<span>Description</span>
|
||||||
<p>${title.description ? escapeHtml(title.description) : "No description yet"}</p>
|
<p>${title.description ? escapeHtml(title.description) : "No description yet"}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user