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
9576e95d83
change label of ui fields from raw html to a callback function
...
fixes #9159
2022-06-23 10:49:38 +02:00
Martin Raifer
b2d0ad680a
fix icons not displaying correctly in walkthrough
2021-12-02 10:10:19 +01: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
32f8274929
Make t function return a span element with a lang attribute unless html: false is specified in the options (re: #7963 )
...
Update `text` functions to `html` to support inserting the `span` elements
Specify `html: false` for various instances where a `span` is not desired, e.g. `placeholder` and `title` attributes
2020-09-15 21:56:22 -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
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
45f337e13c
Merge branch 'develop' into touch-walkthrough-update
2020-07-10 10:32:36 -04:00
Quincy Morgan
3d4703b60c
Fix various CSS issues
2020-07-06 15:28:25 -04:00
Quincy Morgan
0bc56f9471
Start touch support for walkthrough (re: #7692 )
2020-06-26 15:48:57 -04: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
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
6782947f5b
Make inspector sections inherit from uiSection (re: #7368 )
2020-02-21 15:22:54 -08: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
Bryan Housel
460d144c66
Use centerZoomEase for smoother walkthrough transitions
2019-01-16 01:32:15 -05: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
d296c26fcc
Convert lodah-es and d3 to named imports for ui/intro
2017-09-26 00:27:21 -04:00
Bryan Housel
1bf514b7fc
Move field rendering code from preset_editor to field.js
2017-08-03 01:10:59 -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
65e403c524
Add a bit more instruction about dragging, mention keyboard arrow keys
...
(closes #4015 )
2017-05-05 16:04:48 -04:00
Bryan Housel
76d9f0293e
Teach +/- buttons during the zoom step, and don't cover them with curtain
...
(closes #4014 )
2017-05-05 15:49:05 -04:00
Bryan Housel
4bd883b221
Don't lowercase the field names in the tutorial
...
(closes #3977 )
2017-04-21 13:24:04 -04:00
Bryan Housel
cf9eb22e5f
Adjust language, remove curtain for play steps
2017-04-17 17:51:22 -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
16b8d5c876
More gentle introduction to jargon
2017-04-16 22:35:57 -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
5c687e5c1c
Gentler introduction to jargon, add some more defensive code
2017-04-13 15:26:21 -04:00
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
8a2e1633c9
Adjust timings, language, transitions in walkthrough
2017-04-10 16:59:41 -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
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