Commit Graph

38 Commits

Author SHA1 Message Date
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 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 232fbf13c8 Don't show overlay layers in the walkthrough
(re: #4007)
2017-05-03 17:44:54 -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 a16ae21874 Clear away recent presets when switching to a new chapter 2017-04-11 22:49:09 -04:00
Bryan Housel 912d565fc3 Update walkthrough name localization, no more hardcoded osmids 2017-04-05 14:13:46 -04:00
Bryan Housel d3bff9e3ee Renumber introGraph to shrink it even more 2017-04-05 00:55:59 -04:00
Bryan Housel 5f627c858e Localize a few more walkthrough names, start buildings chapter 2017-04-01 21:43:40 -04:00
Bryan Housel 140e457dee Use span for button labels, so pointer events go to the button 2017-03-31 14:42:40 -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 424ad63993 Fix rtl for tooltip-illustrations, replace 'done' with next icon 2017-03-24 10:02:52 -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 8200cbb1f4 Use checkpoints to reset history to known states in walkthrough 2017-03-22 22:32:44 -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 226d8d6676 Leave transition duration as undefined, interrupt existing transitions 2016-10-27 15:11:50 -04:00
Bryan Housel 59496c4547 Fix bugs in intro
* connection.flush is now connection.reset
* Calculate correct tooltip dimensions after changing content
* Position tooltip based on visible box, not full box
(closes #3463)
2016-10-27 14:15:23 -04:00
Bryan Housel 8fb5f3a5a1 Degunk data sources by named-importing single toplevel key
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454

This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it
much more readable, which is nice for debugging.  This does not affect the
minified bundle size.
2016-10-26 16:29:49 -04:00
Bryan Housel 07fa5fcc34 Refactor Entity, Node, Relation, Tags, Way from core to osm 2016-10-11 22:41:24 -04:00
Bryan Housel 3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel 464b0b2aca Fix issues with walkthrough 2016-09-26 16:25:38 -04:00
Tom MacWright cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Tom MacWright 6341d4e4b5 one-shot build (#3266)
* One-shot development

* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs

* Unformat intro graph
2016-08-10 15:25:19 -07:00
Bryan Housel 747b9f37d5 Pacify eslint 2016-07-24 17:39:06 -07:00
Bryan Housel f4979db992 Don't use checkboxes in walkthrough navigation
(closes #3247)
2016-07-24 12:31:57 -07:00
Tom MacWright af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Kushan Joshi 39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Kushan Joshi 780960c711 interim 2016-07-06 00:34:35 +05:30