Commit Graph

127 Commits

Author SHA1 Message Date
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
71bfeb5a9f Fix lint warnings 2019-11-07 20:16:05 +01:00
Quincy Morgan
d89996e52c Update country-coder to 2.0.0 (close #7029)
Localize address field in walkthrough without overwriting country coder function
2019-11-07 18:45:46 +01:00
Quincy Morgan
8c0740191f Replace remaining nominatim countryCode calls with country-coder calls (close #6941) 2019-11-01 18:15:35 +01:00
Quincy Morgan
d01bb78707 Reduce circular dependencies caused by importing from indexes, the location of the validation models, and the location of areaKeys (close #6237) 2019-04-24 13:45:59 -07:00
Quincy Morgan
53625a9364 Fix issues with the walkthrough 2019-03-27 17:41:15 -04:00
Bryan Housel
5b4aa529de Replace lodash uniq
(re: 6087)
2019-03-27 02:43:25 -04:00
Bryan Housel
5e1ff74199 Replace lodash difference, intersects, union
(re: 6087)
2019-03-27 01:22:11 -04:00
Bryan Housel
7e6f68a1b2 Remove lodash some
(re: #6087)
2019-03-23 00:07:52 -04:00
Bryan Housel
11bfeaabfc Add browser-polyfills, remove lodash assign, compact, values
(re: #6087)
2019-03-22 17:14:41 -04:00
Bryan Housel
e44dfcb5e3 Add geoVecNormalizedDot 2019-02-25 23:07:03 -05:00
Bryan Housel
c3ac083b32 Reuse math code, add geoVecNormalize, code cleanups 2019-02-25 21:15:20 -05:00
Quincy Morgan
a7e713da15 Fixed an issue in the Areas walkthrough chapter where the user could not proceed after adding the Description field 2019-01-21 11:51:25 -05:00
Bryan Housel
460d144c66 Use centerZoomEase for smoother walkthrough transitions 2019-01-16 01:32:15 -05:00
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