Commit Graph

51 Commits

Author SHA1 Message Date
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
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
7e6f68a1b2 Remove lodash some
(re: #6087)
2019-03-23 00:07:52 -04:00
Bryan Housel
460d144c66 Use centerZoomEase for smoother walkthrough transitions 2019-01-16 01:32:15 -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
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
d296c26fcc Convert lodah-es and d3 to named imports for ui/intro 2017-09-26 00:27:21 -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
8395ca8b43 Adjust position of Name Road prompt, simplify code
(closes #3992)
2017-04-28 14:57:44 -04:00
Bryan Housel
1dfd3f46ac Put the tooltip near the Residential Road button
(closes #3985)
2017-04-26 09:36:20 -04:00
Bryan Housel
cf9eb22e5f Adjust language, remove curtain for play steps 2017-04-17 17:51:22 -04:00
Bryan Housel
b743d37a31 Fixes for RTL, improve curtain placement for edit menu steps 2017-04-17 14:06:05 -04:00
Bryan Housel
e249826b1b Adjust timings a few places so draw handler doesn't interrupt reveal 2017-04-17 11:13:32 -04:00
Bryan Housel
992a6aa958 More guard code to protect against user undos and mode changes 2017-04-15 00:32:36 -04:00
Bryan Housel
5b81ea1f8f Be less strict about where the endpoint can go 2017-04-11 22:59:19 -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
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
500dbfa054 Remove road routes, update names, make all lanes localizable 2017-04-05 17:01:19 -04:00
Bryan Housel
d3bff9e3ee Renumber introGraph to shrink it even more 2017-04-05 00:55:59 -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
e1e366c5f4 Add a description to the park instead of a name
(closes #3121)
2017-03-31 13:44:42 -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
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
6cc524a0a0 Improve walkthrough tooltip placement, fix for RTL too
(closes #3925)
2017-03-25 00:48:55 -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
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
a015b4442b "step" -> "chapter" - each chapter contains many steps 2017-03-22 10:16:39 -04:00
Bryan Housel
ff1b16c769 Improve tests for line joins in walkthrough
(closes #3695)
2017-02-02 21:50:57 -05: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
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
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