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
Bryan Housel
d7e8625d6b
Use uiDisclosure for background pane subsections, move brightness
2017-11-28 15:06:19 -05:00
Bryan Housel
5a9749c516
Fix bug that caused clicking a uiDisclosure to change the url
...
(closes #4570 )
2017-11-27 23:42:02 -05:00
Bryan Housel
385297d993
Use uiDisclosure for data pane subsections
2017-11-27 22:05:02 -05:00
Bryan Housel
34cdab9197
uiDisclosure now handles expanded state in localStorage
...
Now all the places that use a uiDisclosure won't have to do that
2017-11-27 17:13:57 -05:00
Bryan Housel
d2c70938f6
Wrap offset control in uiDisclosure, fix event handling on input field
...
(closes #4553 )
2017-11-27 13:54:32 -05:00
Bryan Housel
857a1c4821
Refactor offset control into separate uiBackgroundOffset module
2017-11-27 12:03:14 -05:00
Bryan Housel
c0040f3cd6
Add caseSensitive option for combofields, use for source=*
...
(closes #4558 )
2017-11-26 19:30:19 -05:00
Bryan Housel
434bc5af96
Improve styling of keyboard shortcuts, clicks, commands in help text
2017-11-23 02:31:12 -05:00
Bryan Housel
fd49f47ede
Now background, map_data, help stay open when user clicks on map surface
...
There is really no need to hide these, and the user might just want to
keep the pane open (e.g. viewing help) while they do stuff.
2017-11-22 22:29:06 -05:00
Bryan Housel
bf2251bbc4
Add markdown headings with code, not in translation text
2017-11-22 22:27:23 -05:00
Bryan Housel
70fb1432ea
Remove the unused icons from the replacements object
2017-11-22 21:27:24 -05:00
Bryan Housel
6490abbb4f
Split up all help sections and titles, assemble markdown from keys
...
(also incorporate some of @1ec5's copyedits, and adjust icon styles)
2017-11-22 17:25:57 -05:00
Bryan Housel
ca49166d6c
Simplify language in relation section
2017-11-22 11:16:55 -08:00
Bryan Housel
5a70308947
Simplify language in feature_editor section
2017-11-22 11:16:55 -08:00
Bryan Housel
c484e8cc92
Swap undo/redo when rtl
2017-11-22 11:16:55 -08:00
Bryan Housel
1f6c8d9132
Move more of the content from the walkthrough into the help sections
2017-11-22 11:16:55 -08:00
Bryan Housel
467fcb8b9a
Simplify language in imagery section, move streetlevel and gps after
2017-11-22 11:16:55 -08:00
Bryan Housel
f48a00ce50
Simplify language in GPS section, add section on streetlevel photos
2017-11-22 11:16:55 -08:00