Closed steveone closed 6 years ago
No actual changes were made to the following files:
The changes shown are whitespace caused by debugging, I'm not sure how to remove those changes from being seen as changes by github.
Additional issue:
There is now two duplicated (createLabel and createButton) functions in
that can probably be moved to a utility file to avoid duplicate code.
@jkwening I hijacked "place_id" based on a "slack" conversation with @motosharpley. The idea is to automatically populate the places data as a future feature so maybe a rename to "Desc" should be held off or perhaps we should add a new "Desc" option to supplement the eventual "place_id"? I'm open to either.
Adding a new "desc" field is fine with me instead of replacing "place_id" but we definitely shouldn't mislabel the data we're storing. That's bound to cause confusion later on, especially for others who aren't as familiar with the code base. Just my two cents.
@jkwening, I will try to work on that tomorrow if not in the next few days. Thanks for the pointers to what areas will need updating
@jkwening I've updated the code to use a "desc" field instead of "place_id" for the user descriptions. The mongoose model and route code have been updated as well. It tested well on my side. Let me know if you have any other thoughts (I know I still need to fix the CSS)
Issue Number: 257
Issue Description:
Add delete functionality to frontend savedpins
Summary of solution:
Can this issue be closed?
Additional CSS work to prettify is needed but that can be in another issue if desired
Should any new issues be added as a result of this solution?
CSS work needed to prettify the input box on new markers and the description and delete button on the saved marker popups
Have you named your branch in a descriptive way? Remember to name your branch in a unique and descriptive manner in order to properly reflect the issue or feature.
Thanks for contributing!