Commit Graph

1629 Commits

Author SHA1 Message Date
Bryan Housel
db877ba8bb Add listed_status to whitelist of tags that autocomplete uppercase
(closes #5231)
2018-08-19 00:45:37 -04:00
Bryan Housel
8b3637e55d Speedup imagery index with which-polygon
(closes #5226)
2018-08-16 16:26:01 -04:00
Bryan Housel
ef0636ad01 For fields that use entityID, recreate field if entityID changes
(closes #5229, closes #4898)
2018-08-16 11:07:38 -04:00
Bryan Housel
a0a54395a7 Fix issue completing uploads that reuse an existing open changeset
(closes #5228)
2018-08-16 10:16:33 -04:00
Bryan Housel
121287fe97 Support access=permit in access and access_simple fields
(closes #5223)
2018-08-13 15:03:57 -04:00
john gravois
bbe86510a3 remove ?blankTile=false and space from tilemap url to fix 404 2018-08-13 09:25:07 -07:00
Bryan Housel
8d711981bf Change stars from integer field to combo, support capital 'S'
(closes #5216)
2018-08-12 11:23:38 -04:00
Bryan Housel
930e865b42 Attempt to prevent users from uploading duplicate changes
(closes #5200)

This removes a users changes stored in localStorage if they try to close
iD while an upload is in progress.  It prevents the possiblity that the
changeset is eventually accepted and closed, but the user can be prompted
to restore those changes the next time they start iD.
2018-08-11 19:15:18 -04:00
Bryan Housel
eab7f3660b Put background settings into localstorage and dispatch change event 2018-08-11 18:17:07 -04:00
Bryan Housel
8af6d65e33 Switch from uiModal to uiConfirm, adjust styles
A few things going on in this commit:
- uiConfirm already has an OK button, so I'm trying to use that instead of uiModal.
- The confirm OK button cancels, which is maybe a problem. I might change it.
- Dispatch a change event instead of trying to call a function back in uiBackground
- Remove some of the custom css, since we already have some shared button css
- add utilNoAuto to textarea (this just prevents autocomplete and other
  annoying behaviors especially in Safari)
2018-08-11 11:38:05 -04:00
Bryan Housel
40c0c7d2f5 Fix the custom background translation strings 2018-08-11 01:31:26 -04:00
Bryan Housel
cde4caf168 Moved the custom background code into ui/settings
We are going to add a bunch more of these setting screens
2018-08-11 01:18:30 -04:00
Bryan Housel
5367e97874 Merge branch 'custom' of https://github.com/vershwal/iD into vershwal-custom 2018-08-11 00:54:21 -04:00
Bryan Housel
7b4f4fd031 Fix note url link in history panel 2018-08-10 22:26:13 -04:00
Bryan Housel
fab4a54c14 Redraw measurement and history panels on context mode enter
- these panel content were redrawn whenever the map was redrawn,
however the map does not necessarily redraw when selecting notes
2018-08-10 22:20:46 -04:00
Bryan Housel
68ed6b1024 Show selected note details History Panel
(re: #5158)
2018-08-10 16:49:50 -04:00
Bryan Housel
9f33ca9a01 Show location of selected Note in Measurement Panel
(re: #5158)
2018-08-09 23:25:50 -04:00
Bryan Housel
f8f1c1f541 Ensure both notes and nodes can be dragged in selectNote mode 2018-08-09 23:25:06 -04:00
Bryan Housel
ff9e60d205 Submit note comments with cmd+enter
(closes #5193)
2018-08-07 10:05:12 -04:00
Bryan Housel
12f402c48b Disable Add Note '4' shortcut when notes layer is not enabled
(also return to browse mode if notes or osm layers get disabled)
(closes #5190)
2018-08-06 14:45:10 -04:00
Bryan Housel
184e37253c Allow tourism=artwork on line geometry
And when used on a line, silence `tag_suggests_area` warning
(closes #5206)
2018-08-05 23:37:06 -04:00
vershwal
2d058c770c Improved UI for custom background. 2018-08-06 02:02:30 +05:30
vershwal
542f3c523e Custom background 2018-08-05 17:46:48 +05:30
Bryan Housel
2e6799ac60 Don't reverse cardinal direction roles on relations anymore
re: https://github.com/openstreetmap/iD/pull/2004#issuecomment-407995998

Per thread https://twitter.com/bhousel/status/1025805098063208448
JOSM has stopped doing this too
2018-08-04 21:55:14 -04:00
J Guthrie
c1bdcf24aa Changed parseInt to parseFloat 2018-08-03 01:33:29 +01:00
vershwal
1eea46f215 loading bufferdata using d3_request 2018-07-29 11:56:09 +05:30
Bryan Housel
5c7784fb0b Fix note status string to be translateable
(closes #5189)
2018-07-28 19:27:31 +02:00
Bryan Housel
0a0de59700 Better regex for true version numbers 2018-07-26 01:26:22 -04:00
Bryan Housel
c1978c0713 v2.10.0 2018-07-26 01:12:48 -04:00
Bryan Housel
11076bf0c5 Calculate correct scale in tiler() for non-256px tile sizes 2018-07-25 15:11:43 -04:00
Bryan Housel
f74d21557c Force redraws after moving a note or cancelling a note
similar to 95ea0dbbc, there is no history change event to force a redraw
2018-07-24 19:34:01 -04:00
Bryan Housel
95ea0dbbc9 Force a redraw after adding a note
Because notes dont exist in the history or graph, there is no history change
event to trigger a redraw, as there would be when adding points and other things.
2018-07-24 19:14:34 -04:00
Bryan Housel
69ebb97815 Simplify drag_note mode 2018-07-24 17:17:24 -04:00
Bryan Housel
5d9fc33e24 Simplify osm.js postNoteUpload/update 2018-07-24 16:22:37 -04:00
Bryan Housel
b95aa08900 Add cancel button, simplify button code 2018-07-24 16:22:21 -04:00
Bryan Housel
63614d5909 formatting 2018-07-24 15:14:26 -04:00
Bryan Housel
0552a90a9f Remove category field - it's not an osm tag 2018-07-24 14:58:04 -04:00
Bryan Housel
a406da953d Remove actionMoveNote
Notes aren't stored in the graph, so moving them isn't an action
2018-07-24 14:26:25 -04:00
Bryan Housel
89ad643977 Let new note generate its own id, instead of using -1
Also stringify the note id (because existing notes from OSM are this way)
Also make sure comments is initialized as an Array not an Object
Also clarify some of the tests
2018-07-24 14:11:08 -04:00
Bryan Housel
640596340e Improve the add-note icon in help, minor changes to help text 2018-07-24 12:40:16 -04:00
Thomas Hervey
3abca299b5 cleaned unused vars 2018-07-24 09:17:12 -04:00
Bryan Housel
0334e7b353 Visibility stuff
- Draw ellipse below note shadow
- Use brighter color for new note
- Use thicker stroke for note shadow (same width as point)
2018-07-24 00:16:37 -04:00
Bryan Housel
6dcb879990 Remove notes and deselect any selected note when disabling notes layer 2018-07-23 23:39:10 -04:00
Bryan Housel
a3dc0e8213 Shrink annotations, add margin between note header and comments 2018-07-23 23:20:34 -04:00
Bryan Housel
46dc44b35b Make the mode buttons dynamic
- show/hide the note button when the notes layer is enabled/disabled
- enable/disable the note button based on notesEditable
2018-07-23 22:21:47 -04:00
Bryan Housel
78fc2f7c27 No longer need to pass dimension to loadTiles 2018-07-23 21:07:28 -04:00
Thomas Hervey
7312d7024b added notes to help ui 2018-07-23 18:26:43 -04:00
Thomas Hervey
e1cb25d824 merge from 'master' 2018-07-23 18:24:02 -04:00
Thomas Hervey
e23ef4ba4a redraw on note drag. TODO: change dispatch call 2018-07-23 15:09:25 -04:00
Bryan Housel
d11b1e6192 Merge branch 'feat-mapillary-bearing' of https://github.com/mapillary/iD into mapillary-feat-mapillary-bearing 2018-07-23 14:35:48 -04:00