52 Commits

Author SHA1 Message Date
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
Gabor Hodi
29697aa728 [Issue8906] Fix broken html in the Area part of the Walkthrough 2022-01-20 18:29:53 +01:00
Martin Raifer
282695325c fix html injection in walkthrough
closes #8846
2021-12-29 09:59:45 +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
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
e93e0fdbf9 Update buildings walkthrough chapter for touchscreens 2020-07-10 16:02:30 -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
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
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
a7e713da15 Fixed an issue in the Areas walkthrough chapter where the user could not proceed after adding the Description field 2019-01-21 11:51:25 -05: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
1611a042ba Make sure "Add Field" scrolls into view during Area chapter of walkthrough
(closes #4417)
2017-10-09 12:34:47 -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
f19c879aba Mention keyboard shortcuts in intro, localize Alt key 2017-06-18 02:30:31 -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
bde1c78d32 Break up longer text, mention Alt key to avoid point snapping 2017-04-18 14:06:00 -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
5acad221a9 Catch a few more conditions where the user changed tutorial data 2017-04-17 10:40:24 -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
633edf15b8 Increase delay before checking if Description field was added 2017-04-14 00:53:33 -04:00
Bryan Housel
8a2e1633c9 Adjust timings, language, transitions in walkthrough 2017-04-10 16:59:41 -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
e1e366c5f4 Add a description to the park instead of a name
(closes #3121)
2017-03-31 13:44:42 -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
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
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
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
Kushan Joshi
780960c711 interim 2016-07-06 00:34:35 +05:30