consider migration for old infowindow templates
See original GitHub issuewhen working on infowindows: type in tabmenu (https://github.com/CartoDB/cartodb/pull/7972) I spotted when selecting an old infowindow (i.e. “infowindow_light_header_orange”) in old editor will make new builder crash
as a temporal mitigation for this I added the templates but I think it’s time to consider a migration for several reasons, mostly:
- as old templates won’t exist in the carousel (see attached) it wouldn’t appear selected, when color template should appear selected
- for consistency reasons, color template is still named “infowindow_light_header_blue”, that’s definitely not the best name
I’d propose set the template html for the infowindow_light_header_green, infowindow_light_header_orange, infowindow_light_header_yellow
occurences, so it would appear as custom template
and rename infowindow_light_header_blue
to infowindow_color
finally remove the legacy templates
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Custom infowindow migration misses some details importing ...
Custom-HTML infowindows and legends may import somewhat successfully, but likely styling and width and other factors will be ...
Read more >Problem updating infowindow - carto - GIS Stack Exchange
First of all I'll show my code. I create the layer options and then I get my sublayer. I set its options and...
Read more >Info Windows | Maps JavaScript API - Google Developers
An InfoWindow displays content (usually text or images) in a popup window above the map, at a given location. The info window has...
Read more >ruby on rails - Gmaps4Rails json request Template is missing ...
When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on...
Read more >Custom InfoWindow - WP Go Maps
1) Can I develop my own custom info window template? 2) Is it possible to target an area outside of the map so...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
from an actual case scenario, infowindows with:
migrate to
migrate to
migrate to
migrate to
now parsed, if you’re curious, also the html for the template 😂
the rest of the templates (“infowindow_light”, “infowindow_dark”, “infowindow_header_with_image”) wouldn’t need to be migrated
Nope, it should migrate it to:
BTW, are we using color as the attribute for the header color @matallo or @alonsogarciapablo?