Milos Brzakovic (E-Search)
4db3e720c0
close icon button
2021-11-26 12:25:12 +01:00
Quincy Morgan
21a49bbec8
Initial support for D3 v6.2.0
2020-10-06 15:08:39 -04:00
Quincy Morgan
4600ab596f
Add lang attribute to more display labels (re: #7963 )
2020-09-23 10:10:24 -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
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
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
46a52cb19e
Add button to toggle the Background info panel (re: #6397 )
...
Reword imagery problem link label (close #6820 )
2019-09-09 12:23:58 -04: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
152022aec4
Use context.keybinding for keybindings that don't change
...
(closes #5487 )
2018-11-13 20:57:21 -05:00
Bryan Housel
bb30cbf555
Move lib/d3.keybinding.js -> util/keybinding.js
...
almost none of the original d3 "plugin" code remains
2018-11-13 13:42:09 -05: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
3d13620705
Convert lodah-es and d3 to named imports for ui
2017-09-26 11:22:43 -04:00
Bryan Housel
dca1cdc440
Fix: Ctrl+Shift+B also swaps between the background like Ctrl+B
...
(closes #4153 )
2017-07-17 15:29:13 -04:00
Bryan Housel
3043323ba9
Rename infobox to info-panels
2017-07-04 02:14:30 -04:00
Bryan Housel
448b71cbce
Bind panel toggles to ⌘⇧ + key
2017-07-04 01:03:23 -04:00
Bryan Housel
92a057bf3c
git mv modules/ui/info -> modules/ui/panels
2017-06-29 23:05:14 -04:00
Bryan Housel
9a0deaa484
Rename widget -> panel
2017-06-28 22:34:03 -04:00
Bryan Housel
ece73a9be4
Infobox ⌘I now toggle all widgets
2017-06-28 17:21:15 -04:00
Bryan Housel
f2d0662266
Add location widget
...
(closes #2183 )
2017-06-28 16:10:46 -04:00
Bryan Housel
01fe0db42a
Add close 'x' to infobox
2017-06-27 01:54:45 -04:00
Bryan Housel
5b95246157
Adjust styles, don't redraw measurement info if infobox is hidden
2017-06-26 23:19:50 -04:00
Bryan Housel
22c707a6e2
Make infobox a container for widgets, measurement code a widget
2017-06-26 21:10:47 -04:00
Bryan Housel
22cb4c7f20
Add ability to localize more keyboard shortcuts
...
(closes #4081 )
H: Help
?: Keyboard Shortcuts
⌘I: Infobox
B: Background
⌘B: Switch Background
F: Map Data
W: Wireframe
/: Minimap
2017-06-18 00:17:44 -04:00
Martin Raifer
7069ca8ef7
fix info box content and crash when drawing areas while info box is open
2016-11-08 17:21:08 +01:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
415dd8c7ba
Fix infobox
2016-09-17 13:18:02 -04:00
Tom MacWright
ed135ce9ef
Enable lib tests
2016-09-05 10:22:45 -04:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -04:00
Tom MacWright
a59b0d9fdf
Fix transitions and multis
2016-08-24 10:42:34 -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
Tom MacWright
604d1e2719
import lodash ( #3257 )
2016-07-19 12:04:16 -04:00
Bryan Housel
cb71e90384
Module for iD.Detect() ( #3243 )
...
* convert iD.Detect() iife to a module
* iD.Detect() should return loaded locale (except for 'en')
(The previous code was a hack to replace the detected locale with the loaded
locale. Now that Detect is a module, we can not replace the detected locale
from external code, but we can have Detect() return the locale we really want)
2016-07-13 09:15:47 -04:00
Kushan Joshi
7188065a6c
disband ui/core
2016-07-02 19:04:51 +05:30