GlobalFishingWatch / pelagos-client

Documentation
http://globalfishingwatch.io/pelagos-client/
Other
7 stars 4 forks source link

[DO NOT MERGE - DEPLOY THIS BRANCH DIRECTLY] Create map bar to notify about new map #437

Open jarmstrongbts opened 7 years ago

jarmstrongbts commented 7 years ago

@enriquetuya - pull request for the new map bar with message Connects https://github.com/GlobalFishingWatch/GFW-Tasks/issues/484

jarmstrongbts commented 7 years ago
screen shot 2017-04-10 at 3 25 34 pm
redhog commented 7 years ago

Changed so that the message is added by js, as index.html isn't used in production (deploy repo does this).

"end_of_life_url": "http://new-map.com"

in config.json to set the link.

DO NOT MERGE - DEPLOY THIS BRANCH DIRECTLY

enriquetuya commented 7 years ago

@redhog I'm re-assigning this one to you, for some reason the message is not appearing on top. The gap is there for the message to be placed but no message. issue_message

GO here http://wp-dev.globalfishingwatch.org/map to test it out.

config.json:

{
  "ui": {
    "logo": null,
    "sideBar": {
      "feedback_url" : null,
      "sponsorLogos": [
      ]
    },
    "hideKeys": [
      {"keys": ["Alt", "Ctrl", "P"]},
      {"keys": ["Alt", "Ctrl", "A"]}
    ],
    "welcomeMessage": {
      "url": "https://globalfishingwatch.github.io/pelagos-content/release-0.26.html"
    }
  },
  "end_of_life_url": "http://wp-dev.globalfishingwatch.org/map-2.0-beta",
  "state": {
    "logging": {
      "googleAnalytics": {
        "args": {"trackingID": "UA-56517380-5"},
        "rules": [
          "Visualization.Animation.AnimationManager.search",
          "Visualization.Animation.AnimationManager.handleSelectionUpdate"]
      }
    }
  }
}