Commit Graph

1546 Commits

Author SHA1 Message Date
Quincy Morgan
9376fa1870 Merge branch '2.x' of https://github.com/openstreetmap/iD into 2.x 2020-01-16 11:03:19 -05:00
Quincy Morgan
145d6aef4f Add class to operation button icons 2020-01-16 10:58:04 -05:00
Bryan Housel
a45b4133c5 indent 2020-01-16 10:37:24 -05:00
Quincy Morgan
2495aa8041 Add additional safety check to uiAccount 2020-01-16 10:34:47 -05:00
Bryan Housel
1c998d186a Correctly gather the community index resources
- old code assumed that each resource had a link back to a single geojson featureId
- this isn't the case anymore so we need to link them in data/index.js
2020-01-16 10:06:35 -05:00
Bryan Housel
7391266aa7 ES6-ify success.js 2020-01-15 18:27:45 -05:00
Quincy Morgan
41355bf2a0 Rename "visible" property of presets to "addable" (re: a06ec59514b30a52601e3614ef69006d2dc1bc91) 2020-01-15 14:29:45 -05:00
Quincy Morgan
186aec68ac Improve endpoint for checking if restorable changes exist (re: b4ef0862978ae79a5cb741ac49370ed678857b1f) 2020-01-15 12:57:53 -05:00
Quincy Morgan
361358392f Don't show yes as a suggestion for typeCombo fields 2020-01-15 10:30:38 -05:00
Quincy Morgan
fd3d158273 Fix javascript error in raw text tag editor when entering blank field values 2020-01-13 12:38:41 -05:00
Quincy Morgan
40b6fe7ff9 Fix semicombo drag-and-drop issues with stale data and target positioning (re: #7024) 2020-01-10 13:59:50 -05:00
Quincy Morgan
e624106b7d Add Speed Limit Enforcement relation preset (close #7234)
Remove Name field from Enforcement preset
2020-01-10 12:19:53 -05:00
Quincy Morgan
20fd66630b Update semicombo reordering (re: #7024):
Don't try reordering multiCombo fields
Fix offset behavior for full-width semicombos
Use grab/grabbing cursor style
Keep dragged chip above others
2020-01-09 14:43:18 -05:00
Quincy Morgan
e2e0ad347b Merge pull request #7024 from TAQ2/patch-1
Drag and drop of semicombos
2020-01-09 13:38:28 -05:00
Quincy Morgan
9345ec7a82 Update reload unsquare issues function name 2020-01-07 11:41:04 -05:00
Quincy Morgan
5468b66eda Fix issue with searching features with a deleted feature in history 2020-01-06 13:44:41 -05:00
Quincy Morgan
c3512fc9d6 Correctly filter moreFields by allowed field geometry 2020-01-06 12:32:54 -05:00
Bryan Housel
a54561ce75 Remove the code to autofocus raw tag editor in text mode
(closes #6685)
2020-01-06 12:01:13 -05:00
Arjun
ba00334f2b drag and drop of semicombos 2020-01-06 16:00:48 +00:00
Quincy Morgan
0a3b3df80c Filter out values with fewer 10 or fewer uses from combo field suggestions (close #7203) 2020-01-03 11:49:43 -05:00
Bryan Housel
96b2b42ba7 Make link to privacy notice in splash screen translatable
(closes #7171)
2019-12-25 16:54:14 -05:00
Quincy Morgan
ae7eadb89c Properly update undo/redo button tooltips when undoing/redoing (close #6872) 2019-12-23 11:06:23 -05:00
Bryan Housel
96250be04a Skip loading gravatars if user has third party icons deselected 2019-12-20 14:16:54 -05:00
Quincy Morgan
f6769238ed Revert references to the v3 UI in the Keyboard Shortcuts menu
Remove unused preset favoriting functionality
2019-12-20 12:05:04 -05:00
Bryan Housel
ada4fb5814 Add privacy policy version check to context and splash screen
(closes #7040)

A few other minor things in this commit
- migrated several ui modal files to ES6 syntax
- switched the splash link from ideditor.org -> ideditor.blog
2019-12-19 00:11:40 -05:00
Bryan Housel
7f2c2062b0 Honor the user's third party icon preference 2019-12-18 17:46:21 -05:00
Bryan Housel
a47029897b Reset showing-img class on update selection 2019-12-18 17:10:18 -05:00
Bryan Housel
491d57af48 Comment routeSegments 2019-12-18 16:35:55 -05:00
Bryan Housel
20f90f8a67 Use foreach instead of for loops for clarity
Also rename `loc` to `point` (elsewhere in iD code `loc` is a lon/lat)
2019-12-18 16:10:32 -05:00
Quincy Morgan
7f76e00bed Use constant width for unsquare building degree threshold input (re: #7126) 2019-12-18 12:38:15 -05:00
Iman
986131e96f increase width of input field 2019-12-18 12:31:18 -05:00
Quincy Morgan
e8d154a529 Remove old, unused implementations of favorite, recent, and search-to-add preset toolbar items 2019-12-18 11:25:31 -05:00
Bryan Housel
afba5797e1 es6 preset_icon.js 2019-12-17 14:51:10 -05:00
Bryan Housel
ac27456894 Add privacy policy and link to it
(re: #7040)
2019-12-17 12:09:51 -05:00
Bryan Housel
27f538b0cf Add Preferences Pane, Third Party Icon toggle, link to policy
(re: #7040)
2019-12-16 22:27:06 -05:00
Quincy Morgan
0e3c0ca4ad Fix issue where the Buildings walkthrough could not be completed 2019-12-16 15:58:34 -05:00
Quincy Morgan
523a467836 2.x: Make toolbar horizontally scrollable when it overflows (re: #6755, re: 7545f67063b5e7007ef2d8367e3181e59c04a487)
Generalize tooltip into popover control
Use the same popover control for tooltip as the preset browser and tools list popovers
Smartly position the preset browser popover and menu bar tooltips to stay fully onscreen
Position most tooltips closer to their controls
Fix small gap that could appear between a tooltip and its arrow
Allow wider toolbar tooltips
2019-12-16 13:30:07 -05:00
Quincy Morgan
6cbdb41e2d 2.x: Use keyboard styling for shortcuts in tooltips (re: #6574, re: a579e35fcc51d76f55eca16c7524d95c59b66c26) 2019-12-13 14:07:59 -05:00
Quincy Morgan
912151ff38 Allow viewing and editing the tags/relations of selected features at any zoom level in 2.x (re: #5001) 2019-12-12 16:54:16 -05:00
Quincy Morgan
9d936b4aea Rename rendererMap.editable function to more precise rendererMap.editableDataEnabled
Make coreContext.editable function also account for whether user is in modeSave
2019-12-12 16:06:28 -05:00
Quincy Morgan
a319bf75d6 Search all downloaded features instead of just visible ones on 2.x (re: #6516, re: 480140442677644ba3d758565b7d08672d037976) 2019-12-12 13:05:55 -05:00
Quincy Morgan
f6266de357 Show all OSM entity options when searching for a number without a prefix (close #7112) 2019-12-12 12:45:44 -05:00
Quincy Morgan
38ebef10d2 Revalidate after reversing ways via the One Way field 2019-12-06 11:04:16 -05:00
Quincy Morgan
c1f7721197 Reload API status automatically when a response indicates a probable change in status (close #6650)
Make API status messages more informative (close #7021)
Add manual Retry button to "unable to connect" API status message (close #5864)
2019-12-05 17:17:57 -05:00
Quincy Morgan
88ff303a49 Fix issue where a new row would not appear last after deleting multiple rows from the raw tag editor (close #7087) 2019-12-05 13:22:43 -05:00
Quincy Morgan
a2ada42988 Ensure identifier field link button has proper state on init 2019-12-05 10:23:57 -05:00
Quincy Morgan
91da6028f8 Add field for wikimedia_commons tag (re: #7064) 2019-12-04 14:09:43 -05:00
Quincy Morgan
e83c0940bf Add field for ref:vatin (close #6880) 2019-12-04 11:50:10 -05:00
Quincy Morgan
6c7d8b6150 Add identifier field for tags linking features to external databases
Add US-only field for `gnis:feature_id` (close #7086)
Add tooltip to wikipedia field link button
2019-12-03 20:47:10 -05:00
Quincy Morgan
1647b9addf Add countryCodes and notCountryCodes properties for fields (close #7085)
Add documentation note about `prerequisiteTag` property getting ignored if a value is present
2019-12-03 20:11:39 -05:00