gds-lens 1.0.0 → 1.0.2

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 CHANGED
@@ -7,6 +7,47 @@ follows [semantic versioning](https://semver.org/spec/v2.0.0.html).
7
7
  From 1.0.0 on, a breaking change to the element's API waits for a major
8
8
  version. Before that, `0.x` releases changed it freely.
9
9
 
10
+ ## [1.0.2] - 2026-08-25
11
+
12
+ ### Changed
13
+
14
+ - Marker-file warnings are spelled out rather than counted. The `⚠ N warnings`
15
+ row is a folder now, with one wrapping row per warning inside it. The
16
+ sentences used to live only in a hover title and a `?gdsDebug=1` console
17
+ line, so the one thing the row existed to report -- a marker may be in the
18
+ wrong place, a value was not drawn -- was the one thing it did not say.
19
+
20
+ ### Fixed
21
+
22
+ - Right-click -> "Copy coordinate" did nothing. The menu is dismissed by a
23
+ `pointerdown` listener on `window`, which asked whether the menu contained
24
+ `event.target` -- but the viewer moved into a shadow root in 1.0.0, and an
25
+ event from inside one is retargeted to the `<gds-lens>` host by the time it
26
+ reaches `window`. The menu therefore hid itself (`display: none`) on the very
27
+ press that was landing on its own item, so the button never became a click.
28
+ The menu opened and showed the right coordinate throughout, which is what
29
+ made it look alive.
30
+ - The keyboard guard that keeps `m`, `h` and `/` from reaching the viewer while
31
+ someone is typing in one of lil-gui's text boxes, broken by the same
32
+ retargeting: it saw the host element rather than the focused input for every
33
+ keystroke, so typing in a filter box could switch modes, toggle the hierarchy
34
+ tree, or move focus.
35
+
36
+ ## [1.0.1] - 2026-08-25
37
+
38
+ ### Fixed
39
+
40
+ - The background grid vanished after a reload. Reloading deletes the old
41
+ file's vertex buffers, which also clears them out of the bound VAO's
42
+ attribute bindings -- leaving the grid's attribute-less fullscreen draw
43
+ pointing at an enabled array with no buffer behind it, which WebGL rejects
44
+ and skips. Only the grid was affected (the layer draws rebind every frame),
45
+ and it stayed missing until the next frame was requested.
46
+ - The link to `examples/multi-view.html` in the README and in
47
+ `docs/embedding.md`. The example lives in the repository rather than in the
48
+ package, so a relative link to it was broken for anyone reading the docs
49
+ from an installed copy; both now point at GitHub and say why.
50
+
10
51
  ## [1.0.0] - 2026-08-25
11
52
 
12
53
  ### Added
@@ -287,7 +328,9 @@ web page rather than for a webview.
287
328
  worker-loading route and shipped unsubstituted. The `createWorker` host hook
288
329
  replaces it.
289
330
 
290
- [Unreleased]: https://github.com/EthanLowenthal/GDS-Lens/compare/v1.0.0...HEAD
331
+ [Unreleased]: https://github.com/EthanLowenthal/GDS-Lens/compare/v1.0.2...HEAD
332
+ [1.0.2]: https://github.com/EthanLowenthal/GDS-Lens/compare/v1.0.1...v1.0.2
333
+ [1.0.1]: https://github.com/EthanLowenthal/GDS-Lens/compare/v1.0.0...v1.0.1
291
334
  [1.0.0]: https://github.com/EthanLowenthal/GDS-Lens/compare/v0.1.1...v1.0.0
292
335
  [0.1.1]: https://github.com/EthanLowenthal/GDS-Lens/compare/v0.1.0...v0.1.1
293
336
  [0.1.0]: https://github.com/EthanLowenthal/GDS-Lens/releases/tag/v0.1.0
package/README.md CHANGED
@@ -119,9 +119,9 @@ at roughly 8 to 16 — past that the browser starts dropping the oldest. A page
119
119
  showing a dozen layouts at once wants one viewer swapping layouts rather than a
120
120
  dozen elements.
121
121
 
122
- [`examples/multi-view.html`](examples/multi-view.html) is a working page of six:
123
- three loading a layout from `src`, three waiting for a button, one of them
124
- created and released on demand to keep a context free.
122
+ [`examples/multi-view.html`](https://github.com/EthanLowenthal/GDS-Lens/blob/main/examples/multi-view.html)
123
+ is a working page of six: three loading a layout from `src`, three waiting for a
124
+ button, one of them created and released on demand to keep a context free.
125
125
 
126
126
  #### Removal parks the viewer
127
127