Commit Graph

834 Commits

Author SHA1 Message Date
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
1486c3db28 Make sure reverserSetText only called for onewayCheck field 2017-03-25 22:48:40 -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
Bryan Housel
424ad63993 Fix rtl for tooltip-illustrations, replace 'done' with next icon 2017-03-24 10:02:52 -04:00
Bryan Housel
7432db7848 Attach intro to id-container, not document.body
(re: #3925)
2017-03-23 22:37:14 -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
Nick Doiron
fa87f2b602 support Arabic vowel signs, include Thaana and Hebrew in generic RTL fix 2017-03-22 21:03:46 -07:00
Bryan Housel
8200cbb1f4 Use checkpoints to reset history to known states in walkthrough 2017-03-22 22:32:44 -04:00
Bryan Housel
833a67f399 Allow history to set checkpoints and reset to them 2017-03-22 22:05:27 -04:00
Bryan Housel
d949fe08cb Fix faulty datum test from 681ee5a 2017-03-22 16:01:14 -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
681ee5a89a Prevent crash when missing datum
(This can happen if the user mouseups on a tooltip, e.g. in walkthrough)
2017-03-22 10:27:15 -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
31d2733c2a Remove unused mode variable - eslint 2017-03-22 02:51:47 -04:00
Bryan Housel
21321108f9 Fix wikipedia field link button
(closes #2024)
2017-03-22 02:39:07 -04:00
Bryan Housel
c3502a4e16 Only add the ellipses if the placeholder doesn't already end in one
(closes #3920)
2017-03-21 22:11:35 -04:00
Bryan Housel
d664f74832 When changing selection, always update the url hash 2017-03-21 14:20:25 -04:00
Bryan Housel
0228f934b3 Put back the selected class when redrawing selected lines 2017-03-21 14:19:57 -04:00
Bryan Housel
85ed3cc2d3 Cleanup line drawing code with selected sort 2017-03-21 12:42:46 -04:00
Bryan Housel
4903d495b7 Draw selected items last, so halos are more visible
(see #2914)
2017-03-21 02:17:04 -04:00
Bryan Housel
33e9b2ab7e Replace opening hours whitelist with regular expression 2017-03-20 23:21:09 -04:00
Bryan Housel
e1a9e7e74d Don't try to force opening-hours value lookups to lowercase
(closes #3629)
2017-03-20 23:02:35 -04:00
Bryan Housel
1ecb456a3c Support 1 and -1 in onewayCheck field
(closes #3910)
2017-03-20 22:23:52 -04:00
Bryan Housel
d1ab5d6fc4 Bring over some more code from combo, add translation strings 2017-03-20 13:16:56 -04:00
Bryan Housel
02f1eac72b Add snake/unsnake helpers, remember recently used type tag 2017-03-19 11:44:33 -04:00