IITC-CE / ingress-intel-total-conversion

intel.ingress.com total conversion user script with some new features. Should allow easier extension of the intel map.
https://iitc.app
ISC License
284 stars 110 forks source link

Manage upstream externals #70

Closed johnd0e closed 4 years ago

johnd0e commented 5 years ago

Currently we have separate sub-directory with all upstream 'externals' (+ separate images subdirectory)

Most of them described in ATTRIBUTION.md. Some of them have version info inside, but most of them not. Some of them are even modified for iitc special needs, but in order to know details we have to dig though unclear commit history.

It's a pain to maintain and update these sources.

So I propose:

Then:

Related links:

johnd0e commented 5 years ago

Here will be the list of all externals, where we should specify:

(WIP)

jQuery-related components:

Leaflet-related components:

Other:

johnd0e commented 5 years ago

So I've figured out exact versions of externals (as long as required modification), and now we can begin to update most of them (excl. Leaflet.draw, leaflet.filelayer.js, togeojson.js).

Some things still need to be clarified:

L.Control.Pan.css and L.Control.Zoomslider.css was slightly modified, so after update we need to verify if it is still needed.

https://github.com/iitc-project/ingress-intel-total-conversion/pull/99/:

-.leaflet-control-zoom {
+.leaflet-bar {

+/*
+  override the scale bar and push it over
+*/
+.leaflet-control-scale {
+  left: 63px !important;
+}

https://github.com/iitc-project/ingress-intel-total-conversion/pull/283:

 .leaflet-control-zoomslider-slider {
+       background-color: #fff;
+       border-bottom: 1px solid #ccc;