pmtiles-swarm 0.41.2 → 0.41.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/src/web/index.html +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,15 @@
|
|
|
7
7
|
### 🐞 Bug fixes
|
|
8
8
|
- _...Add new stuff here..._
|
|
9
9
|
|
|
10
|
+
## 0.41.3
|
|
11
|
+
### ✨ Features and improvements
|
|
12
|
+
- **The details panel no longer repeats the archive's name.** It opens directly under the row that
|
|
13
|
+
names it, so the heading was the same words twice, one line apart — it was there because the panel
|
|
14
|
+
used to render below the whole table, where nothing said which archive it belonged to. The panel is
|
|
15
|
+
labelled for assistive technology instead, which has no "just above" to read from.
|
|
16
|
+
|
|
17
|
+
### 🐞 Bug fixes
|
|
18
|
+
|
|
10
19
|
## 0.41.2
|
|
11
20
|
### ✨ Features and improvements
|
|
12
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmtiles-swarm",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.3",
|
|
4
4
|
"description": "BitTorrent distribution for PMTiles map archives: create torrents, watch folders, publish and subscribe to RSS feeds, and seed through qBittorrent or an embedded client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
package/src/web/index.html
CHANGED
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
display: flex;
|
|
229
229
|
gap: 0.25rem;
|
|
230
230
|
border-bottom: 1px solid var(--line);
|
|
231
|
-
margin:
|
|
231
|
+
margin: 0 0 1rem;
|
|
232
232
|
flex-wrap: wrap;
|
|
233
233
|
}
|
|
234
234
|
.tabs button {
|
|
@@ -1668,8 +1668,13 @@
|
|
|
1668
1668
|
const summary = entry.pmtiles ?? {};
|
|
1669
1669
|
const mode = entry.mode ?? 'mirror';
|
|
1670
1670
|
|
|
1671
|
+
// No heading. The panel opens directly under the row that names the
|
|
1672
|
+
// archive, so a title here repeated what the eye had just read one
|
|
1673
|
+
// line above it. Named to assistive technology instead, which has no
|
|
1674
|
+
// "just above" to rely on.
|
|
1675
|
+
panel.setAttribute('role', 'region');
|
|
1676
|
+
panel.setAttribute('aria-label', entry.name);
|
|
1671
1677
|
panel.innerHTML = `
|
|
1672
|
-
<h2>${escapeHtml(entry.name)}</h2>
|
|
1673
1678
|
<div class="tabs">
|
|
1674
1679
|
<button data-tab="general" class="on">General</button>
|
|
1675
1680
|
<button data-tab="trackers">Trackers</button>
|