Martin Raifer
7385654df1
change walkthrough imagery to Bing
...
the old esri layer does not seem to be available anymore
2025-04-29 14:26:00 +02:00
Martin Raifer
fa91fe7c0d
fix zoom resetting wrongly when switching background mid-transition
...
see https://github.com/openstreetmap/iD/issues/10700#issuecomment-2832010049
2025-04-26 21:10:16 +02: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
77061e9c6c
Fix lint warnings
2020-05-08 09:42:02 -07:00
Quincy Morgan
38bc5131fa
Fix incorrect curtain positioning when iD's container doesn't match the window dimensions ( close #7551 )
2020-05-08 09:40:27 -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
a58abe3c6f
Move localStorage interface from a property of coreContext to a corePreferences function
2020-04-01 11:00:48 -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
eed7944a1a
Replace various uses of d3_select and d3_selectAll with selection on the container
2020-03-22 12:34:06 -07:00
Quincy Morgan
c893147e15
Convert some element ids to classes to avoid collisions when embedding iD
2020-03-20 13:53:17 -07:00
Bryan Housel
567eeac587
Make several data external instead of bundled:
...
Also dist/data/* contains minified files now
These are now external and will fetch as needed:
-export { dataAddressFormats } from './address-formats.json';
-export { dataDeprecated } from './deprecated.json';
-export { dataDiscarded } from './discarded.json';
-export { dataLanguages } from './languages.json';
-export { dataPhoneFormats } from './phone-formats.json';
-export { dataShortcuts } from './shortcuts.json';
-export { dataTerritoryLanguages } from './territory-languages.json';
2020-01-28 22:21:31 -05:00
Bryan Housel
31e007fc83
Create a data loader and move the intro graph into dist/data
...
(re: #3403 )
2020-01-27 17:15:00 -05:00
Quincy Morgan
71bfeb5a9f
Fix lint warnings
2019-11-07 20:16:05 +01:00
Quincy Morgan
d89996e52c
Update country-coder to 2.0.0 ( close #7029 )
...
Localize address field in walkthrough without overwriting country coder function
2019-11-07 18:45:46 +01:00
Quincy Morgan
8c0740191f
Replace remaining nominatim countryCode calls with country-coder calls ( close #6941 )
2019-11-01 18:15:35 +01:00
Bryan Housel
5b4aa529de
Replace lodash uniq
...
(re: 6087)
2019-03-27 02:43:25 -04:00
Bryan Housel
5e1ff74199
Replace lodash difference, intersects, union
...
(re: 6087)
2019-03-27 01:22:11 -04:00
Bryan Housel
11bfeaabfc
Add browser-polyfills, remove lodash assign, compact, values
...
(re: #6087 )
2019-03-22 17:14:41 -04:00
Bryan Housel
cbcafaee15
Make sure sidebar is expanded before entering walkthrough or saving
...
(closes #5574 )
2018-12-08 10:03:43 -05:00
Quincy Morgan
b366ace770
Switches from == to === in prior commit
2018-12-04 17:33:39 -08:00
Quincy Morgan
3cb2b8c901
Fixes an issue where the walkthrough would not display and cause an error
2018-12-04 17:29:19 -08:00
Bryan Housel
509464c932
Don't allow user to toggle sidebar in the walkthrough
...
(this would mess up all the tooltips)
2018-11-08 14:07:06 -05:00
Bryan Housel
826e08149b
Setup data layers before starting the walkthrough
...
(closes #5136 )
2018-11-08 13:53:13 -05:00
Bryan Housel
19560ebc90
Properly save and restore caches when entering/leaving the walkthrough
2018-07-12 15:39:04 -04:00
Bryan Housel
9b6e405448
Use Esri World Imagery (clarity) in the intro walkthrough
2018-06-15 10:09:15 -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
7a616cc49f
Switch to EsriWorldImagery background layer for the tutorial..
2017-10-06 00:31:28 -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
8cb04a087c
Track walkthrough progress in localStorage
2017-08-16 14:30:21 -04:00
Bryan Housel
99a3741b0c
Better isolation of services, to avoid hitting network during test runs
...
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
(e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
Bryan Housel
232fbf13c8
Don't show overlay layers in the walkthrough
...
(re: #4007 )
2017-05-03 17:44:54 -04:00
Bryan Housel
92d6d51724
Mock geocoder in walkthrough so we can localize address field
2017-04-21 17:53:37 -04:00
Bryan Housel
a16ae21874
Clear away recent presets when switching to a new chapter
2017-04-11 22:49:09 -04:00
Bryan Housel
912d565fc3
Update walkthrough name localization, no more hardcoded osmids
2017-04-05 14:13:46 -04:00
Bryan Housel
d3bff9e3ee
Renumber introGraph to shrink it even more
2017-04-05 00:55:59 -04:00
Bryan Housel
5f627c858e
Localize a few more walkthrough names, start buildings chapter
2017-04-01 21:43:40 -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
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
424ad63993
Fix rtl for tooltip-illustrations, replace 'done' with next icon
2017-03-24 10:02:52 -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
8200cbb1f4
Use checkpoints to reset history to known states in walkthrough
2017-03-22 22:32:44 -04:00