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

Alpha Checklist #170

Closed
37 tasks done
mapsam opened this issue Sep 12, 2015 · 15 comments
Closed
37 tasks done

Alpha Checklist #170

mapsam opened this issue Sep 12, 2015 · 15 comments

Comments

@mapsam
Copy link
Member

mapsam commented Sep 12, 2015

This issue is to keep track of Alpha progress and ensure that any existing functionality isn't lost in the rebuild of dropchop in the alpha branch.

Currently existing functionality:

  • selecting layers updates selection
  • change map base tiles
  • load from local files
  • load from url
  • load from gist
  • UI selection/unselection for multiple layers (not super tied to this right now)
  • open forms with parameters
  • execute turf operations
  • add new layers into map after turf operation
  • save as geojson
  • save as shapefile
  • completely remove layers
  • tests written/re-written
  • maintain smooth deployment process
  • notifications
  • load gist/external source from url parameters ?gist=XXXXXXXX
  • click on features and view attributes

Features for alpha release:

Nice-to-haves

@mapsam
Copy link
Member Author

mapsam commented Sep 12, 2015

Things are coming along nicely! Some current thoughts that I shared with @alukach over slack:

  • The move to jQuery pub/sub (with .toggle() and .on() has been quite helpful - it keeps everything that’s happening in the proper file, instead of losing track of things in the controller. Subscriptions happen where their functions exist, publishings happen from where actions are taken
  • Decoupling Dropchop from Leaflet makes things a bit more straightforward - I think the only leaflet utility we are using right now is L.stamp(), which is great for tying our layers object to every other representation of layers (i.e. in the map, sidebar, selection, etc.)
  • I'll plan on implementing the above features throughout today and tomorrow, with tests & debugging coming later this and next week

Current status view:

dropchop-alpha-update1

mapsam added a commit that referenced this issue Sep 12, 2015
@mapsam
Copy link
Member Author

mapsam commented Sep 12, 2015

Save as geojson:

dropchop-save-geojson

Seems kind of absurd to have all of those files download separately - we could possibly zip up downloads that are larger than one file?

mapsam added a commit that referenced this issue Sep 12, 2015
mapsam added a commit that referenced this issue Sep 12, 2015
mapsam added a commit that referenced this issue Sep 12, 2015
mapsam added a commit that referenced this issue Sep 12, 2015
@mapsam
Copy link
Member Author

mapsam commented Sep 12, 2015

Adding an about page:

screen shot 2015-09-12 at 4 51 44 pm

@mapsam
Copy link
Member Author

mapsam commented Sep 13, 2015

View extent & load from gist/url are back on track!

dropchop-extent

Re-used much of the code for url/gist loading from @alukach - the big difference here is including the execution/get request/callback all within the ops.file.dropchop.js file, rather than separating them.

dropchop-gist-load

@mapsam mapsam mentioned this issue Sep 13, 2015
@mapsam
Copy link
Member Author

mapsam commented Sep 13, 2015

Toggle all layers is now a feature!

dropchop-toggle-all

mapsam added a commit that referenced this issue Sep 13, 2015
@mapsam
Copy link
Member Author

mapsam commented Sep 13, 2015

Loading data from the url is back

dropchop-loadurlparams

mapsam added a commit that referenced this issue Sep 13, 2015
@mapsam
Copy link
Member Author

mapsam commented Sep 13, 2015

Building in a switch/radio button parameter that allows you to specify which layer you want to be added first. This is important for turf operations that require one type of geometry first, followed by a different one. The example below is for turf-within:

dropchop-orderisimportant

@mapsam
Copy link
Member Author

mapsam commented Sep 13, 2015

New layers have a .layer-new class on them for 3000 ms for visual effect:

dropchop-newlayercolor

mapsam added a commit that referenced this issue Sep 14, 2015
@mapsam
Copy link
Member Author

mapsam commented Sep 14, 2015

duplicate layer

dropchop-duplicatelayer

@mapsam
Copy link
Member Author

mapsam commented Sep 14, 2015

Expand FeatureCollection into multiple features and compress features into a single FeatureCollection

dropchop-expandcompress

@mapsam
Copy link
Member Author

mapsam commented Sep 15, 2015

Adding icons for geometry types and an "example data" link that is loaded with ?gist=XXXXXXXX

dropchop-exampledata

mapsam added a commit that referenced this issue Sep 16, 2015
@mapsam
Copy link
Member Author

mapsam commented Sep 16, 2015

rename layers:

dropchop-rename

@mapsam
Copy link
Member Author

mapsam commented Sep 27, 2015

Popups that contain a table of all properties:

screen shot 2015-09-26 at 10 42 20 pm

@mapsam
Copy link
Member Author

mapsam commented Oct 9, 2015

Alright, other than adding in @jonahadkins's "my location" feature, I'm calling the new features complete on the alpha repo! Time to finish up writing the tests and smooth out deployment with codeship.io. Feeling almost ready for the NACIS release!

💃

@mapsam mapsam closed this as completed Oct 9, 2015
@mapsam mapsam reopened this Oct 9, 2015
@mapsam
Copy link
Member Author

mapsam commented Oct 9, 2015

Woops.

@mapsam mapsam mentioned this issue Oct 9, 2015
@mapsam mapsam closed this as completed Oct 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant