zalando / tech-radar

Visualizing our technology choices
https://opensource.zalando.com/tech-radar/
MIT License
1.64k stars 626 forks source link

Enables links for blips. Makes link target configurable. #103

Closed bocytko closed 1 year ago

bocytko commented 1 year ago

Includes changes from #73.

  1. Links are now always enabled for blips Previously, it was only enabled for blips if there is no legend (config.print_layout = true)
  2. Use xlink:href everywhere Previously, blips used xlink:href, but text still used href. xlink:href has actually been deprecated, but currently still has better cross-platform support.
  3. Links can now open in new tabs Previously, links always opened in the existing tab. This adds a new config: links_in_new_tabs. Setting that to true will add a target="_blank" for all hrefs, causing the link to be opened in a new tab. Setting config.links_in_new_tabs to false or not including it at all retains the old behavior.