Bryan Housel
fb196bee8c
Persist area-fill-toggle so we can toggle out of wireframe
...
(closes #4740 )
2018-01-24 14:53:30 -05:00
Bryan Housel
300616819d
Don't use the same keybind id for modeSave (esc dialog) and uiSave (Ctrl+S)
...
(closes #4728 )
2018-01-24 13:46:01 -05:00
Bryan Housel
0bb812c916
Merge pull request #4672 from openstreetmap/1ec5-num-format-3597
...
Localize numbers, units in scale, info panels
2018-01-23 18:05:37 -05:00
Bryan Housel
9cf3630439
Merge pull request #4694 from openstreetmap/1ec5-membership-title-4565
...
Describe relation in tooltip in add membership list
2018-01-23 17:32:46 -05:00
Gautier Pelloux-Prayer
58a4699508
Restore area fill from local storage including wireframe
2018-01-23 20:20:16 +01:00
Gautier Pelloux-Prayer
5077f88a4d
Restore latest imagery used from local storage
2018-01-21 23:04:16 +01:00
Bryan Housel
3838b02739
Add detect.cssfilters, fallback to opacity only on IE11/Edge
...
(re: #4711 )
2018-01-19 17:28:35 -05:00
Bryan Housel
467de651f7
Guard code from 9b99115b3 needs to be in undo_redo.js too
2018-01-19 13:49:20 -05:00
Bryan Housel
9b99115b3e
Guard code for context.mode
...
In case this is somehow called before initialization is complete
It happens rarely when restoring the initial changes and deferring rendering
2018-01-19 11:44:14 -05:00
Bryan Housel
1697c48360
Fix flickering and drag-node breakage in line endpoint walkthrough step
2018-01-18 22:02:56 -05:00
Bryan Housel
efc2678610
Fix feature list / current view searching
...
(closes #4690 )
2018-01-18 17:55:14 -05:00
Bryan Housel
44234ede66
Make Help pane slightly wider
...
(re: "claustrophobia" on #4651 , #4686 )
2018-01-18 17:31:26 -05:00
Minh Nguyễn
33817af2b7
Describe relation in tooltip in add membership list
2018-01-14 13:19:35 -08:00
Minh Nguyễn
ea7339f49a
Fixed geometry type word order
...
In many languages, the word for “closed” would follow the word for “line” or “area”, not precede it. Additionally, the word for “closed” may differ depending on what it modifies.
2018-01-09 03:30:14 -08:00
Minh Nguyễn
702e3d2a90
DMS coordinates
2018-01-09 03:25:55 -08:00
Minh Nguyễn
fe8c218fb3
Localized geocoded coordinate formatting
2018-01-09 02:24:03 -08:00
Minh Nguyễn
a1e0d4fc08
Consolidated unit formatting into util module
2018-01-09 02:00:44 -08:00
Minh Nguyễn
d75aa7d04a
Internationalized measurement panel
2018-01-09 00:58:58 -08:00
Minh Nguyễn
bc5cbc7dfd
Generalized unit keys
2018-01-09 00:13:49 -08:00
Minh Nguyễn
1d8d7a74a3
Made scale legend localizable
2018-01-09 00:10:19 -08:00
Bryan Housel
1b973f3c9b
Be more careful about enter/update selection in conflict resolution ui
...
This fixes one of the issues in #4351 where the radio button was not
selected. This was likely introduced during the upgrade to d3 v4, now
that enter selections do not automatically flow into update anymore.
(the fix is to add a `merge` to ensure that the `selection.each` actually
has some things to iterate over)
2018-01-07 23:46:54 -05:00
Bryan Housel
590487d237
Fix escape keybind when conflicts ui is active
...
(re: 4351)
2018-01-06 23:16:48 -05:00
Bryan Housel
a63c4a72fe
Improvements to save flow
...
- Attempt fast save first, only perform conflict resolution if necessary (re: #3056 )
- Block reentry of save, and dont keep focus on save button (closes #4641 )
- Refactor modeSave() for code clarity (avoid shared state in closure variables)
2018-01-05 15:11:44 -05:00
Bryan Housel
8914d1ce36
Variable cleanups and formatting
2018-01-04 16:13:13 -05:00
Bryan Housel
286c09366a
Remove unused var (eslint)
2018-01-04 15:55:53 -05:00
Bryan Housel
b2eb982044
Add support for oneway alternating/reversible to oneway check fields
...
Also allow checkbox field to display non-standard values
(i.e. not 'yes' or 'no) in the field label
2018-01-04 13:41:35 -05:00
Bryan Housel
dba4626cfa
Merge pull request #4575 from openstreetmap/background_pane
...
Enhancements to Background, Map Data, Help panes
2018-01-03 15:32:18 -05:00
Bryan Housel
04fa29cfe6
Move link to imagery faq, reword as "Imagery Info / Report a Problem"
...
(closes #4546 )
2018-01-03 15:23:47 -05:00
Bryan Housel
46ebe02555
Clean up styles, move minimap toggle below background imagery list
2018-01-03 14:35:27 -05:00
Bryan Housel
53aa2973e4
Refactor display options controls to uiBackgroundDisplayOptions
2018-01-03 01:47:25 -05:00
Bryan Housel
48834a0ea5
Add reset buttons for display sliders
2018-01-02 23:41:21 -05:00
Wille Marcel
9f1b928f89
add number of nodes information to measurement panel
2018-01-02 10:45:44 -03:00
Bryan Housel
be5929d4dc
Merge pull request #4602 from openstreetmap/direction_vertices
...
Support rendering `direction` on vertices (stop sign, traffic_signals, etc)
2018-01-01 23:02:45 -05:00
Bryan Housel
6881205d43
All touch targets are GeoJSON now
...
This makes the code a bit more consistent and lets us avoid some
hacky and probably non-performant things:
- abusing CSS classes in the draw/drag datum functions (classed `.target`)
(is this thing target? just check d.properties)
- regexing the id for `-nope$`
(is this thing a nope target? just check d.properties)
- using context.hasEntity to get a the real entity
(is this thing a real osmEntity? just check d.properties)
- fixes code like the restriction editor which uses fake ids for split ways
2018-01-01 22:37:10 -05:00
ajlomagno
5d3df25960
Moved cleanuo code to exit function in welcome.js
2017-12-27 13:19:22 -05:00
ajlomagno
81910d4f27
Fixed click counter persisting
2017-12-26 15:12:11 -05:00
Bryan Housel
2e2b037e36
Move a bunch of commonly used vector and projection math functions into geo
...
- geoVecAdd
- geoVecSubtract
- geoVecScale
- geoZoomToScale
- geoScaleToZoom
2017-12-18 15:05:42 -05:00
Bryan Housel
bcd511573f
Fix extent in turn restrictions viewer, so vertices will render
2017-12-18 00:34:54 -05:00
Bryan Housel
a5bbc21728
Remove unnecessary zoom parameter
2017-12-11 17:34:01 -05:00
Bryan Housel
18ab596f58
Improve int'l date/time strings on imagery and history tools
...
(closes #4594 )
2017-12-06 15:27:54 -05:00
Bryan Housel
3440b5523c
Use ⌘F to focus the feature search box
...
(closes #4545 )
2017-12-06 01:19:02 -05:00
Bryan Housel
f247bd1e66
Move icon code into uiFlash, default flash icon to icon-no
...
Previously it was up to the caller to draw whatever they want into the
footer flash. With this change, uiFlash creates an icon and a text, so
the caller doesn't need to do as much work.
2017-12-05 23:41:34 -05:00
Bryan Housel
50c1b58bda
Added saturation slider, simplify code, improved sharpen parameters
2017-11-30 23:24:55 -05:00
Bryan Housel
53225f08ec
more tweaks to unsharp mask
2017-11-30 16:19:06 -05:00
Bryan Housel
b1efcf83b2
Add Sharpness slider
2017-11-30 08:50:32 -05:00
Bryan Housel
2946774e60
WIP: Add unsharp-mask filter layer to sharpen background imagery
2017-11-30 01:56:23 -05:00
Bryan Housel
d24e2663f2
Replace confusing opacity buttons with opacity slider
2017-11-29 17:02:13 -05:00
Bryan Housel
17809545c6
Ensure only one pane shown at a time, remove unnecessary handlers
2017-11-28 23:21:52 -05:00
Bryan Housel
2e2dd5f025
Larger headings on Map Data and Background panes
2017-11-28 22:49:46 -05:00
Bryan Housel
61bb9d968d
Restyle uiDisclosures, larger text, svg expand/contract icon
2017-11-28 21:33:46 -05:00