Commit Graph

556 Commits

Author SHA1 Message Date
Bryan Housel
468c1e427d All graphics from iD-sprite are now symbols that can be used
(re: #3924)
2017-03-23 21:16:32 -04:00
Bryan Housel
09d3e2d09d Code cleanups, move local feature names to helper 2017-03-23 10:39:43 -04:00
Bryan Housel
61d1d1f549 Make chapters code more consistent 2017-03-23 00:20:08 -04:00
Bryan Housel
8200cbb1f4 Use checkpoints to reset history to known states in walkthrough 2017-03-22 22:32:44 -04:00
Bryan Housel
833a67f399 Allow history to set checkpoints and reset to them 2017-03-22 22:05:27 -04:00
Bryan Housel
d949fe08cb Fix faulty datum test from 681ee5a 2017-03-22 16:01:14 -04:00
Bryan Housel
697cef1b06 Fix zoom/pan for the intro curtain
(closes #2386)
2017-03-22 15:57:26 -04:00
Bryan Housel
db39fc6d50 Improve event handling and functions for the navigation steps 2017-03-22 13:45:47 -04:00
Bryan Housel
681ee5a89a Prevent crash when missing datum
(This can happen if the user mouseups on a tooltip, e.g. in walkthrough)
2017-03-22 10:27:15 -04:00
Bryan Housel
a015b4442b "step" -> "chapter" - each chapter contains many steps 2017-03-22 10:16:39 -04:00
Bryan Housel
b55cebed2e Move d3curtain to uiCurtain, remove unused event dispatch 2017-03-22 09:59:59 -04:00
Bryan Housel
31d2733c2a Remove unused mode variable - eslint 2017-03-22 02:51:47 -04:00
Bryan Housel
21321108f9 Fix wikipedia field link button
(closes #2024)
2017-03-22 02:39:07 -04:00
Bryan Housel
c3502a4e16 Only add the ellipses if the placeholder doesn't already end in one
(closes #3920)
2017-03-21 22:11:35 -04:00
Bryan Housel
d664f74832 When changing selection, always update the url hash 2017-03-21 14:20:25 -04:00
Bryan Housel
0228f934b3 Put back the selected class when redrawing selected lines 2017-03-21 14:19:57 -04:00
Bryan Housel
85ed3cc2d3 Cleanup line drawing code with selected sort 2017-03-21 12:42:46 -04:00
Bryan Housel
4903d495b7 Draw selected items last, so halos are more visible
(see #2914)
2017-03-21 02:17:04 -04:00
Bryan Housel
33e9b2ab7e Replace opening hours whitelist with regular expression 2017-03-20 23:21:09 -04:00
Bryan Housel
e1a9e7e74d Don't try to force opening-hours value lookups to lowercase
(closes #3629)
2017-03-20 23:02:35 -04:00
Bryan Housel
1ecb456a3c Support 1 and -1 in onewayCheck field
(closes #3910)
2017-03-20 22:23:52 -04:00
Bryan Housel
d1ab5d6fc4 Bring over some more code from combo, add translation strings 2017-03-20 13:16:56 -04:00
Bryan Housel
02f1eac72b Add snake/unsnake helpers, remember recently used type tag 2017-03-19 11:44:33 -04:00
Bryan Housel
1f49bf81a4 Add a taginfo combo to the structure type field 2017-03-18 11:05:30 -04:00
Bryan Housel
74cc038c57 Add layer and type subfields below structure field
(see #2087)
2017-03-18 02:09:33 -04:00
Bryan Housel
61bd8fcb5d Show tooltip for long background names
(closes #3448)
2017-03-17 15:28:37 -04:00
Bryan Housel
0e788717c5 Do not warn if path is connected to entrance
(closes #3906)
2017-03-17 14:40:55 -04:00
Bryan Housel
ea2a1e10b1 Make sure multiData array is updated when item is removed 2017-03-17 13:32:45 -04:00
Bryan Housel
24d0d6f66e Add brand and grape_variety to uppercase tag exception list 2017-03-17 12:39:59 -04:00
Bryan Housel
1205e1758e Add semiCombo field for setting values in semicolon-delimited lists
(closes #3905)
2017-03-17 01:47:00 -04:00
Bryan Housel
af757d31be General usability improvements
* Reevaluate all featuers stroke widths for shadow, casing, stroke
* Shadow width is important to make sure all features are easily clickable
* Casing width is important to see oneway arrows
* Make sure all line styles have normal and low-zoom variants
* Show directional arrows for all waterway types
2017-03-16 16:16:35 -04:00
Bryan Housel
1a8cfcc8b1 Changeset refactor
(closes #2633)

* move osmChangeJXON from osm service to osmChangeset
* cleanup putChangeset for code clarity
* adjust params for callbacks (pass changeset around instead of changeset_id)
* add commit.reset() to reset changeset object after successful save
* improve checks for changeset tags (trim whitespace, etc)
2017-03-15 11:03:43 -04:00
Bryan Housel
4d207471ff Allow raw tag editor to have readonly tags 2017-03-14 12:17:52 -04:00
Bryan Housel
97f699d37d Better updates between comment box and changeset tags 2017-03-13 21:45:44 -04:00
Bryan Housel
16df2f595f Change raw tag editor to embed it on commit pane 2017-03-13 17:32:50 -04:00
Bryan Housel
5e7919e78c Consider matchScore when sorting the preset list 2017-03-12 19:01:15 -04:00
Bryan Housel
de44a73e05 Fix areaKeys logic to better handle presets that can be area or line 2017-03-12 15:29:14 -04:00
Bryan Housel
d1aac857a4 Ignore server changesets with missing comment tag or empty comment 2017-03-11 14:28:30 -05:00
Bryan Housel
a1323e482e Change putChangeset to create osmChangeset and asJXON 2017-03-11 14:12:34 -05:00
Bryan Housel
f783fe4942 Create osmChangeset object, inherit from osmEntity 2017-03-11 01:12:37 -05:00
Bryan Housel
e0157f48ac Merge pull request #3871 from mstn/3208-cant-create-a-new-master-relation
Order to-be-created relations by dependencies in the changeset
2017-03-11 01:05:11 -05:00
Bryan Housel
2b50d96f38 Remove unused variable - eslint warning 2017-03-10 22:48:21 -05:00
Bryan Housel
6f4d490c6f Prevent delete of objects when not 80% visible
(closes #3700)
2017-03-10 22:45:42 -05:00
Bryan Housel
52d37d999b Style vertices in the preset list with circular frame
(closes #3569)
2017-03-08 16:46:30 -05:00
Bryan Housel
0511c5e968 Add poi icons for power, mast 2017-03-04 08:07:13 -05:00
Bryan Housel
814a2eb887 Guard code around geoPointInPolygon
(closes #3876)
2017-03-04 00:24:36 -05:00
Bryan Housel
c72dc2427e Make the oneway markers slightly more opaque
(closes #3060)
2017-03-03 21:41:27 -05:00
Bryan Housel
b1b47760ac Adjust reverser button styling, make it work on tag change 2017-03-03 17:00:24 -05:00
Bryan Housel
74155a9286 Add reverser button to onewayCheck field 2017-03-03 11:58:02 -05:00
Bryan Housel
6a85e5483c Standard camel case for defaultCheck field (not used anywhere) 2017-03-03 10:28:40 -05:00