192 Commits

Author SHA1 Message Date
Bryan Housel
dabf8556dd Add continue/cleanups/restarts for each step of lines chapter 2017-03-30 17:48:18 -04:00
Bryan Housel
ae6ce863a4 Add continue/cleanups/restarts for each step of areas chapter 2017-03-30 00:12:48 -04:00
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
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
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
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
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
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
dc2318ab63 Add mention of the right-click menu in the walkthrough 2017-02-22 17:31:08 -05:00
Bryan Housel
f7c3de9545 Preserve backward compability with radial menu
Old menu behavior can be restored with 2 cookies:
- `edit-menu-style=radial` - Display menu as a radial menu, limited to 8 items
- `edit-menu-show-always=1` - Show menu on all clicks, not just contextmenu/right
2017-02-22 16:50:42 -05:00
Kushan Joshi
ca25a34987 semver compliance for edit_menu 2017-02-09 13:03:12 +05:30
Bryan Housel
ff1b16c769 Improve tests for line joins in walkthrough
(closes #3695)
2017-02-02 21:50:57 -05: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
Bryan Housel
a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -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
Tom MacWright
604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Kushan Joshi
39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Kushan Joshi
477d446772 final touch up 2016-07-06 01:05:21 +05:30
Kushan Joshi
780960c711 interim 2016-07-06 00:34:35 +05:30
Kushan Joshi
9f2a251d31 Fixing Interdependecy between ui.preset and ui.core 2016-07-02 16:00:52 +05:30
Kushan Joshi
6a4adb476c create submodule iD.ui.intro 2016-06-17 16:57:43 +05:30