[openstreetmap/openstreetmap-website] Add profile location (PR #5302)

David Tsiklauri notifications at github.com
Wed Apr 2 12:14:33 UTC 2025


@nertc commented on this pull request.



> @@ -0,0 +1,65 @@
+OSM.HomeLocationNameEndpoint = function Endpoint(latInput, lonInput, locationNameInput) {
+  const endpoint = {
+    dirty: false,

Property name `dirty` was inspired from Angular. It means that input was changed manually. But, in this case, this property has more specific role and, I agree with you, name like `autofill` is more relevant.

`dirty` was changed to `autofill`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5302#discussion_r2024699795
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5302/review/2736045662 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250402/218eaa4f/attachment.htm>


More information about the rails-dev mailing list