Martin Raifer
43784e2eff
take entity loc into account when resolving fields via parent preset, fixes #9524
...
this necessary when a regional preset (e.g. from NSI) is supposed to inherit fields from a parent preset, but the direct parent does NOT apply at the location of the entity to be added/edited. In that case we need to search for a potential regional variant of the parent preset.
2023-05-25 19:19:09 +02:00
Quincy Morgan
7a3a84b7b2
Remove broken "tail" functionality ( close #7560 )
2020-05-07 10:26:50 -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
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
67fc051632
Tweak newFeature in select mode
2019-03-26 16:34:23 -04:00
Bryan Housel
0e90167513
Remove lodash clone
...
(re: #6087 )
2019-03-22 23:18:25 -04:00
Quincy Morgan
062872c4f0
Merge tags instead of adding new point when adding a point to a point
...
Fix lint error
2019-03-05 09:39:55 -05:00
Quincy Morgan
b828ada0e2
Don't allow adding point-only features as vertices
2019-03-04 17:04:35 -05:00
Quincy Morgan
971b901b21
Add 1 as the hotkey for focusing the search bar
2019-03-02 15:37:15 -05:00
Quincy Morgan
5ed5a7536b
Show preset browser when adding generic point, line, or area
2019-03-01 09:07:41 -05:00
Quincy Morgan
1058a2cb27
Fix instances where adding favorite preset would not add tags
2019-02-27 12:27:54 -05:00
Quincy Morgan
2da011c3ca
Remove unused string
...
Don't show preset browser when adding a favorite point
Don't automatically open the sidebar when selecting a non-new feature
2019-02-27 12:20:23 -05:00
Quincy Morgan
dead97e321
Reduce parameters for add modes
...
Tweak CSS classes
2019-02-26 15:17:04 -05:00
Brian Hatchl
1faa6ad839
Favorite preset
2019-02-20 15:23:58 -05:00
Quincy Morgan
510d7e93e5
Fixes two lint warnings for unused vars
2018-10-18 18:47:04 -07:00
Quincy Morgan
70c3d9cf24
Adding a new point on a way now adds a vertex, not a standalone point
2018-10-18 17:36:30 -07:00
Bryan Housel
914ef0236a
Convert lodah-es and d3 to named imports for modes
2017-09-24 23:25:49 -04:00
Bryan Housel
e756520bd8
suppressMenu(true) is now the default
2017-02-21 15:47:22 -05:00
Bryan Housel
07fa5fcc34
Refactor Entity, Node, Relation, Tags, Way from core to osm
2016-10-11 22:41:24 -04:00
Bryan Housel
0d0e54fdff
Fix more namespaces that were missed in the first pass
2016-10-04 21:15:30 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -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
39c82af158
Sort modules [eslint rule]
2016-07-06 12:12:08 +05:30
Kushan Joshi
33b2b1e6fd
external modules for modes
2016-06-22 12:34:43 +05:30
David Culverhouse
34904f0525
Migrate "modes" into ES6 modules for #3118
2016-06-15 00:11:32 -04:00