gribnoysup / react-yandex-maps

Yandex Maps API bindings for React
MIT License
327 stars 116 forks source link

[v3.0.0] Documentation: GeoObjects, Controls #75

Closed gribnoysup closed 5 years ago

gribnoysup commented 6 years ago

v3.0.0 in the next branch is getting close to release. One of the finishing steps is:

GeoObjects (taken by @mmarkelov) (done! 🎉)

Controls

If you want to help with documenting them, please mention which one you want to take 🙏

mmarkelov commented 6 years ago

@gribnoysup I'll take Placemark to start

gribnoysup commented 6 years ago

@mmarkelov if you have any issues or questions about how to approach this, don't hesitate to open a [WIP] PR and we can discuss, or just ask here 👍

mmarkelov commented 6 years ago

I will also take Polyline

mmarkelov commented 6 years ago

I'll take all GeoObjects

gribnoysup commented 6 years ago

@mmarkelov If you want to, I can give you collaborator access to the repo, so you don't need to maintain your fork and merge it with upstream all the time. Again, if you want to, for which account you would prefer to get this?

mmarkelov commented 6 years ago

@gribnoysup It will be great! You can give it to mmarkelov account! Thanks!

mmarkelov commented 6 years ago

I'll also take first 5 of Controls

gribnoysup commented 6 years ago

Taking the rest of Controls 👌

mmarkelov commented 5 years ago

@gribnoysup I got lots of errors with current next brunch. I suppose something wrong with react-live. Here is log

gribnoysup commented 5 years ago

@mmarkelov it seems that those are mostly warnings, and some of them are expected, for example, isOpen on DOM element and lineHeight on DOM element. This is caused by rebass passing some style-specific component props directly to the DOM nodes. But there is quite a lot of errors that I don't see locally or on the deployed build (as they are just warnings, deployed version doesn't show warnings in production mode). Can you push your changes in a separate branch so I can check what could be wrong there?

mmarkelov commented 5 years ago

@gribnoysup I just pull current next branch and launch yarn run dev. Now I think that something maybe wrong with styles - cause I just haven't got map here

mmarkelov commented 5 years ago

@gribnoysup I think something is wrong https://github.com/gribnoysup/react-yandex-maps/blob/1eb1c8ccc55ddbeb2fb76627305ebf26a3a6ef77/docs/components/LiveEditor.js#L26 here

gribnoysup commented 5 years ago

@mmarkelov I think the issue is somewhere in the dependencies of the docs. I couldn't reproduce the issue before as I don't use yarn and package-lock handles locking of the dependencies in this project when npm is used. Yarn ignores package-lock file and some minor changes in dependencies are breaking the build, unfortunately. I installed yarn and reinstalled project dependencies with yarn and got exactly the same errors that you are getting. I reinstalled everything with npm again and all the issues disappeared. I'll try to figure out what dependency is causing the issue. In the meantime, it should be working for you, if you reinstall docs dependencies with npm 5+

mmarkelov commented 5 years ago

@gribnoysup thank you! I should do it myself. It was fine just a few commits ago. I hope it help, I’ll also try to find it myself. Thanks as always!

mmarkelov commented 5 years ago

@gribnoysup that is all fine with npm. Thanks!

gribnoysup commented 5 years ago

Yay, done and in the next branch #82 🎉