Commit Graph

112 Commits

Author SHA1 Message Date
Bryan Housel
cbcafaee15 Make sure sidebar is expanded before entering walkthrough or saving
(closes #5574)
2018-12-08 10:03:43 -05:00
Quincy Morgan
b366ace770 Switches from == to === in prior commit 2018-12-04 17:33:39 -08:00
Quincy Morgan
3cb2b8c901 Fixes an issue where the walkthrough would not display and cause an error 2018-12-04 17:29:19 -08:00
Bryan Housel
509464c932 Don't allow user to toggle sidebar in the walkthrough
(this would mess up all the tooltips)
2018-11-08 14:07:06 -05:00
Bryan Housel
826e08149b Setup data layers before starting the walkthrough
(closes #5136)
2018-11-08 13:53:13 -05:00
Bryan Housel
a6b3265189 Don't chapter.reset() on change while drawing
(closes #5295)

The cause of this crash was:
- when cancelling a line, `drawWay.cancel()` needs to clean up old edits.
- it does this by looping `context.pop()` them off history until they are gone
- each `context.pop()` dispatches a 'change' event
- if we reset the chapter on one of these change events, it throws away the
   graph, and `drawWay.cancel()` can't finish what it's doing
2018-09-06 14:32:26 -04:00
Bryan Housel
f347346e70 Variable cleanups in intro 2018-09-06 14:32:09 -04:00
Bryan Housel
19560ebc90 Properly save and restore caches when entering/leaving the walkthrough 2018-07-12 15:39:04 -04:00
Bryan Housel
9b6e405448 Use Esri World Imagery (clarity) in the intro walkthrough 2018-06-15 10:09:15 -04:00
Bryan Housel
470835b38f Extract all graphics from iD sprite, reassemble with svg-sprite
All iD sprite graphics are now prefixed with `iD-`
Also includes support for sending the preset logos to taginfo
2018-06-08 16:06:46 -04:00
Bryan Housel
1697c48360 Fix flickering and drag-node breakage in line endpoint walkthrough step 2018-01-18 22:02:56 -05:00
Bryan Housel
286c09366a Remove unused var (eslint) 2018-01-04 15:55:53 -05:00
ajlomagno
5d3df25960 Moved cleanuo code to exit function in welcome.js 2017-12-27 13:19:22 -05:00
Bryan Housel
434bc5af96 Improve styling of keyboard shortcuts, clicks, commands in help text 2017-11-23 02:31:12 -05:00
Bryan Housel
1611a042ba Make sure "Add Field" scrolls into view during Area chapter of walkthrough
(closes #4417)
2017-10-09 12:34:47 -04:00
Bryan Housel
7a616cc49f Switch to EsriWorldImagery background layer for the tutorial.. 2017-10-06 00:31:28 -04:00
Bryan Housel
d296c26fcc Convert lodah-es and d3 to named imports for ui/intro 2017-09-26 00:27:21 -04:00
Bryan Housel
8cb04a087c Track walkthrough progress in localStorage 2017-08-16 14:30:21 -04:00
Bryan Housel
99a3741b0c Better isolation of services, to avoid hitting network during test runs
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
   (e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
Bryan Housel
1bf514b7fc Move field rendering code from preset_editor to field.js 2017-08-03 01:10:59 -04:00
Bryan Housel
f19c879aba Mention keyboard shortcuts in intro, localize Alt key 2017-06-18 02:30:31 -04:00
Bryan Housel
5a6a194ddf Prevent scrolling where user can get stuck in walkthrough
(closes #4033)
2017-05-11 11:56:47 -04:00
Bryan Housel
2c2a0bb533 Remove unused variables - eslint 2017-05-07 17:34:22 -04:00
Bryan Housel
65e403c524 Add a bit more instruction about dragging, mention keyboard arrow keys
(closes #4015)
2017-05-05 16:04:48 -04:00
Bryan Housel
76d9f0293e Teach +/- buttons during the zoom step, and don't cover them with curtain
(closes #4014)
2017-05-05 15:49:05 -04:00
Bryan Housel
232fbf13c8 Don't show overlay layers in the walkthrough
(re: #4007)
2017-05-03 17:44:54 -04:00
Bryan Housel
8395ca8b43 Adjust position of Name Road prompt, simplify code
(closes #3992)
2017-04-28 14:57:44 -04:00
Bryan Housel
4542ad8dc4 Don't count right click twice in walkthrough on Windows
(closes #3988)
2017-04-27 17:09:57 +01:00
Bryan Housel
1dfd3f46ac Put the tooltip near the Residential Road button
(closes #3985)
2017-04-26 09:36:20 -04:00
Bryan Housel
0782ee10c8 Remove address part if translation matches <.*> 2017-04-22 12:03:37 -04:00
Bryan Housel
92d6d51724 Mock geocoder in walkthrough so we can localize address field 2017-04-21 17:53:37 -04:00
Bryan Housel
2e6bb9b8d7 Localize addr:street tags in walkthrough 2017-04-21 13:41:16 -04:00
Bryan Housel
4bd883b221 Don't lowercase the field names in the tutorial
(closes #3977)
2017-04-21 13:24:04 -04:00
Bryan Housel
bde1c78d32 Break up longer text, mention Alt key to avoid point snapping 2017-04-18 14:06:00 -04:00
Bryan Housel
e3152fb8ec Make sure user can left and right click 2017-04-18 02:37:49 -04:00
Bryan Housel
cf9eb22e5f Adjust language, remove curtain for play steps 2017-04-17 17:51:22 -04:00
Bryan Housel
b743d37a31 Fixes for RTL, improve curtain placement for edit menu steps 2017-04-17 14:06:05 -04:00
Bryan Housel
e249826b1b Adjust timings a few places so draw handler doesn't interrupt reveal 2017-04-17 11:13:32 -04:00
Bryan Housel
5acad221a9 Catch a few more conditions where the user changed tutorial data 2017-04-17 10:40:24 -04:00
Bryan Housel
16b8d5c876 More gentle introduction to jargon 2017-04-16 22:35:57 -04:00
Bryan Housel
992a6aa958 More guard code to protect against user undos and mode changes 2017-04-15 00:32:36 -04:00
Bryan Housel
0256252caf Ask user to redraw the building if the points really are not very square 2017-04-14 11:28:52 -04:00
Bryan Housel
633edf15b8 Increase delay before checking if Description field was added 2017-04-14 00:53:33 -04:00
Bryan Housel
5c687e5c1c Gentler introduction to jargon, add some more defensive code 2017-04-13 15:26:21 -04:00
Bryan Housel
7b23d264e3 Teach zoom, and make sure Spring Street is visible 2017-04-12 15:21:42 -04:00
Bryan Housel
bdcd4fd431 Use #map clientrect instread of #surface (which can be transformed) 2017-04-12 14:09:14 -04:00
Bryan Housel
8b28772aef Eliminate the very slow (3sec) transitions 2017-04-12 13:23:17 -04:00
Bryan Housel
5b81ea1f8f Be less strict about where the endpoint can go 2017-04-11 22:59:19 -04:00
Bryan Housel
a16ae21874 Clear away recent presets when switching to a new chapter 2017-04-11 22:49:09 -04:00
Bryan Housel
8a2e1633c9 Adjust timings, language, transitions in walkthrough 2017-04-10 16:59:41 -04:00