-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
EXTERNAL DEPENDENCY: Database setup in CartoDB account shaunanoordin-zooniverse
EXTERNAL DEPENDENCY: Database setup in CartoDB account shaunanoordin-zooniverse
CartoDB query now loads immediately on first loading the Map Explorer.
This improves functionality and addresses bugs where certain input events wouldn't trigger.
…more. Next: actually implement selector UI controls.
…/wildcam-gorongosa-education into cartodb-sql-selectors
"mapVisualisationUrl": "https://shaunanoordin-zooniverse.cartodb.com/api/v2/viz/e04c2e20-a8a9-11e5-8d6b-0e674067d321/viz.json", | ||
"dataTable": "wildcam_gorongosa_cameras_201601", | ||
"dataLayerIndex": 1 | ||
"mapExplorer": { |
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.
I reckon we should break this out into a separate json file, it's getting pretty big
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.
I can extract the mapExplorer.species into a separate... let's say... selectorOptions.json file, since filter options like 'species' will only grow as the project evolves, yes, separating it from config.json makes sense. However, at that stage, I wonder if it'd make more sense to extract all Map-related configs and constants (including mapExplorer.cartoDB, mapExplorer.baseLayers, mapExplorer.mapCentre, and the ever-growing list of filter options) into a component-centric logical unit called mapExplorer.config.json. Functionally the same, just a team coding style issue - thoughts?
So the code itself is fine, but there seems to be a few, monolithic components that do both data and UI. Can you refactor towards a more container / presentational model in a future PR? Also, it's still using |
Sorry about the mess; I'm still exploring the best ways to organise (file & class-wise) the various subcomponents of the Map Explorer. (As the SelectorData data class in SelectorPanel.jsx attests to.) The |
Bing! Update. Code cleaned up to remove use of To future Shaun: when switching from React.createClass to proper ES6 classes, never forget to change... |
Use new OAuth module from PJC
Affirmative on that Simone, thanks. Explicit bindings will be moved into the constructor, but on the successor branch I'm working on. Is there anything else for this PR? |
I'm in the middle of a (long) rebase. I'll finish testing this PR after that and merge if I get no problems, if you're happy with that. |
Sounds good to me! 👍 |
EXTERNAL DEPENDENCY: Database setup in CartoDB account shaunanoordin-zooniverse
CartoDB query now loads immediately on first loading the Map Explorer.
This improves functionality and addresses bugs where certain input events wouldn't trigger.
…more. Next: actually implement selector UI controls.
…/wildcam-gorongosa-education into cartodb-sql-selectors
Previous issue: Concerns raised that branch was too far behind master.
Issue: I am now not sure if this PR is safe to merge Due to the large number of new deltas that I didn't personally create, I can no longer be sure that the stability of master will be maintained One Option:
|
This has been superseded by #49. |
Updated: CartoDB Selector Panels
@simoneduca , @rogerhutchings , this PR is ready for review.