Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GFW Map 3.0 #3490

Merged
merged 965 commits into from
Nov 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
965 commits
Select commit Hold shift + click to select a range
c6b9d4a
fix position of RI window
edbrett Oct 17, 2018
226f3be
add forma latest back to analysis
edbrett Oct 17, 2018
2e12c00
go to homepage on header when open
edbrett Oct 17, 2018
9449567
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 17, 2018
3227c14
add scolling with fixed header
edbrett Oct 18, 2018
8b9c04d
fix height of dynamic window
edbrett Oct 18, 2018
2136ec8
fix showing datasets
edbrett Oct 18, 2018
d04021a
an analysis interaction for mobile
edbrett Oct 18, 2018
c3b0989
Merge pull request #3606 from Vizzuality/feature/design-feedback
edbrett Oct 19, 2018
d3e0444
add categories menu for layers, fix explore panel
edbrett Oct 19, 2018
5e4fb1e
merge upstream
edbrett Oct 19, 2018
f4f413a
fix showing of datasets and analysis window
edbrett Oct 19, 2018
ab2d551
fix styles of search
edbrett Oct 19, 2018
d4ed361
fix search closing menu on selection
edbrett Oct 19, 2018
43d057d
Add back desktop analysis, restore on map click
edbrett Oct 19, 2018
067cf60
fix showing correct layers
edbrett Oct 19, 2018
b386fca
fix highlight datasets
edbrett Oct 19, 2018
fd9f4f0
roll back land cover icon
edbrett Oct 19, 2018
6ecd756
add mini header for map
edbrett Oct 19, 2018
4afe7cc
open analysis when route changes
edbrett Oct 20, 2018
3937515
fetch search if data empty
edbrett Oct 20, 2018
533e49b
disable one click on mobile
edbrett Oct 20, 2018
96b565e
fetch analysis on mount
edbrett Oct 20, 2018
cf5814b
add recent imagery and basemaps panels
edbrett Oct 20, 2018
c503469
add recent imagery interaction
edbrett Oct 20, 2018
42804fe
increase min share modal width
edbrett Oct 20, 2018
6643313
add desktop view back
edbrett Oct 20, 2018
9ea1570
menu for desktop
edbrett Oct 21, 2018
5aa6120
fix zindex
edbrett Oct 21, 2018
69ec53e
map scale position
edbrett Oct 21, 2018
7af0293
add loader for datasets fetching
edbrett Oct 21, 2018
04b8568
fix styles for landsat selector
edbrett Oct 21, 2018
e09bf16
fix terrai latest
edbrett Oct 22, 2018
9e239e1
show only single menu for embeds
edbrett Oct 22, 2018
33a6c1b
update embeds positions, always render recent imagery base component
edbrett Oct 22, 2018
664b3bf
fix icons fill
edbrett Oct 22, 2018
46c549d
fix icons fill
edbrett Oct 22, 2018
2f3a296
Merge branch 'feature/responsive-new-map' of github.com:Vizzuality/gf…
edbrett Oct 22, 2018
5517c43
add new map as primary route, add basic redirects for old urls
edbrett Oct 22, 2018
d10cedd
add new map as primary route, add basic redirects for old urls
edbrett Oct 22, 2018
b4fe50c
Merge branch 'feature/map-routes' of github.com:Vizzuality/gfw into f…
edbrett Oct 22, 2018
a6db83f
remove cache busting query from datasets
edbrett Oct 22, 2018
453ebcf
update caching in headers of static files
edbrett Oct 22, 2018
ef8b33e
fix embed links in dashboards button
edbrett Oct 22, 2018
9c04f15
check for env key for datasets
edbrett Oct 22, 2018
2975f69
fix rspec test formap
edbrett Oct 22, 2018
24a8c06
Merge branch 'feature/map-routes' of github.com:Vizzuality/gfw into f…
edbrett Oct 22, 2018
49cf0d4
fix selected dataset cat when closed menu
edbrett Oct 22, 2018
a13531c
add stories cards and tab to explore
edbrett Oct 23, 2018
98b32c3
add stories dataset to map
edbrett Oct 23, 2018
f35bc75
Merge branch 'develop' of github.com:Vizzuality/gfw into feature/trac…
edbrett Oct 23, 2018
3b546f5
Merge branch 'develop' of github.com:Vizzuality/gfw into feature/map-v2
edbrett Oct 23, 2018
150b4ab
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 23, 2018
f024f3e
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 23, 2018
9a82949
update noko giri
edbrett Oct 23, 2018
9189227
Merge pull request #3609 from Vizzuality/feature/ptw-staging
edbrett Oct 23, 2018
aaaaebc
Merge pull request #3608 from Vizzuality/feature/map-routes
edbrett Oct 23, 2018
1f45e4a
Merge branch 'feature/responsive-new-map' of github.com:Vizzuality/gf…
edbrett Oct 23, 2018
79eb30f
Merge branch 'feature/responsive-new-map' of github.com:Vizzuality/gf…
edbrett Oct 23, 2018
cac34d3
update tracking and analytics tags
edbrett Oct 23, 2018
9ed13ca
add hotjar tracking code
edbrett Oct 23, 2018
7a3d3e5
add hotjar tracking code
edbrett Oct 23, 2018
ff7177b
update upstream
edbrett Oct 23, 2018
398170e
Merge branch 'feature/user-stories' of github.com:Vizzuality/gfw into…
edbrett Oct 23, 2018
37b386e
update site map to add new map country structure
edbrett Oct 23, 2018
39374b9
fix hover styles on menus
edbrett Oct 23, 2018
42be4bf
fix scroll bars in windows firefox
edbrett Oct 23, 2018
c7660b6
fix dropdown arrow position
edbrett Oct 23, 2018
cc76a36
add cross browser buttons and update support versions
edbrett Oct 23, 2018
5338c6c
remove map build pack
edbrett Oct 24, 2018
1407e6c
make mobile panel header more accessible
edbrett Oct 24, 2018
536111b
use classnames on button component
edbrett Oct 24, 2018
f3d04de
move mobile controls to top
edbrett Oct 24, 2018
82336c6
fix native dropdown interaction
edbrett Oct 24, 2018
0783eb7
fix for iphone safari bars
edbrett Oct 24, 2018
c801c07
Merge pull request #3607 from Vizzuality/feature/responsive-new-map
edbrett Oct 24, 2018
ae3ca2c
Merge pull request #3616 from Vizzuality/feature/tracking-tools
edbrett Oct 24, 2018
4a792f5
Merge pull request #3618 from Vizzuality/feature/sitemap-map-update
edbrett Oct 24, 2018
e61eaf4
use lower case for search
edbrett Oct 24, 2018
7d91f7c
fix height of menu tiles in desktop and ipad
edbrett Oct 24, 2018
715829d
fix showing of attributions on desktop, move map scale responsive
edbrett Oct 24, 2018
93c579f
allow local connection from dev server
edbrett Oct 24, 2018
838dc2e
add simple search names from gadm36 for better searching
edbrett Oct 24, 2018
317ae27
update disabled styles for map buttons
edbrett Oct 24, 2018
e3b7309
dont show menu panel loader if analysis
edbrett Oct 24, 2018
b5b7ec4
improve tabs on ptw mobile
edbrett Oct 24, 2018
974164a
only allow downloads when there are
edbrett Oct 24, 2018
8a0f1a5
remove read more buttons from topics cards
edbrett Oct 25, 2018
fb8bc22
styles improvements for padding
edbrett Oct 25, 2018
f01245a
block interaction on map when menu open, fix analysis links
edbrett Oct 25, 2018
ad74b56
fix toggle layer on search
edbrett Oct 25, 2018
d0ffe74
close menu when rotating screen
edbrett Oct 25, 2018
4c28be6
make close popup icon larger
edbrett Oct 25, 2018
25d22bd
add stories images
edbrett Oct 25, 2018
15f6ea1
fix basemaps image background
edbrett Oct 25, 2018
1aa6f05
only allow timeline to play once
edbrett Oct 25, 2018
eedc5e9
add show analysis to stories cards
edbrett Oct 25, 2018
11a4a02
add subscribe modal
edbrett Oct 25, 2018
bb42951
build ui form for saving subscriptions
edbrett Oct 25, 2018
5d3c9cb
add saved successful panel
edbrett Oct 25, 2018
d815999
add token checking for mygfw, POST subscription, saved status
edbrett Oct 26, 2018
7a44baa
add dropdown native form theme
edbrett Oct 26, 2018
c2132f8
update styles for login form
edbrett Oct 26, 2018
6b868fc
Merge pull request #3620 from Vizzuality/feature/design-feedback-v2
edbrett Oct 26, 2018
c3c77d0
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 26, 2018
c244e1d
fix dataset panel height with selector open
edbrett Oct 26, 2018
0b70d36
fix long titles in analysis headeR
edbrett Oct 26, 2018
fd311fe
fix favicon errors
edbrett Oct 26, 2018
a97ae3b
fix active layer showing in form
edbrett Oct 26, 2018
245802b
add basic modal and actions
edbrett Oct 26, 2018
93dee6c
compress images
edbrett Oct 26, 2018
1d3781b
fix embed layouts menu
edbrett Oct 26, 2018
73a9238
fix max height of embed analysis
edbrett Oct 26, 2018
07193dc
fix bounding on embeds
edbrett Oct 26, 2018
839ad56
Merge branch 'develop' of github.com:Vizzuality/gfw into feature/map-v2
edbrett Oct 27, 2018
92ed546
update glad alerts widget cals
edbrett Oct 27, 2018
662a1d5
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 27, 2018
30fb039
Merge branch 'develop' of github.com:Vizzuality/gfw into feature/map-v2
edbrett Oct 27, 2018
4f45085
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 27, 2018
e049c0d
Merge branch 'feature/subscriptions-in-analysis' of github.com:Vizzua…
edbrett Oct 27, 2018
581bbd0
Merge pull request #3619 from Vizzuality/feature/subscriptions-in-ana…
edbrett Oct 27, 2018
7ff16e2
Merge pull request #3621 from Vizzuality/feature/welcome-modal
edbrett Oct 27, 2018
7905261
Merge pull request #3622 from Vizzuality/feature/optimisation
edbrett Oct 27, 2018
65f3158
improve redirect from old map state
edbrett Oct 27, 2018
e854248
fix stories icons
edbrett Oct 27, 2018
e254dab
add all subscription layers to layerspec conversion
edbrett Oct 27, 2018
2a24ed2
add wdpa and recent imagery to redirect
edbrett Oct 27, 2018
26e14d4
fix styles for analysis action buttons
edbrett Oct 27, 2018
202b1ca
fix analytics
edbrett Oct 27, 2018
33cf301
add map settings tracking
edbrett Oct 27, 2018
38c5fae
add events for map menu
edbrett Oct 27, 2018
b0f11d8
add map events
edbrett Oct 27, 2018
7659be0
events for timelines
edbrett Oct 27, 2018
45be4c8
analysis events
edbrett Oct 27, 2018
9d96de0
add basemaps events
edbrett Oct 27, 2018
34c12fb
remove debugger
edbrett Oct 27, 2018
f7e48b0
fix removing all layers from map
edbrett Oct 27, 2018
3d67582
fix overlfow y and desktop menu
edbrett Oct 27, 2018
c165079
add redux persist for managing local storage
edbrett Oct 27, 2018
c712a0e
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 27, 2018
47b3f6c
move font import to texts
edbrett Oct 27, 2018
bf175d1
add favicon to public
edbrett Oct 27, 2018
9fe54a3
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 27, 2018
077ce15
menu padding to give correct background color
edbrett Oct 27, 2018
e0e1a4e
move all favicons to public folder
edbrett Oct 27, 2018
f0a3b1f
update favicons to use generated icons
edbrett Oct 27, 2018
3930259
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 27, 2018
4760495
remove playbook
edbrett Oct 27, 2018
7ecfad5
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 27, 2018
3eca714
revert transifex api key for staging
edbrett Oct 27, 2018
ac54576
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 27, 2018
92e7f95
fix styles for dashboard safari 10
edbrett Oct 28, 2018
1755422
style fixes for widgets
edbrett Oct 28, 2018
82efc2e
widget styles for cross browser
edbrett Oct 28, 2018
d46bc7b
remove old widgets
edbrett Oct 28, 2018
1107b3f
change widgets slugs to v2
edbrett Oct 28, 2018
b92a88e
ie fixes for menus and modals
edbrett Oct 28, 2018
c915e89
fix overflow in ie for recent imagery
edbrett Oct 28, 2018
8e0e284
fix recent imagery for IE
edbrett Oct 28, 2018
99cdebc
fix dashboards map zoom
edbrett Oct 28, 2018
36f70ed
increase min height for simple widget
edbrett Oct 28, 2018
c2c76e7
merge upstream
edbrett Oct 28, 2018
c7a2bd4
update slugs and carto ids for all redirects
edbrett Oct 29, 2018
db0786c
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Oct 29, 2018
ef15b3a
Merge pull request #3623 from Vizzuality/feature/map-analytics
edbrett Oct 29, 2018
989fc9b
if empty array on analysis value show 0
edbrett Oct 29, 2018
d3abb7f
fix for wdpa analysis endpoints parsing
edbrett Oct 29, 2018
b350378
fux login with credentials
edbrett Oct 29, 2018
9e94c16
events for welcome modal
edbrett Oct 29, 2018
5f443bf
map interaction event
edbrett Oct 29, 2018
8e41500
persist recent imgagery image from url
edbrett Oct 29, 2018
028bb49
fix undefined in layer groups selector
edbrett Oct 29, 2018
de85327
add feedback error for large shape errors
edbrett Oct 29, 2018
d2997cf
update error message
edbrett Oct 29, 2018
9ae79f9
Merge branch 'develop' of github.com:Vizzuality/gfw into feature/map-v2
edbrett Oct 30, 2018
ff5a241
fix for max value on composed chart
edbrett Oct 30, 2018
faa6436
panel height for ios
edbrett Oct 30, 2018
2511dd6
align cross hair center
edbrett Oct 30, 2018
684e727
use move event on map
edbrett Oct 30, 2018
2006beb
reduce map height for ios
edbrett Oct 30, 2018
58f9758
ios height of map
edbrett Oct 30, 2018
fce7e83
update status timeout on analysis
edbrett Oct 30, 2018
3dbac64
remove header pack
edbrett Oct 30, 2018
18e902b
fix shape file filters for null geomoteries
edbrett Oct 30, 2018
45ab57d
safari ios fix for mobile panel buttons
edbrett Oct 30, 2018
5f2ffb5
fix position of subscribe in mobile analysis when scrolling
edbrett Oct 30, 2018
c229c58
merge upstream
edbrett Oct 30, 2018
77f1f82
add user stories layer id
edbrett Oct 30, 2018
1097e4f
remove stories description
edbrett Oct 31, 2018
8255059
change no analysis sentence
edbrett Oct 31, 2018
d1a2fb8
decode cluster layers
edbrett Nov 2, 2018
1505bf8
Update readme
edbrett Nov 2, 2018
a71fec2
updates for readme
edbrett Nov 2, 2018
08f6af2
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Nov 2, 2018
16e4eaf
basic styles for icons
edbrett Nov 2, 2018
e349340
remove visibility icon
edbrett Nov 2, 2018
dc82ba0
check for published datasets
edbrett Nov 5, 2018
bbc57b5
fix for ie modals
edbrett Nov 5, 2018
419e2e6
fix geojson upload issues
edbrett Nov 5, 2018
344d71e
update SEO to mirror url for use
edbrett Nov 5, 2018
9c919b3
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Nov 6, 2018
ba4d63e
add menu position to datasets
edbrett Nov 6, 2018
93591a3
improve stories cards styles when active
edbrett Nov 6, 2018
e0b2b86
render stories cards correct;y with images and links
edbrett Nov 6, 2018
4de40d7
push stories layers to map from cards with correct config
edbrett Nov 6, 2018
e65ae87
fix styles for whitebackground images
edbrett Nov 6, 2018
040e161
change order for climate menu sub cats
edbrett Nov 7, 2018
cff6966
cancel geostore requests when analysis canceled
edbrett Nov 7, 2018
09e8476
sort recent imagery tiles by date
edbrett Nov 7, 2018
7f799cb
add privacy policy to map
edbrett Nov 7, 2018
90f1fc8
add loading for map layers, reverse years for landsat
edbrett Nov 7, 2018
8d43af1
add different no analysis layers message
edbrett Nov 8, 2018
9943286
add widget footer for simple widget state
edbrett Nov 8, 2018
e601a5a
fix green text on popups
edbrett Nov 8, 2018
a236601
text fixes for explore tab
edbrett Nov 8, 2018
63b397d
upgrade terser
edbrett Nov 8, 2018
8f70559
break word on popups
edbrett Nov 8, 2018
4eeed38
Add tracking events for drawing on map
edbrett Nov 8, 2018
f2c2002
custom tracking events for modals
edbrett Nov 8, 2018
adc308f
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Nov 8, 2018
ad1c632
merge stories datasets with map layers when adding
edbrett Nov 8, 2018
accab17
add terser web pack plugin
edbrett Nov 8, 2018
8df74f4
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Nov 8, 2018
190135e
update welcome modal to new design
edbrett Nov 11, 2018
01e1886
fix one click analysis tooltip
edbrett Nov 11, 2018
7c12f18
create reactour guide and basic steps
edbrett Nov 11, 2018
5e940ee
custom tour tooltip rendering
edbrett Nov 12, 2018
20bac28
hide welcome and tour on mobile
edbrett Nov 12, 2018
c8e7c1e
add transifex snippet to the spa
edbrett Nov 12, 2018
aec2247
Merge pull request #3636 from Vizzuality/feature/stories-layers
edbrett Nov 12, 2018
cd13b01
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Nov 12, 2018
81b8547
fix position of map attirbutions with new butn
edbrett Nov 12, 2018
4e2fd9e
remove old deps
edbrett Nov 12, 2018
9368ad8
Merge branch 'develop' of github.com:Vizzuality/gfw into feature/map-v2
edbrett Nov 13, 2018
037106e
fix analysis for fires at adm2
edbrett Nov 13, 2018
5b304fb
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Nov 13, 2018
0a6f608
translate page when lang selected
edbrett Nov 13, 2018
5db88f3
text changes for welcome and tour
edbrett Nov 13, 2018
c1158b9
fix undefined layergroups
edbrett Nov 14, 2018
949fd1a
Merge branch 'feature/map-v2' of github.com:Vizzuality/gfw into featu…
edbrett Nov 14, 2018
12880b8
open basemaps, pulse on close
edbrett Nov 14, 2018
d03d793
restart tour after closing
edbrett Nov 14, 2018
3d13f5f
add intro messages to end of tour
edbrett Nov 14, 2018
ed070f6
global line height for p
edbrett Nov 14, 2018
37e7de3
remove duplicate analysis results
edbrett Nov 14, 2018
f859a38
Merge pull request #3642 from Vizzuality/feature/map-tour
edbrett Nov 14, 2018
06e3cbd
fix scale poition with new buttons
edbrett Nov 14, 2018
51484ef
fix dropdown styles for clearable state
edbrett Nov 14, 2018
ef67125
increase transition time for moutning action in map tour
edbrett Nov 14, 2018
675868c
increase zindex of map tour
edbrett Nov 14, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"mode": "remove",
"removeImport": true,
"ignoreFilenames": ["node_modules"]
}]
}],
"react-hot-loader/babel"
]
}
},
Expand All @@ -27,12 +28,13 @@
],
"plugins": [
"syntax-dynamic-import",
"transform-decorators-legacy",
[
"transform-class-properties",
{
"spec": true
}
],
"transform-es2015-arrow-functions"
"universal-import"
]
}
61 changes: 61 additions & 0 deletions .env.prod.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Application
[email protected]
LAYER_SPEC=layerspec

# GFW Links
GFW_API=https://production-api.globalforestwatch.org
GFW_API_OLD=https://api.globalforestwatch.org
GFW_ASSETS_URL=https://gfw-assets.s3.amazonaws.com/static/gfw-assets.nightly.js
GFW_BLOG_HOST=http://blog.globalforestwatch.org
GFW_HOWTO_URL=http://vizzuality.github.io/gfw-howto
GFW_DEVELOPERS_URL=http://vizzuality.github.io/gfw-atlas

# External APIs
CARTO_API=https://wri-01.carto.com/api/v2
RESOURCE_WATCH_API=https://api.resourcewatch.org/v1
CLIMATE_WATCH_API=https://climate-watch.vizzuality.com/api/v1

# AWS
AWS_HOST=/uploads
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=my-excellent-region
S3_BUCKET_NAME=
S3_DATA_BUCKET_NAME=

# Google
ANALYTICS_PROPERTY_ID=
LANDSTAD_KEY=
SENTINEL_KEY=
GOOGLE_MAPS_API_KEY=
GOOGLE_CUSTOM_SEARCH_CX=
GOOGLE_SEARCH_API_KEY=

# Bitly
BITLY_API_URL=https://api-ssl.bitly.com/v3
BITLY_USER=
BITLY_API_KEY=

# Datasets
COUNTRIES_PAGE_DATASET=a20e9c0e-8d7d-422f-90f5-3b9bca355aaf
GLAD_ISO_DATASET=391ca96d-303f-4aef-be4b-9cdb4856832c
GLAD_ADM1_DATASET=c7a1d922-e320-4e92-8e4c-11ea33dd6e35
GLAD_ADM2_DATASET=428db321-5ebb-4e86-a3df-32c63b6d3c83
FIRES_ISO_DATASET=ff289906-aa83-4a89-bba0-562edd8c16c6
FIRES_ADM1_DATASET=9b9e56fc-270e-486d-8db5-e0a839c9a1a9
FIRES_ADM2_DATASET=0f24299d-2aaa-4afc-945c-b614028c12d1

# Transifex
TRANSIFEX_URL=https://www.transifex.com/api/2/project
TRANSIFEX_PROJECT=
TRANSIFEX_SLUG=
TRANSIFEX_API_TOKEN=
TRANSIFEX_RESOURCE_API_TOKEN=
LOCALES_PATH=app/javascript/locales

# SMTP
SMTP_USERNAME=
SMTP_PASSWORD=

# CYPRESS
CYPRESS_RECORD_KEY=
4 changes: 2 additions & 2 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CLIMATE_WATCH_API=https://climate-watch.vizzuality.com/api/v1
AWS_HOST=/uploads
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_REGION=my-excellent-region
S3_BUCKET_NAME=
S3_DATA_BUCKET_NAME=

Expand Down Expand Up @@ -58,4 +58,4 @@ SMTP_USERNAME=
SMTP_PASSWORD=

# CYPRESS
CYPRESS_RECORD_KEY=
CYPRESS_RECORD_KEY=
2 changes: 2 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ rules:
react/jsx-filename-extension: 0
react/sort-comp: 0
react/no-find-dom-node: 0
react/no-array-index-key: 0
react/no-danger: 0
camelcase: 0
no-mixed-operators: 0
class-methods-use-this: 0
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ todo.todo
/public/packs
/public/packs-test
/node_modules
package-lock.json
33 changes: 0 additions & 33 deletions .jshintrc

This file was deleted.

1 change: 1 addition & 0 deletions .postcssrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"plugins": {
"postcss-cssnext": {
"warnForDuplicates": false,
"browsers": ["> 1%", "last 2 versions", "Firefox ESR", "Safari >= 8", "IE >= 11"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: ruby

node_js:
- 8.10.0
- 8.11.2

rvm:
- 2.4.0
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ gem 'rack-reverse-proxy', '~> 0.12.0', :require => 'rack/reverse_proxy'
gem 'aws-sdk', '~> 3'

#Webpacker
gem 'webpacker', '~> 3.5'
gem 'webpacker', '~> 3.5.5'

# http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#responders
gem 'responders', '~> 2.0'
Expand Down Expand Up @@ -71,4 +71,4 @@ end
gem 'newrelic_rpm'
gem 'puma'

gem 'dotenv-rails', :groups => [:development, :test]
gem 'dotenv-rails', :groups => [:development, :test, :production_local]
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ DEPENDENCIES
useragent
vcr
web-console (~> 2.0)
webpacker (~> 3.5)
webpacker (~> 3.5.5)

RUBY VERSION
ruby 2.4.0p0
Expand Down
6 changes: 2 additions & 4 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
web: bundle exec rails s
web: redis-server /usr/local/etc/redis.conf
# watcher: ./bin/webpack-watcher
webpacker: ./bin/webpack-dev-server
web: bundle exec rails s -b 0.0.0.0
webpacker: ./bin/webpack-dev-server --watch --colors --progress
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ $ rvm install 2.4.0
$ rvm use 2.4.0
```

Now let's install redis:
```bash
$ brew install redis
```

Now let's install Ruby on Rails:

```bash
Expand All @@ -83,16 +78,23 @@ $ brew install imagemagick@6 --force && brew link imagemagick@6 --force
Installing front end dependencies:

```bash
$ npm install
$ yarn install
```

Almost there! Final steps are to copy the `.env.sample` to `.env`, and start the server:

```bash
$ npm start
$ yarn start
```
The app should now be accessible on [http://0.0.0.0:5000](http://0.0.0.0:5000).

### REDIS
We have a local redis server for caching in production. We dont run this locally by default but if you want to test or develop on this feature you will need to install redis and run it:

```bash
$ brew install redis
$ yarn redis
```

## Deployment

Expand Down Expand Up @@ -167,7 +169,7 @@ We use [BrowserStack](https://www.browserstack.com) to find and fix cross-browse

# RW API Documentation for GFW

Map layers and relevent datasets are stored in the [RW-API](http://api.resourcewatch.org/) and the `globalforestwatch.org/v2/map` utilises the [layer-manager](https://github.com/Vizzuality/layer-manager) to render them.
Map layers and relevent datasets are stored in the [RW-API](http://api.resourcewatch.org/) and the `globalforestwatch.org/map` utilises the [layer-manager](https://github.com/Vizzuality/layer-manager) to render them.

The schema used to style these layers, their legends, and define their interactions are specific to the *Global Forest Watch* platform.

Expand Down
Binary file removed app/assets/images/favicon/android-chrome-144x144.png
Binary file not shown.
Binary file not shown.
Binary file removed app/assets/images/favicon/android-chrome-36x36.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-chrome-48x48.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-chrome-72x72.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-chrome-96x96.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-icon-144x144.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-icon-192x192.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-icon-36x36.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-icon-48x48.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-icon-72x72.png
Binary file not shown.
Binary file removed app/assets/images/favicon/android-icon-96x96.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-114x114.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-120x120.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-144x144.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-152x152.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-180x180.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-57x57.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-60x60.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-72x72.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-76x76.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon-precomposed.png
Binary file not shown.
Binary file removed app/assets/images/favicon/apple-icon.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/assets/images/favicon/apple-touch-icon-57x57.png
Diff not rendered.
Binary file removed app/assets/images/favicon/apple-touch-icon-60x60.png
Diff not rendered.
Binary file removed app/assets/images/favicon/apple-touch-icon-72x72.png
Diff not rendered.
Binary file removed app/assets/images/favicon/apple-touch-icon-76x76.png
Diff not rendered.
Diff not rendered.
Binary file removed app/assets/images/favicon/apple-touch-icon.png
Diff not rendered.
12 changes: 0 additions & 12 deletions app/assets/images/favicon/browserconfig.xml

This file was deleted.

Binary file removed app/assets/images/favicon/favicon-16x16.png
Diff not rendered.
Binary file removed app/assets/images/favicon/favicon-32x32.png
Diff not rendered.
Binary file removed app/assets/images/favicon/favicon-96x96.png
Diff not rendered.
Binary file removed app/assets/images/favicon/favicon.ico
Binary file not shown.
41 changes: 0 additions & 41 deletions app/assets/images/favicon/manifest.json

This file was deleted.

Binary file removed app/assets/images/favicon/ms-icon-144x144.png
Diff not rendered.
Binary file removed app/assets/images/favicon/ms-icon-150x150.png
Diff not rendered.
Binary file removed app/assets/images/favicon/ms-icon-310x310.png
Diff not rendered.
Binary file removed app/assets/images/favicon/ms-icon-70x70.png
Diff not rendered.
Binary file removed app/assets/images/favicon/mstile-144x144.png
Diff not rendered.
Binary file removed app/assets/images/favicon/mstile-150x150.png
Diff not rendered.
Binary file removed app/assets/images/favicon/mstile-310x150.png
Diff not rendered.
Binary file removed app/assets/images/favicon/mstile-310x310.png
Diff not rendered.
Binary file removed app/assets/images/favicon/mstile-70x70.png
Diff not rendered.
Binary file added app/assets/images/layer-icons/binos.png
17 changes: 17 additions & 0 deletions app/assets/images/layer-icons/binos.svg
Binary file modified app/assets/images/map-page.png
Binary file added app/assets/images/static-logos-s6ad45a35c8.png
Binary file removed app/assets/images/static-logos-s9b9fb82527.png
Diff not rendered.
Binary file removed app/assets/images/static-logos-sa088f0acda.png
Diff not rendered.
Binary file modified app/assets/images/static-logos/awards_climate_change.png
Binary file modified app/assets/images/static-logos/awards_climate_change_hover.png
Binary file modified app/assets/images/static-logos/awards_esri.png
Binary file modified app/assets/images/static-logos/awards_esri_hover.png
Binary file modified app/assets/images/static-logos/blueraster.png
Binary file modified app/assets/images/static-logos/blueraster_hover.png
Binary file modified app/assets/images/static-logos/bobolink.png
Binary file modified app/assets/images/static-logos/carto.png
Binary file modified app/assets/images/static-logos/carto_hover.png
Binary file modified app/assets/images/static-logos/centerglobaldevelopment.png
Binary file modified app/assets/images/static-logos/cgiar.png
Binary file modified app/assets/images/static-logos/cgiar_hover.png
Binary file modified app/assets/images/static-logos/clua.png
Binary file modified app/assets/images/static-logos/cluahover.png
Binary file modified app/assets/images/static-logos/danida.png
Binary file modified app/assets/images/static-logos/danida_hover.png
Binary file modified app/assets/images/static-logos/dutchforeign.png
Binary file modified app/assets/images/static-logos/dutchforeign_hover.png
Binary file modified app/assets/images/static-logos/esri.png
Binary file modified app/assets/images/static-logos/esri_hover.png
Binary file modified app/assets/images/static-logos/gef.png
Binary file modified app/assets/images/static-logos/gef_hover.png
Binary file modified app/assets/images/static-logos/gfwca.png
Binary file modified app/assets/images/static-logos/gfwca_hover.png
Binary file modified app/assets/images/static-logos/goodall.png
Binary file modified app/assets/images/static-logos/goodall_hover.png
Binary file modified app/assets/images/static-logos/google.png
Binary file modified app/assets/images/static-logos/google_hover.png
Binary file modified app/assets/images/static-logos/imazon.png
Binary file modified app/assets/images/static-logos/imazon_hover.png
Binary file modified app/assets/images/static-logos/mongabay.png
Binary file modified app/assets/images/static-logos/mongabayhover.png
Binary file modified app/assets/images/static-logos/muyissi.png
Binary file modified app/assets/images/static-logos/muyissihover.png
Binary file modified app/assets/images/static-logos/norwegian.png
Binary file modified app/assets/images/static-logos/norwegian_hover.png
Binary file modified app/assets/images/static-logos/osfac.png
Binary file modified app/assets/images/static-logos/osfac_hover.png
Binary file modified app/assets/images/static-logos/rspo.png
Binary file modified app/assets/images/static-logos/rspohover.png
Binary file modified app/assets/images/static-logos/scanex.png
Binary file modified app/assets/images/static-logos/scanex_hover.png
Binary file modified app/assets/images/static-logos/sida.png
Binary file modified app/assets/images/static-logos/sida_hover.png
Binary file modified app/assets/images/static-logos/simbiotica.png
Binary file modified app/assets/images/static-logos/simbiotica_hover.png
Binary file modified app/assets/images/static-logos/tilafund.png
Binary file modified app/assets/images/static-logos/tilafund_hover.png
Binary file modified app/assets/images/static-logos/twrus.png
Binary file modified app/assets/images/static-logos/twrus_hover.png
Binary file modified app/assets/images/static-logos/ukaid.png
Binary file modified app/assets/images/static-logos/ukaid_hover.png
Binary file modified app/assets/images/static-logos/unep.png
Binary file modified app/assets/images/static-logos/unep_hover.png
Binary file modified app/assets/images/static-logos/unepwcmc.png
Binary file modified app/assets/images/static-logos/unepwcmchover.png
Binary file modified app/assets/images/static-logos/universitymaryland.png
Binary file modified app/assets/images/static-logos/universitymaryland_hover.png
Binary file modified app/assets/images/static-logos/usaid.png
Binary file modified app/assets/images/static-logos/usaid_hover.png
Binary file modified app/assets/images/static-logos/vizzuality.png
Binary file modified app/assets/images/static-logos/vizzuality_hover.png
Binary file modified app/assets/images/static-logos/whrc.png
Binary file modified app/assets/images/static-logos/whrchover.png
Binary file modified app/assets/images/static-logos/wri.png
Binary file modified app/assets/images/static-logos/wri_hover.png
2 changes: 1 addition & 1 deletion app/assets/javascripts/map/views/LayersNavView.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ define(
render: function() {
this.$el.html('').append(
this.template({
staging: window.gfw.config.RAILS_ENV !== 'production'
staging: window.gfw.config.FEATURE_ENV !== 'production'
})
);
this.cache();
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/map/views/LegendView.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ define(
startYear: options.startYear,
layerTitle: layer.title,
layerSlug: layer.slug,
staging: window.gfw.config.RAILS_ENV !== 'production'
staging: window.gfw.config.FEATURE_ENV !== 'production'
},
subLayers
)
Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/global/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ h1,h2 {
-ms-user-select: none;
user-select: none;
}

#react-header {
height: 55px;
}
2 changes: 2 additions & 0 deletions app/assets/stylesheets/modules/_section-new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ $aside-width: 270px;
svg {
display: block;
fill: $dark;
width: 20px;
height: 20px;
&.-inactive {
display: none;
}
Expand Down
7 changes: 0 additions & 7 deletions app/controllers/about_controller.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
class AboutController < ApplicationController
layout 'application_react'

def index
@title = 'About'
@desc = 'Global Forest Watch (GFW) is an online platform that provides data and tools for monitoring forests. By harnessing cutting-edge technology, GFW allows anyone to access near real-time information about where and how forests are changing around the world.'
@keywords = 'GFW, about, global forest watch, about gfw, history, staff, world resources institute, wri, about gfw commodities, about gfw fires'
end

end
Loading