Toggle menu
49
33
34
2.2K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki talk:Common.js: Difference between revisions

Discussion page of MediaWiki:Common.js
No edit summary
Line 3: Line 3:
{{TalkBox
{{TalkBox
|title=Purpose
|title=Purpose
|body=Coordination + change tracking for [[MediaWiki:Common.js]] (site-wide JavaScript). Keep implementation on the JS page. Use this page for tasks, regression notes, and decisions.
|body=Coordination + change tracking for [[MediaWiki:Common.js]] (site-wide JavaScript).
}}
}}


{{TalkBox
{{TalkBox
|title=Known issues / watchlist
|title=Current Status
|body=
|body=
* Map regressions (Leaflet/SMW/CSV):
* '''Libraries:''' Leaflet 1.9.4, MarkerCluster 1.4.1, Turf.js 6
* “No accessions found” cases:
* '''Features:''' Clustering, hull generation, 3 base layers, status-colored markers
* Console errors:
* '''Last major update:''' 2026-01-13
}}
}}


{{TalkBox
{{TalkBox
|title=Open tasks
|title=Known Issues
|body=
|body=
* [ ] Implement TalkHeader + TalkBox templates
* Hulls not displaying — need 3+ accessions per Growing Area (data issue, not code)
* [ ] Add a small “Discuss” link/button to key infoboxes (later)
* Fullscreen expand button — not yet functional
}}
}}


== Threads ==
== Changelog ==


=== Changelog (curated from page history) ===
=== 2026-01-13 ===
; 2026-01-13 — <rev/diff link>
* Added Turf.js hull generation for Growing Area boundaries
* Change:
* Removed permanent labels → hover/click only
* Reason:
* '''Reason:''' Visual clutter with sparse data
* Impact:
 
* Result:
=== 2026-01-12 ===
* Next:
* Added marker clustering with worst-status bubble-up
* Added satellite base layer
* Fixed CSV URL encoding for dashes/colons in accession IDs
* '''Reason:''' Main page map not displaying pins
 
== Decisions ==
; Auto-generated hulls vs manual GeoJSON
: Chose auto-generated — updates automatically, dashed style signals "approximate"
 
; Interaction-only labels
: Removed permanent labels — clutter reduction, tooltips sufficient

Revision as of 22:30, 12 January 2026

Talk

Discussion for: MediaWiki:Common.js ViewLinksRelated changes

Use this page for verification notes, disputes, and action items. Keep narrative content on the article.

Purpose
Coordination + change tracking for MediaWiki:Common.js (site-wide JavaScript).
Current Status
* Libraries: Leaflet 1.9.4, MarkerCluster 1.4.1, Turf.js 6
  • Features: Clustering, hull generation, 3 base layers, status-colored markers
  • Last major update: 2026-01-13
Known Issues
* Hulls not displaying — need 3+ accessions per Growing Area (data issue, not code)
  • Fullscreen expand button — not yet functional

Changelog

2026-01-13

  • Added Turf.js hull generation for Growing Area boundaries
  • Removed permanent labels → hover/click only
  • Reason: Visual clutter with sparse data

2026-01-12

  • Added marker clustering with worst-status bubble-up
  • Added satellite base layer
  • Fixed CSV URL encoding for dashes/colons in accession IDs
  • Reason: Main page map not displaying pins

Decisions

Auto-generated hulls vs manual GeoJSON
Chose auto-generated — updates automatically, dashed style signals "approximate"
Interaction-only labels
Removed permanent labels — clutter reduction, tooltips sufficient