Commit Graph

2099 Commits

Author SHA1 Message Date
Bryan Housel 91add0c33e WIP on buttons, simplify, remove some event dispatch
- I made the buttons work like GitHub comment-on-issue buttons
before typing:  "Close Note" / "Comment" (disabled)
after typing:   "Close and Comment" / "Comment" (enabled)

- I removed a bunch of the event dispatches.  These are useful for sending
events to listeners/observers outside of the module.  In this case I think
we can handle most of the things from within the uiNoteEditor.  We can still
dispatch an 'update' event so that modeSelectNote can reselect and redraw
the note after some change happens to it.

TODO - make the buttons work / check the OSM API stuff.
2018-07-11 23:10:01 -04:00
Bryan Housel 3454753bf6 Drop more/less toggle and just use a scrollbar for long comments 2018-07-11 16:00:54 -04:00
Bryan Housel e9e2f9ba8f Style note header 2018-07-11 15:41:43 -04:00
Thomas Hervey 14356cefe2 WIP: toggle note status 2018-07-08 12:50:02 -05:00
Bryan Housel d137aa0046 Add "More/Less" toggle for too long comments (curr limit 600 chars) 2018-07-07 00:25:42 -04:00
Thomas Hervey 61ae541cfc updated: notes save buttons 2018-07-03 10:57:53 -04:00
Thomas Hervey b4c6607384 merged from remote 2018-07-03 10:49:36 -04:00
Bryan Housel 68a3e6e69a npm run build 2018-07-03 09:15:22 -04:00
Tobias 095ae133c4 Add capacity to playground:swing-preset
The capacity defines if there is one swing on the object or more. A lot of playgrounds have one structure with two swings on it.
2018-07-03 14:00:36 +02:00
Thomas Hervey 86dc0c9012 updated: new comments in notes sidebar ui 2018-07-02 15:51:55 -04:00
Bryan Housel a474e3bb9f Working on note editor style and ui, simplify d3 code 2018-07-02 12:35:07 -04:00
Bryan Housel 9517635d4d Merge branch 'master' into notes 2018-06-29 21:54:24 -04:00
Thomas Hervey 737ccfcfba updated: siebar displays note details on hover (via svg) 2018-06-29 14:43:01 -04:00
Bryan Housel 53a00c0f6c npm run imagery 2018-06-28 18:54:44 -04:00
Bryan Housel bc01939b93 Actually throttle connection, filter out bad term translations
The bad term translations are where a person translated the instructions:
"<translate with synonyms or related terms for..."
2018-06-25 19:33:36 -04:00
Bryan Housel c9e9135900 npm run build to update retaining wall height field 2018-06-25 15:41:52 -04:00
Tobias 7ff178b675 Add attribute height to tag for retaining_wall
Same as for hedge https://github.com/openstreetmap/iD/blob/mast/data/presets/presets/barrier/hedge.json
2018-06-25 20:48:41 +02:00
Bryan Housel 048ea07025 npm run imagery 2018-06-25 12:12:27 -04:00
Bryan Housel 6a79f2692b Blacklist more worldwide imagery sources that are generated from osm 2018-06-25 12:12:27 -04:00
Bryan Housel 112ef76426 Add preset for emergency=lifeguard
(closes #4918)
2018-06-24 13:41:00 -04:00
Bryan Housel ec6ab6e65d Add preset for emergency=fire_alarm_box 2018-06-24 12:58:19 -04:00
Bryan Housel 9f7e55b27d Add height, name fields to natural=cliff, improve search terms
(closes #5095)
2018-06-24 12:20:45 -04:00
Bryan Housel b1252d43ff Add booth field to telephone presets
(closes #5088)
2018-06-24 12:11:56 -04:00
Bryan Housel a5b8e4b8bd Rename from emergency=first_aid to emergency=first_aid_kit
re: https://github.com/osmlab/osm-tagging/issues/7
re: #5097
2018-06-23 22:03:05 -04:00
Bryan Housel c5a21724c0 Add "road" and "street" as search terms for all road presets
(closes #5103)
2018-06-23 00:47:45 -04:00
Bryan Housel 917c6dd6fc Add hires checkbox to toggle 512 and 1024 resolutions
Also added code to calculate quadkey maps for:
- 2048 (works but is pretty slow and not that better than 1024)
- 4096 (doesn't work)
2018-06-22 23:07:07 -04:00
Bryan Housel 2786974210 Add preset for emergency=siren
(closes #5100)
2018-06-21 12:27:58 -04:00
Thomas Hervey db0fe7e539 merged from master 2018-06-21 11:06:57 -04:00
Bryan Housel 716a3f7a01 Add a preset for emergency=first_aid
(closes #5097)
2018-06-20 13:56:50 -04:00
Bryan Housel 7d67816521 Add indoor and ref fields to emergency=phone 2018-06-20 13:40:21 -04:00
Thomas Hervey 1ed915e69c added: map data notes toggle 2018-06-19 10:31:26 -04:00
vershwal 1b16d4763e Added name field to motorway_junction 2018-06-19 16:46:20 +05:30
Bryan Housel 723155eadf Add building and bench fields to amenity=shelter preset
(closes #5084)

This also removes the rules that would treat `amenity=shelter` as
a building for rendering and for feature filtering.
2018-06-18 13:45:39 -04:00
Bryan Housel 20ee616cdf Blacklist a few more raster tilesets (osmbe and turistautak) 2018-06-15 12:41:01 -04:00
Bryan Housel 440b01a6ca Use json-stringify-pretty-compact for compacter json
(this reduces a few file sizes and will make for better github diffs)
2018-06-15 11:48:07 -04:00
Bryan Housel 937dc31af0 Add OSM French Style and OSM HOT Style to imagery blacklist 2018-06-15 10:26:17 -04:00
Bryan Housel 5fcd6daaba Update preset readme to mention that some icons use iD's spritesheet 2018-06-15 09:45:35 -04:00
Bryan Housel 35244bed19 npm run imagery 2018-06-14 08:13:11 -04:00
Bryan Housel 4d4e119a03 The product info seems to prefer "Streetside" over "StreetSide" 2018-06-14 01:17:20 -04:00
Bryan Housel 8a8e027910 Fix boundary=administrative icon 2018-06-14 00:13:00 -04:00
Bryan Housel 2dd0d9d36b Add Bing StreetSide to imagery_used if layer enabled 2018-06-13 18:17:51 -04:00
Bryan Housel 70c2a1777a Put "Bing" in the name 2018-06-13 13:54:38 -04:00
Bryan Housel d24790f17a Merge branch 'master' into jharpster-streetside 2018-06-11 23:51:23 -04:00
Bryan Housel d907dbbfc3 Change icon for gas pump from generic vending machine to maki-fuel 2018-06-11 15:07:22 -04:00
Bryan Housel e596d0d553 Fix maki-basketball icon 2018-06-11 15:01:22 -04:00
Bryan Housel 03f1ca7ef3 Fix buffer_stop icon 2018-06-11 14:55:02 -04:00
Bryan Housel 118d459e3c Add icon for craft=key_cutter 2018-06-11 14:46:27 -04:00
Bryan Housel 1228c0c744 Add icon for man_made=cutline 2018-06-11 14:43:13 -04:00
Bryan Housel 59312a1756 Add icon for leisure=sauna 2018-06-11 14:37:30 -04:00
Bryan Housel 08be8f1ef0 Add icon for amenity=taxi 2018-06-11 14:29:00 -04:00