-
Notifications
You must be signed in to change notification settings - Fork 91
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
Feature/recent imagery bug and improvements #3341
Feature/recent imagery bug and improvements #3341
Conversation
…-bug-and-improvements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a few comments. GREAT WORK DUDE 🍡
mps.publish('Layer/update', [name]); | ||
}, | ||
|
||
setSentinel: function(value) { | ||
setRecentImagery: function(value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are the real hero
@@ -15,7 +15,16 @@ import closeIcon from 'assets/icons/close.svg'; | |||
import RecentImageryDrag from './recent-imagery-settings-drag'; | |||
import './recent-imagery-settings-styles.scss'; | |||
|
|||
const CAROUSEL_SLIDES_TO_SHOW = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this go in the reducer to keep things tidy?
@@ -19,6 +19,7 @@ import RecentImageryDrag from './recent-imagery-drag'; | |||
import RecentImageryComponent from './recent-imagery-component'; | |||
|
|||
const LAYER_SLUG = 'sentinel_tiles'; | |||
const MIN_ZOOM = 8; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again both of these could go in the reducer? Might make things easier later on if we move maps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge away ma dude, for it is Wednesday!
Overview
This PR solve some bugs and improvements. You can get information about them in my commits description.