Open sagarpreet-chadha opened 5 years ago
@sagarpreet-chadha , I think this issue has a few more points in this regard https://github.com/publiclab/leaflet-environmental-layers/issues/134. After feedback from @sashadev-sky and @jywarren , we can come up with a list of features and changes that can be implemented during the summer :)
Agreed @ananyaarun 😄 ! Congratulations on getting selected for Outreachy 🎉 . Actually i wanted to discuss here some of those points from #134 (i kind of aggregated some of those issues here) . I would love to discuss with you here , you can mention some details from your proposal here as well . Thanks 🎈
Thanks @sagarpreet-chadha :smiley: !!
This can serve as the planning issue for the outreachy project. According to me the goals of this project can broadly be classified into these issues/improvements
1) Layer display and UI based issues
2) Standardizing Layer code
3) Documentation
4) Testing
We can use the next few days to finalize the goals , and I'll look through the previous issues in this regard and my proposal to get more clarity of what can be done and keep updating this list :) .
Awesome !!!
Hi @sagarpreet-chadha Im sorry i'm a little behind with this repository but I am planning on catching up this week! My first question is what does LBLD stand for? I can't find a reference to that acronym
Hi @sashadev-sky , no problem . LBLD is another project in Public Lab : https://github.com/publiclab/leaflet-blurred-location-display . Thanks :+1: !
Hi, all! This is great. I wanted to chime in with some ideas! One is, that we could generally follow a MVC model/viewer/controller approach, although it wouldn't map perfectly... so, maybe a variant of this idea. @Rishabh570 has been working on MVC for https://github.com/publiclab/community-toolbox, and may have some useful input to help you guide your code structure, as might @IshaGupta18 and @namangupta01 who are architecting a new CSV graphing library at https://github.com/publiclab/simple-data-grapher/. @sidntrivedi012 will also be creating a new library for the Spectral Workbench Capture project and may want to listen in.
The categories could be:
layer.show()
layer.hide()
layer.isVisible()
layer.isInRect(lat1, lon1, lat2, lon2)
I'm thinking maybe a diagram could help with all this, sort of like in the README for https://github.com/publiclab/image-sequencer/
This is my attempt, although it's really not good! Quite messy and conceptually a bit... confusing.
Maybe some of you want to give it a try yourself? Just make a copy of the diagram and try your own. @sidntrivedi012 @IshaGupta18 @namangupta01 feel free to make your own although some of you already have (feel free to link to your proposals!)
OK, this is a lot of ideas. I'd love to see what direction you go with them!
Here are a few ideas on the different "menus" for choosing what layers to show:
I've made a few more variations as well. I think planning to offer a few different ways to use layers could be powerful. They could be instances of the Leaflet.Control
class, maybe? And, perhaps the planning of these menu types and the design could be broken into its own issue!
Thank you so much @jywarren !! . Those are some really good points to take note of. :smiley:
Also @sagarpreet-chadha , shall i open a new issue for outreachy project planning after taking points from this discussion , as i cannot edit the present checklist ?
Yes please go ahead :)
Hi, all! I wanted to introduce @rarrunategu1, who's starting some work with us at the Providence office, and who I was hoping could pitch in on a few issues as well. While the architecture and structure of the library progresses, I was hoping @rarrunategu1 could try working up a static HTML mockup of the new "table" menu in this comment above, and putting it into a folder like /templates/
for later use. Shall we open up a new issue for that specific menu type?
Hi @rarrunategu1 :smile: , Welcome to the community :)
The current architecture is that we have one file for each Layer which is working fine but seems not very scalable as there is redundancy of code in each layer file .
Let's brainstorm here on how to improve this ? I would like to have ideas from everyone especially @sashadev-sky and @jywarren and @ananyaarun 😄 .
To Do's :
[ ] Write Tests (High priority) --- Should we continue with
Jasmine
or shift to another testing framework .[ ] We have to soon integrate LBLD to plots2 . I think we should not merge any of our Leaflet projects and keep them independent as it becomes easy to track bug if any . Let's integrate LBLD directly to plots2 and mapknitter AND not via LEL , makes sense ? What do you all think ?
[ ] Brainstorm on standardizing Layer code .
[ ] Write a detailed documentation for first timers to add new layers easily . Then let's create first timer issues of currently opened issues .
What more ?