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

Outreachy Project Recap: summary, planning & discussion #7432

Closed
crisner opened this issue Feb 4, 2020 · 35 comments
Closed

Outreachy Project Recap: summary, planning & discussion #7432

crisner opened this issue Feb 4, 2020 · 35 comments
Assignees
Labels

Comments

@crisner
Copy link
Contributor

crisner commented Feb 4, 2020

Completed tasks

Plots2

Update 'new post' location form:

Project: Redesign of location popup modal

Testing:

PL.Editor

LBL

LBLD

  • Fix google api test errors in LBLD PR#95

LEL

Embed

  • Work on embed feature PR#296
  • Make domain name as a settable option defaulting to the gh-pages PR#307

New Layers Menu

  • Replace leaflet layer control in the demo with the layers browser menu from the mockup in #232 PR#320
  • Display new layers menu when instantiating LEL with one liner code #347 PR#353
  • Add media queries for layers menu for screen size 235x300 PR#378
  • Collect layer metadata PR#317
  • Collect urls for "requests" from layers if they are open to community submissions #138 PR#317
  • Implement the report functionality on the layers browser menu for layers that accept reports like OdorLog PR#320
  • Add a contribute button to osm #337 PR#345
  • Track the bounding box of each layer, and display only those which intersect with current view #117 PR#320
  • Make layers without bounds to display in all views instead of using hardcoded bounds #117 PR#332

New layer alert

  • Display "new items" mark in Layers menu when you enter an area with a new layer #133 PR#341

Minimal mode

  • Implement minimal mode as discussed in issue #123. PR#356
  • Show a button to toggle between default mode and minimal mode. PR#356

Search feature

  • Search not open by default but behind a magnifying glass icon that pops open PR#326
  • Implement a search functionality to search for a location to re-center upon with a search button and autocomplete geocoder(discussed in #134) PR#326

Layer changes

  • Implement changes in fractracker_mobile layer #87) PR#330
  • Include Unearthing layer to the demo page PR#352
  • Get PLpeopleLayer working in LEL PR#361

Example/demo pages

  • Display notice on top of map in the demo page PR#309
  • Clone demo page to embed.html so that only the embed.html shows the notice and points to the demo page in its embed code PR#311
  • Add demo with multiple maps in a single page PR#356

LEL basic usage changes

  • Fix active base layer selection PR#300
  • Add 'display' parameter to show specific layers in LEL PR#353
  • Other new options/parameters include baseLayers, simpleLayerControl, addLayersToMap, and hostname.

Documentation

  • Make layer names listing in README and layers hash strings consistent PR#315
  • Write documentation for new layer menu control PR#343

Testing

  • Write tests for embed control PR#314
  • Write tests for layer browser PR#329
  • Write tests for minimal dots view PR#356
  • Write tests for oneliner/basic implementation PR#397

Refactor/clean up

  • Reformat/clean up code PR#303
@crisner
Copy link
Contributor Author

crisner commented Feb 4, 2020

Bugs Fixed

Plots2

LBL

LEL

Tasks posted for FTO/GCI

@crisner
Copy link
Contributor Author

crisner commented Feb 4, 2020

Tasks left

Remaining tasks from the checklist here #6887 (comment)

  • Write UI tests
  • Display optional legends for each layer #103
  • Stop displaying spinners if a layer fails to load for 10 seconds (issue #290)
  • Zoom in on map based on user location using geolocation.(wonder if this is useful as maps are displayed based on location entered by the user in plots2.) ❔
  • Implement a help functionality
    • Display option for users to file bug reports with the button directing users to a bug issue template
    • Option to request new layer that directs to an issue template. -> Layer submission process, per-layer metadata #135
    • An option to display information about the different elements in the map's UI(may be helpful to new users) may be as a modal or a simple faq or as walkthrough tooltips that can be skipped.
  • Implement a features menu that can toggle other elements in the map's interface individually(except layers menu) from view.(Not sure about the usefulness of this functionality other than having 'simple' and personalized interface but just putting out here as this seemed like a good idea at the time)
  • Create a function to make adding layers easier already in progress elsewhere as mentioned in #276
    • Reduce redundant layer code. A member is working on a plugin that helps avoid repetitive code when adding new layers which is mentioned in #276. We could try to use this.
  • Standard methods for each layer like layer.show() layer.hide() layer.isVisible() #251
  • Create a layer name aggregator function #253
  • Create an option to toggle overlapping marker spiderfier feature for individual layers

Plots2

Remaining tasks from #6801 and #6993

  • Project: Get notes, wikis and people showing on /map/ Fix map errors with new LEL 2.2.1 #7545
    • Use LEL PLpeople layer in /people/ map
    • Use LEL PLpeople layer in inline maps
  • get popups showing title, link for each wiki, note, and question - on all maps, redesign popups
  • add "Places" or "Regions" (/map) to the navbar - done elsewhere
  • make “#” link in grey appear on wiki page popups that show /map/SLUG permalinks
  • add a “Add to map +” button on /map/… pages to add a note, question or wiki at that location (go to a selection page between these options, at /post/choose?tags=lat:10,lon:10 -- preserving params!)
  • research why PLpeople layer is so slow to load markers Research why loading nearbyPeople Srch API is so slow to load #7556

@crisner
Copy link
Contributor Author

crisner commented Feb 4, 2020

Tasks awaiting review/feedback

  • Edit documentation in README for more clarity #354 PR#367
  • Fix duplication of jquery script tags PR#373
  • Refactor code in layers to replace jQuery with XHR PR#383
  • Sidebar is interfering with full-width inline maps PR#7425
  • Out of extents layers are not removed from the map when hash is set to false #379 PR#380

Tasks in progress

plots2

  • get popups showing title, link for each wiki, note, and question - on all maps, redesign popups
  • make “#” link in grey appear on wiki page popups that show /map/SLUG permalinks
  • add a “Add to map +” button on /map/… pages to add a note, question or wiki at that location (go to a selection page between these options, at /post/choose?tags=lat:10,lon:10 -- preserving params!)

LEL

  • Add people layer explanation in browser menu
  • Fix inline map baselayer not showing correctly #376
  • Combine layer metadata into a single file #371

@crisner
Copy link
Contributor Author

crisner commented Feb 4, 2020

Tasks to finish up the completed tasks

We may need to prioritize these over the others

Plots2

  • Check media queries for layers menu on the LEL instances
  • Testing - Tests for multiple inline maps - [Priority: high]

LEL

  • Fix inline map baselayer not showing correctly Default baselayer not loading properly on inline maps leaflet-environmental-layers#376 in progress - [Priority: high]

  • New Layers Menu - [Priority: high] Combine layer metadata into a single file Combine layer metadata into a single file leaflet-environmental-layers#371 (in progress)

  • New layer alert - [Priority: low] It only displays the number of new layers now. Should we also highlight them when the user expands the layers menu similar to the image below?
    image

  • Search Feature - [Priority: high] - We have the search feature only in the demo file. It needs to be included in the one-liner LEL basic usage code. There is an open PR on an FTO for the same awaiting review/feedback.

  • Documentation - [Priority: high]

    • Reordered and edited existing readme file awaiting review/feedback
    • Combining json files in progress
    • Linking sections of the layer details from json to the layer name in the readme file not started
  • Testing - [Priority: high]

    • Tests need to be added to the one liner implementation #397
    • Tests may be needed for custom implementation in demo file
    • Tests need to added for layers that don't have them

@crisner
Copy link
Contributor Author

crisner commented Feb 4, 2020

@nstjean, I have narrowed down some tasks here #7432 (comment) and marked high priority so that we can focus on completing them first. For tests in LEL I think we should prioritize testing for the one-liner code first. What do you think? Any other tasks that need to be under this list especially in plots2?

@crisner
Copy link
Contributor Author

crisner commented Feb 4, 2020

New layer alert - [Priority: low] It only displays the number of new layers now. Should we also highlight them when the user expands the layers menu similar to the image below?

Moved the low priority task from here to here publiclab/leaflet-environmental-layers#334.

@nstjean
Copy link
Contributor

nstjean commented Feb 4, 2020

Yes I agree, I think testing for the one liner code first would be good because that's pretty much what we are using in plots2 - or will be using shortly. I'll go through it all and see if anything needs to be added to the high priority list.

@nstjean
Copy link
Contributor

nstjean commented Feb 4, 2020

I have updated the Plots2 list above for what's left to do for this project.

@cesswairimu
Copy link
Collaborator

Awesome 🚀

@crisner
Copy link
Contributor Author

crisner commented Feb 7, 2020

cc: @sagarpreet-chadha

@sagarpreet-chadha
Copy link
Contributor

Just Wowoww :)

@nstjean
Copy link
Contributor

nstjean commented Feb 13, 2020

I finally got the tests done! This is so exciting. 😆 publiclab/leaflet-environmental-layers#397 - ready for review

I had to fix a bug with the initialized param values: publiclab/leaflet-environmental-layers#396 (merged)

I also did a little clean-up while I was in there: publiclab/leaflet-environmental-layers#401 - ready for review

Now all I need is for LEL to be bumped so I can finish in plots2. Here's the drafted release:
https://github.com/publiclab/leaflet-environmental-layers/releases/tag/2.2.1

@crisner
Copy link
Contributor Author

crisner commented Feb 14, 2020

Other tasks in the priority list as discussed here publiclab/leaflet-environmental-layers#399 (comment) [Awaiting feedback]

  1. Once a layer is added to the map let the layer be visible both on the map and the layer menu but keep the layer from requesting data if the map is not intersecting with the layer's extents. [Priority: high]

  2. The layers that are not displayed on the map will be filtered from the layer menu. We could add a feature that lets the user decide if they want to keep the layers filtered or if they want everything to be listed. [**Priority:**low]

  3. We have an alert that notifies users of new layers available. We may have to highlight the new layers as well so the users can locate the new layers easily. [Priority: mid]

@crisner
Copy link
Contributor Author

crisner commented Feb 14, 2020

Tests for the demo page ready for review: publiclab/leaflet-environmental-layers#400

@crisner
Copy link
Contributor Author

crisner commented Feb 18, 2020

Update

These tasks that were awaiting feedback or in progress in #7432 (comment) have been completed/merged

@crisner
Copy link
Contributor Author

crisner commented Feb 21, 2020

Adding this here to include to the list of priority tasks.

  • Show a "didn't load" broken icon next to a layer if it fails to fetch data #410

@crisner
Copy link
Contributor Author

crisner commented Feb 21, 2020

PRs ready for review/merge:

  • Combine layer metadata into a single file PR#385
  • Improve test timings in current cypress tests PR#412
  • Improve layer menu's filtering and layer displaying features PR#409
  • Write tests for eonet fires layer PR#407

cc: @sagarpreet-chadha, @cesswairimu

@nstjean
Copy link
Contributor

nstjean commented Feb 21, 2020

PR Ready for review/merge: #7545
@cesswairimu @SidharthBansal

@sagarpreet-chadha
Copy link
Contributor

Hey, i have reviewed the above PR's :)

@crisner , can you point me to the PR where you have integrated the cypress. Thanks!!!
Just a heads up -> I am planning to work on integrating Cucumber tests to cypress soon. This will make LEL more awesome 😄

@crisner
Copy link
Contributor Author

crisner commented Feb 22, 2020

Thanks!!

Just a heads up -> I am planning to work on integrating Cucumber tests to cypress soon. This will make LEL more awesome

Awesome! Can't wait! 🎉 😄

can you point me to the PR where you have integrated the cypress.

This is the PR where I set up Cypress #400 and this is the PR where I set cypress up with Travis CI #403

@nstjean
Copy link
Contributor

nstjean commented Feb 25, 2020

PR ready for review/merge in LBLD: publiclab/leaflet-blurred-location-display#96

PR ready for review/merge in LEL: publiclab/leaflet-environmental-layers#401

@cesswairimu @sagarpreet-chadha @SidharthBansal

@sagarpreet-chadha
Copy link
Contributor

I will review today. Thanks

@crisner
Copy link
Contributor Author

crisner commented Feb 28, 2020

PR#417 and PR#419 ready for review and feedback.

@crisner
Copy link
Contributor Author

crisner commented Feb 28, 2020

PR#426 ready for feedback and review.

@nstjean
Copy link
Contributor

nstjean commented Mar 2, 2020

PR publiclab/leaflet-environmental-layers#430 ready for feedback and review

PR #7562 is erroring in travis and I'm not sure why.

@nstjean
Copy link
Contributor

nstjean commented Mar 2, 2020

I do need this PR publiclab/leaflet-blurred-location-display#96 in LBLD do get merged and a new version published in NPM.

@crisner
Copy link
Contributor Author

crisner commented Mar 3, 2020

The following PRs are ready for review/feedback:
#438
#432
#436
#434
#428
#424

@crisner
Copy link
Contributor Author

crisner commented Mar 3, 2020

I have added tests for all layers other than those that use tiles.

@jywarren
Copy link
Member

jywarren commented Mar 3, 2020

This is some incredibly epic work!!!! Congratulations to you both and many thanks! I am going through these today. This is so awesome!!!

@jywarren
Copy link
Member

jywarren commented Mar 3, 2020

Going through last batch of @crisner's PRs now! Thanks!

@jywarren
Copy link
Member

jywarren commented Mar 3, 2020

OK, leaving needs-rebase label on some PRs, but looking fantastic. Thanks!!! https://github.com/publiclab/leaflet-environmental-layers/labels/needs-rebase

Please leave the label on OR add a new ready-to-merge label. Or merge them yourself if you can, they all look good to me!!!

@jywarren
Copy link
Member

jywarren commented Mar 3, 2020

And just a clarification on publiclab/leaflet-environmental-layers#424 but it seems OK to me as-is!

@jywarren
Copy link
Member

jywarren commented Mar 3, 2020

And just looking now to see where any remaining plots2 PRs or issues are, so we can get the /map/ and /map/____ pages running! Sorry for lots of chatter today, it's my first day back!

I see #7545 -- very awesome!!!

@jywarren
Copy link
Member

jywarren commented Sep 8, 2020

Closing this up! Thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants