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
d0fcae1b15
When drawing, ignore accidental clicks on mode buttons
...
(closes #4042 )
2017-08-07 00:24:16 -04:00
Bryan Housel
3e168935d1
Swap increment/decrement spin buttons when RTL
2017-08-06 22:00:30 -04:00
Bryan Housel
077ee6d4b5
refactor structure type field to use uiField
2017-08-05 23:30:34 -04:00
Bryan Housel
8a399096b2
Add options for fields, allow unwrapped fields (no label, buttons, etc)
2017-08-05 00:33:20 -04:00
Bryan Housel
76e605568e
WIP: refactor bridge/tunnel layer field to use uiField
2017-08-04 17:45:47 -04:00
Bryan Housel
216a04d962
Restore code to set state=hover (not sure if actually needed)
...
Also, fix hover style for textarea
2017-08-03 13:32:08 -04:00
Bryan Housel
6950220ced
Update the tags before rendering
2017-08-03 13:04:17 -04:00
Bryan Housel
7076bcef16
uiField now dispatches own events
2017-08-03 11:28:10 -04:00
Bryan Housel
6fe1efaf35
Some variables and formatting
2017-08-03 11:13:07 -04:00
Bryan Housel
2e278ba5ef
Fix "Add Field" combo
2017-08-03 10:28:07 -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
f6e76665a0
Rename uiPreset -> uiPresetEditor
...
(consistent with raw tag editor, raw member editor, etc)
2017-08-02 17:58:43 -04:00
Bryan Housel
ce12c34efe
WIP refactor field rendering code out of preset editor
2017-08-02 17:41:02 -04:00
Bryan Housel
3de93caff4
Merge branch 'master' into mandatory_names
2017-08-01 12:55:46 -04:00
Bryan Housel
fc50bed82d
Change to 80px arrow key panning (this matches Leaflet default)
...
(closes #4207 )
2017-08-01 12:03:07 -04:00
JamesKingdom
f69463b5c8
Removing blank field
2017-08-01 16:45:10 +01:00
JamesKingdom
6cbae830c2
Fix name push bug
2017-08-01 16:26:32 +01:00
JamesKingdom
bb744c018c
Don't force name tags
2017-08-01 00:54:36 +01:00
Bryan Housel
4e5ed2576a
Add hidden key trap field to prevent user from tabbing out of sidebar
...
(closes #4159 )
2017-07-24 14:01:47 -04:00
Bryan Housel
b720456ba8
Make expandable sidebar sections work with incognito mode
...
In other words, don't rely on context.storage() working
(re: #4159 )
2017-07-24 11:36:18 -04:00
Bryan Housel
3464a46df6
All imagery layers should just be owned by rendererBackground()
...
This moves management of the custom layer out of uiBackground()
2017-07-20 16:07:10 -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
a15821ecf1
Use single Custom backround source, and add template() accessor
...
Before, each time the user switched to the custom source, it would
create a brand new custom source with the offset set to [0,0]
(closes #3982 )
2017-07-10 23:25:40 -04:00
Bryan Housel
20c2de4701
Always display coordinate pairs as Lat,Lng (sorry @tmcw)
2017-07-05 20:34:07 -04:00
Bryan Housel
76f9397bb5
Add Tools tab to keyboard shortcuts, add panels key shortcuts
2017-07-05 18:12:51 -04:00
Bryan Housel
3043323ba9
Rename infobox to info-panels
2017-07-04 02:14:30 -04:00
Bryan Housel
562edc8121
Remove unused d3 imports
2017-07-04 02:00:39 -04:00
Bryan Housel
fd399de9d7
Fix changeset URL
2017-07-04 01:26:47 -04:00
Bryan Housel
f72d5cb988
Remove unused code (infobox isn't classed show/hide anymore)
2017-07-04 01:22:41 -04:00
Bryan Housel
cb249cc28b
Rename panel Imagery -> Background, change key G -> B
2017-07-04 01:18:45 -04:00
Bryan Housel
448b71cbce
Bind panel toggles to ⌘⇧ + key
2017-07-04 01:03:23 -04:00
Bryan Housel
b9df6df03f
Imagery vintage improvements:
...
- Cache vintage lookups from Bing API
- Actually sample a tile at the center of the viewport,
rather than just divinding tiles/2 (not a good guess)
- Refactor the start-end range code into one place
2017-07-03 15:12:59 -04:00
Bryan Housel
39621f99fa
Add a show/hide tiles toggle button, position buttons relatively
2017-07-03 11:24:39 -04:00
Bryan Housel
c669bc72cd
Move imagery info from location panel to its own panel
2017-07-01 02:04:59 -04:00
Bryan Housel
0d27743b81
Improve formatting for imagery capture dates
2017-07-01 00:47:16 -04:00
Bryan Housel
150985a57d
Fetch imagery vintage from Bing source, add info to location panel
2017-06-30 18:52:17 -04:00
Bryan Housel
946432d6f1
Add history panel
...
(closes #2273 )
(closes #3761 )
2017-06-30 02:09:56 -04:00
Bryan Housel
92a057bf3c
git mv modules/ui/info -> modules/ui/panels
2017-06-29 23:05:14 -04:00
Bryan Housel
79466e2893
Display reverse geolocated location in location panel
...
(closes #2515 )
2017-06-29 01:24:09 -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
991eb58bcc
Remove unused singularKey
2017-06-28 17:17:34 -04:00
Bryan Housel
b12fad8d97
Remove code that prevented draws, report all numbers at OSM precision
2017-06-28 16:24:47 -04:00
Bryan Housel
f2d0662266
Add location widget
...
(closes #2183 )
2017-06-28 16:10:46 -04:00
Bryan Housel
07190958a5
Force redraw of measurement box when switching between imperial/metric
2017-06-27 14:09:19 -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
e1f88f4a18
WIP towards multi-pane info box
2017-06-24 22:26:14 -04:00