Martin Raifer
9b7b0cde9e
fix walkthrough from not correctly registering deleted ways
...
fixes #10776 , this was a regression in 7559dea
2025-02-16 11:37:25 +01:00
Martin Raifer
7559dead80
add missing retries in walkthrough if edit menu is closed accidentally
...
e.g. for the "delete node" step, when the map is accidentally panned the edit menu will be closed, causing the walkthrough to get stuck
2025-01-10 16:04:55 +01:00
Martin Raifer
4ae5e86491
make sure walkthrough tooltip are using the main map surface
...
fixes bug: if there were extra rendering surfaces loaded, e.g. the one of the turn restriction editor, the walkthrough tooltips and the curresponding masks were inadvertently rendered to that secondary surface, which can be even offscreen
2025-01-10 14:15:49 +01:00
Martin Raifer
282695325c
fix html injection in walkthrough
...
closes #8846
2021-12-29 09:59:45 +01:00
Quincy Morgan
ba48a861bc
Enable curly and block-spacing eslint rules
2020-11-10 14:19:11 -05:00
ricloy
0f87da6340
Update line.js
...
fix walkthrough hangs when "Washington street" is split
2020-10-28 10:46:07 +00:00
Quincy Morgan
21a49bbec8
Initial support for D3 v6.2.0
2020-10-06 15:08:39 -04:00
Quincy Morgan
5435082d9c
Revert t function to returning the plain string by default
...
Add `t.html` function for getting the string with the `lang` attribute
2020-09-22 12:03:29 -04:00
Quincy Morgan
e6703cb1cc
Begin making UI adapt correctly to scaled text sizes (re: #7965 )
2020-09-09 16:11:46 -04:00
Quincy Morgan
99383355b2
Update doubletap icon
...
Use consistent close button
Update a few strings
2020-07-13 14:33:49 -04:00
Quincy Morgan
3892600814
Reduce redundant strings in the walkthrough
...
Update the lines walkthrough chapter for touchscreens
Add toggled dispatch event to the edit menu
2020-07-10 15:24:01 -04:00
Quincy Morgan
cf5bf61d72
Use the same string replacements for the walkthrough as the help docs
...
Use keyboard styling for keys referenced in the walkthrough
Add mouse icons for left/right click referenced in the walkthrough
Add labels for all buttons referenced by icon in the walkthrough
2020-07-10 12:18:46 -04:00
Quincy Morgan
0bc56f9471
Start touch support for walkthrough (re: #7692 )
2020-06-26 15:48:57 -04:00
Quincy Morgan
95dc16b7a6
Update more mouse events to use pointer events if available (re: #5505 )
2020-05-08 16:10:15 -07:00
Quincy Morgan
ff4eb971ac
Fix various issues that made the walkthrough non-completable
2020-05-07 13:27:20 -07:00
Quincy Morgan
60f7dc7c0b
Replace presets property of context with singleton
...
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan
a1af118f0e
Ensure locales and presets are loaded before the UI loads ( close #7406 )
...
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
74e7a108a9
Remove global selection from walkthrough (re: #7445 )
2020-03-29 10:19:59 -07:00
Quincy Morgan
ece8b90be2
Don't use global selection in intro (re: #7445 )
2020-03-24 11:36:34 -07:00
Quincy Morgan
36082a8119
Use ideditor as the container class instead of id-container
...
Scope all CSS to iD's container (close #7437 )
Don't style html or body elements unless running standalone iD
2020-03-22 16:54:12 -07:00
Quincy Morgan
5fd25601fe
Convert map surface and supersurface from ids to classes
2020-03-21 13:41:06 -07:00
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