Commit Graph

569 Commits

Author SHA1 Message Date
Bryan Housel
7da34f474b Pacify eslint 2017-03-29 12:50:29 -04:00
Bryan Housel
4c023635f4 Dispatch done before calling reveal in playsteps (to style the buttons) 2017-03-29 12:46:38 -04:00
Bryan Housel
7873f0c425 Relax rules for using keyboard shortcuts in the walkthrough 2017-03-29 12:35:33 -04:00
Bryan Housel
063d5605ae Ensure each step can cleanup after itself and continueTo reliably 2017-03-28 16:41:42 -04:00
Bryan Housel
c6a40b263d Add Play step to each chapter of the walkthrough
(closes #3067)
2017-03-28 13:19:35 -04:00
Bryan Housel
df20825a10 Add selected step to navigation, let user free play at end of chapter 2017-03-27 23:03:17 -04:00
Bryan Housel
86330ef3f0 Move welcome to its own chapter 2017-03-26 15:27:30 -04:00
Bryan Housel
b7267e0571 Add ability to put an OK button on the curtain-tooltip 2017-03-26 00:35:00 -04:00
Bryan Housel
6cc524a0a0 Improve walkthrough tooltip placement, fix for RTL too
(closes #3925)
2017-03-25 00:48:55 -04:00
Bryan Housel
525994082c Support "top" placement so we can tooltip the navigation menu 2017-03-24 21:43:29 -04:00
Bryan Housel
424ad63993 Fix rtl for tooltip-illustrations, replace 'done' with next icon 2017-03-24 10:02:52 -04:00
Bryan Housel
7432db7848 Attach intro to id-container, not document.body
(re: #3925)
2017-03-23 22:37:14 -04:00
Bryan Housel
85be712e03 Use flex for walkthrough navigation bar, add walkthrough logo 2017-03-23 22:29:20 -04:00
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