andycochran / shareabouts-wp Goto Github PK
View Code? Open in Web Editor NEWShareabouts for WordPress (an online mapping tool for talking about places)
Shareabouts for WordPress (an online mapping tool for talking about places)
Introduce theme options (which could also handle marker styling)
The "sign in/up" modal should default to the "Create an account" form, as it's less likely folks will already have an account. And if they do, there's a big chance they're already signed in. So the "Sign in" form should be the less accessible of the two forms.
The place-submitter.js
scripts can probably be rolled into app.js
as it's localized with the same method.
Currently, the "Lost Password" link goes nowhere.
When pages are loaded with smoothState.load()
, the WordPress Admin Bar does not update. So links to e.g. "Edit Page" do not behave as expected.
The place form works when its page is loaded directly. But if you arrive at page-add_shareabouts_place.php
through a smoothState.load()
, the submit is not bound โ doesn't prevent the default form method.
When you leave a comment on single-shareabouts_place.php
(or page-map.php
), the comment works, but the URL changes to /wp-comments-post.php/
. Commenting on regular posts works fine.
The #place-submission-form
can be submitted with any text in the #place-submission-location
field. This breaks adding it to the map on success. This field is required
. However, making it readonly
or disabled
prevents it from triggering client-side validation. We should manually check if this field is a LatLng (array of 2 numbers) and prevent form submission if not.
Try adding display:none
with an error message: "Drag the map to your location."
^ This message is used in openplans/shareabouts for prevent users for submitting places without having dragged the map.
This also involves defining minZoom
, maxZoom
and attribution
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.