Commit Graph

8989 Commits

Author SHA1 Message Date
Thomas Hervey
2c22fe00a2 updated: hacky note hovering; todo: complete note click handling 2018-07-02 10:44:47 -04:00
Thomas Hervey
5b4dde0004 pulled updates from remote 2018-07-02 07:48:56 -04:00
Bryan Housel
13a30c050f Add some dots if there is a comment thread 2018-07-02 00:00:06 -04:00
Bryan Housel
65b2a42261 Adjust green 2018-07-01 23:39:42 -04:00
Bryan Housel
535208beb5 Move tests to spec/services/osm.js and remove old notes.js files 2018-07-01 23:35:10 -04:00
Bryan Housel
00c8ff4f69 Don't add notes to the _seenEntity cache
re: 229484a940 (commitcomment-29560519)
2018-07-01 22:50:28 -04:00
Thomas Hervey
fc4d800c69 updated: pull from remote 2018-07-01 16:30:32 -04:00
Thomas Hervey
9fc94f5d28 updated: Premium DigitalGlobe description 2018-07-01 16:28:24 -04:00
Bryan Housel
487ec9d837 Better spinner event management
re: https://github.com/openstreetmap/iD/pull/5107#issuecomment-401617938
2018-07-01 12:48:51 -04:00
Bryan Housel
f3d31f3075 Update css styles for notes
- open notes are red (default)
- resolved notes are green
- orange on hover
- yellow on select (also added centerEase to note location)
2018-06-30 10:44:28 -04:00
Bryan Housel
bcc1669716 Move note css from the photos.css into a new css file data.css 2018-06-30 10:05:11 -04:00
Thomas Hervey
dcef11459f updated: notes caching 2018-06-30 08:08:12 -04:00
Thomas Hervey
eba9bde337 updated: pull from remote 2018-06-30 08:06:46 -04:00
Bryan Housel
2f8efee26a Draw 2x icons (shadow and fill) so they stand out more 2018-06-30 03:47:03 -04:00
Bryan Housel
229484a940 Cleanup osm service notes and caches, remove state variable
This seems like a lot but the main things here are:
- remove the _loadingTiles "global" variable.  It was causing problems because
it was being checked from the callbacks, which are async.
- cleanup the caches
- use DOM API getElementsByTagName('id') to get note id
- set a lower tilezoom z13 for notes (meaning: fetch larger bounding boxes)
2018-06-30 03:46:42 -04:00
Thomas Hervey
1b06dbd8c9 delete: demo select file (unintentional commit) 2018-06-29 23:36:11 -04:00
Bryan Housel
ede561080d Add update method, remove getters..
This makes the osmNote work a bit more like other osm objects in iD.

- When working with the osm objects, we'll treat them as immutable.
  So all modifications will be through the update method:

  e.g. can do this in a repl, like chrome devtools console:
  >  n = iD.osmNote()
  osmNote { id: -1 }
  > n = n.update({ foo: 'bar' });
  osmNote { foo: "bar", id: -1, v: 1 }

- none of the other osm objects have getters, and in JavaScript all the
  properties are public anyway
2018-06-29 22:47:14 -04:00
Bryan Housel
fd1d2f006b Fix the osmNote initializer 2018-06-29 22:39:40 -04:00
Bryan Housel
d034691fb0 Merge remote-tracking branch 'origin/merge_notes_service' into notes 2018-06-29 22:11:39 -04:00
Bryan Housel
9517635d4d Merge branch 'master' into notes 2018-06-29 21:54:24 -04:00
Thomas Hervey
b3f7b06f66 merged: services/notes into /osm; todo: fix some caching & rendering 2018-06-29 20:01:30 -04:00
Bryan Housel
9ba517e7f1 Merge pull request #5116 from jgravois/patch-1
use 22 as maxZoom for Esri imagery (selectively)
2018-06-29 17:10:22 -04:00
Bryan Housel
21a7ed2b34 Add doublequotes to iD-sprite input file param so glob works on Windows
(closes #5077)
2018-06-29 20:19:22 +01:00
Thomas Hervey
737ccfcfba updated: siebar displays note details on hover (via svg) 2018-06-29 14:43:01 -04:00
Bryan Housel
f02630a8fc Restore rollup-plugin-includepaths dependency for finding d3
Apparently still needed to build the project on Windows
2018-06-29 19:32:50 +01:00
john gravois
50c371f77b continue to catch 404s 2018-06-29 09:57:52 -07:00
john gravois
dd951a9b35 use 22 as maxZoom for Esri imagery (selectively) 2018-06-29 09:20:05 -07:00
Bryan Housel
76d21c8293 stub test/spec/svg/gpx.js 2018-06-29 02:23:42 -04:00
Bryan Housel
d668f79407 Merge branch 'jgravois-tilemap' 2018-06-28 23:21:24 -04:00
Bryan Housel
b6fb3a345d Fetch Esri tilemap at high zoom to determine max zoom
The tilemap is only fetched if the user is at z > 18 and will not fetch again
unless the user has moved more than 1km away from the previous fetch
2018-06-28 23:20:08 -04:00
Bryan Housel
98e4fed829 v2.9.2 2018-06-28 19:02:06 -04:00
Bryan Housel
74e70f5949 npm run translations 2018-06-28 18:55:44 -04:00
Bryan Housel
53a00c0f6c npm run imagery 2018-06-28 18:54:44 -04:00
Bryan Housel
154a49b7cc Upgrade to eslint v5.0.0 2018-06-27 12:20:51 -04:00
Bryan Housel
9bb30221dd Remove duplicate entry from .gitignore 2018-06-26 21:18:17 -04:00
Bryan Housel
3943364852 Merge pull request #5106 from openstreetmap/remove_test_user_mocks
removed: user mocks from image service test specs
2018-06-26 21:11:23 -04:00
Bryan Housel
6a7e56a755 A few more translations 2018-06-25 21:26:27 -04:00
Bryan Housel
6ac9e4fff5 v2.9.1 2018-06-25 21:15:25 -04:00
Bryan Housel
a0a4e68cfe npm run translations 2018-06-25 19:35:04 -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
Bryan Housel
6ce2c5ea46 Merge pull request #5113 from tordans/patch-1
Add field `heights` to tag for `barrier=retaining_wall`
2018-06-25 15:39:13 -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
Thomas Hervey
0859d00195 updated: notes svg to prevent duplicate appending 2018-06-25 12:45:16 -04: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
greenkeeper[bot]
1309e7a161 chore(package): update osm-community-index to version 0.4.5 2018-06-25 10:46:17 -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