Commit Graph

609 Commits

Author SHA1 Message Date
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
b566cc9c90 Remove workaround for old Firefox bug that has been fixed 2017-04-12 14:08:51 -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
87618f9a6b Make it so preset.init() can be called again to reset the datastructures
(this is mostly so I can reset recent.collection for the walkthrough)
2017-04-11 22:34:02 -04:00
Bryan Housel
8a2e1633c9 Adjust timings, language, transitions in walkthrough 2017-04-10 16:59:41 -04:00
Bryan Housel
ec1e5cb50d Finish delete lines section of the walkthrough, add selectMenuItem helper 2017-04-09 23:56:54 -04:00
Bryan Housel
7371f869c8 Allow curtain to be called with a null box (no cutout) 2017-04-09 20:29:05 -04:00
Bryan Housel
436c32ede8 Update delete lines walkthrough steps 2017-04-08 11:23:33 -04:00
Bryan Housel
2abf7a7361 Add step to walkthrough up to split road 2017-04-07 00:40:09 -04:00
Bryan Housel
fc774a1c64 Adjust language, keep Wood road selected when editing midpoint/endpoint 2017-04-06 17:46:36 -04:00
Bryan Housel
8fe33d9430 Teach realigning roads by moving nodes, adding midpoints
(closes #2381)
2017-04-06 17:09:32 -04:00
Bryan Housel
36b90fa653 More adjustments to walkthrough language, timing 2017-04-05 22:01:15 -04:00
Bryan Housel
be73f1cddb In area chapter, make sure user really added Description field 2017-04-05 17:24:30 -04:00
Bryan Housel
500dbfa054 Remove road routes, update names, make all lanes localizable 2017-04-05 17:01:19 -04:00
Bryan Housel
912d565fc3 Update walkthrough name localization, no more hardcoded osmids 2017-04-05 14:13:46 -04:00
Bryan Housel
bea7f3c510 export lodash (to help with debugging) 2017-04-05 14:09:59 -04:00
Bryan Housel
d3bff9e3ee Renumber introGraph to shrink it even more 2017-04-05 00:55:59 -04:00
Bryan Housel
2e81e71859 Add history.toIntroGraph() for saving the edited introGraph to JSON 2017-04-04 02:00:01 -04:00
Bryan Housel
526bb75fb8 pacify eslint 2017-04-04 01:16:21 -04:00
Bryan Housel
93b9507431 Add a tooltip illustration for buildings 2017-04-03 22:13:07 -04:00
Bryan Housel
d173e06cf2 Add circle buildings steps to building chapter too
(closes #3085)
2017-04-03 17:52:07 -04:00
Bryan Housel
bb7b60cd23 Add square buildings steps to building chapter 2017-04-03 16:33:40 -04:00
Bryan Housel
0af9df708f Add house tracing steps to building chapter 2017-04-02 23:05:02 -04:00
Bryan Housel
b923a6d8e0 Add timeout so Name Road step will reveal properly
(re: https://github.com/openstreetmap/iD/pull/3921#issuecomment-290959115)
2017-04-02 20:12:30 -04:00
Bryan Housel
5f627c858e Localize a few more walkthrough names, start buildings chapter 2017-04-01 21:43:40 -04:00
Bryan Housel
3b01166b23 Add more info about editing, teach Undo
(closes #3680)
2017-03-31 17:19:56 -04:00
Bryan Housel
d7728691d4 Allow user to hit escape to leave select mode in walkthrough 2017-03-31 15:04:54 -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
5f44c9a00a Add combobox menus to id-container instead of document.body
(re: https://github.com/openstreetmap/iD/issues/3925#issuecomment-290718356)
2017-03-31 13:44:55 -04:00
Bryan Housel
e1e366c5f4 Add a description to the park instead of a name
(closes #3121)
2017-03-31 13:44:42 -04:00
Bryan Housel
f2f21a090e Allow combobox to nest under id-container instead of body
(re: https://github.com/openstreetmap/iD/issues/3925#issuecomment-290718356)
2017-03-31 11:27:32 -04:00
Bryan Housel
ad5c9760c2 Don't allow user to re-enter walkthrough if already in walkthrough 2017-03-30 18:08:30 -04:00
Bryan Housel
d5912283ac Don't allow geolocate while in walkthrough 2017-03-30 18:07:11 -04:00
Bryan Housel
5459f54900 Add copyBox to copy immutable ClientRects
bc we do things like `box.height -= something` to trim box to window
2017-03-30 17:48:31 -04:00
Bryan Housel
dabf8556dd Add continue/cleanups/restarts for each step of lines chapter 2017-03-30 17:48:18 -04:00
Bryan Housel
7358766d4d Don't update hash, imagery_used when changing background in walkthrough
(closes #3936)
2017-03-30 00:38:03 -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
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