Quincy Morgan
949ec8afa0
Add issue count badges to the bottom info bar when validating Everything
2019-10-14 17:14:47 +02:00
Quincy Morgan
c88f2cb43c
Support @ for collapsing the sidebar for French keyboards ( close #6864 )
2019-09-26 12:20:07 +02: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
Albin Larsson
cd5cd81ba5
make additional buttons and links keyboard accessible
2019-07-31 08:24:26 +02:00
Quincy Morgan
eb49a367b4
Don't reuse changeset comment, sources, and hashtags from prior uploads ( close #6642 , re: #6279 )
2019-07-22 16:12:20 -04:00
Bryan Housel
cc4991d111
Don't draw until we've set zoom/lat/long
2019-05-17 11:19:38 -04:00
Quincy Morgan
cc85897348
Fix map pane animation on RTL layout ( close #6290 )
2019-05-03 11:05:10 -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
a30051fd9c
Restore full screen ability
2019-04-18 10:37:22 -07:00
Quincy Morgan
6bdf6c5127
Fix minimap position ( close #6167 )
...
Flexbox panes and info panels to prevent overlap (close #4733 )
2019-04-15 11:50:54 -07:00
Quincy Morgan
1698be7bfa
Move the top toolbar creation to its own file
2019-03-11 11:07:45 -04:00
Quincy Morgan
e003660a6d
Style favorite presets more like buttons
2019-03-07 10:51:17 -05:00
Bryan Housel
0518fa6479
Put map panes into their own div
2019-03-06 21:52:37 -05:00
Quincy Morgan
43661d1b39
Merge add search bar UI with draw mode buttons UI
2019-02-28 16:20:19 -05:00
Quincy Morgan
4e5b507fc5
Separate the add note button from the add feature buttons
2019-02-28 15:48:47 -05:00
Quincy Morgan
a2297c8896
Move spinner out of the top bar
2019-02-28 15:23:08 -05:00
Quincy Morgan
4a82604cab
Add search-to-add functionality
2019-02-28 15:00:00 -05:00
Quincy Morgan
b6effd6ed0
Add initial search bar UI element
2019-02-28 11:19:40 -05:00
Quincy Morgan
aff86979a6
Better pane display at narrow window widths ( close #5890 )
2019-02-20 13:47:11 -05:00
Quincy Morgan
11b2102761
Merge branch 'master' into validation
...
# Conflicts:
# data/core.yaml
# dist/locales/en.json
# modules/ui/commit_warnings.js
# modules/ui/entity_editor.js
# modules/util/index.js
# modules/util/util.js
# modules/validations/index.js
# modules/validations/many_deletions.js
# modules/validations/missing_tag.js
2019-01-14 10:13:56 -05:00
Bryan Housel
826f66a91b
Unique values for key codes moved to utilKeybinding, uiShortcuts
...
This lets us supply lists of keys which might contain duplicates, but will be
made unique. For example: [t('sidebar.key'), '`', '²']
'sidebar.key' may be one of the other choices, but will be deduplicated.
2019-01-07 11:12:24 -05:00
Bryan Housel
55d2dddb70
Keybind all of _uniq([t(sidebar.key), '`', '²']) to toggle sidebar
...
(closes #5663 )
2019-01-06 00:33:35 -05:00
Quincy Morgan
cf0214d06a
Add the Issues pane
2018-12-18 11:11:15 -05:00
Bryan Housel
77a9dde6f7
Make sure combobox can always receive arrow and esc events
2018-12-05 15:59:06 -05:00
J Guthrie
7bf4c462e8
Lowered redraw threshold to 2px
2018-11-21 09:25:30 +00:00
J Guthrie
5fc312620f
Converted to using custom Event
2018-11-20 18:39:00 +00:00
Bryan Housel
b7e218a6cb
Remap Safari gesture events to wheel events - #5492
...
(still needs some more testing)
2018-11-17 02:31:15 -05: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
4a3d5e2316
Avoid reflow caused by restriction editor checking its dimensions
2018-11-10 00:40:45 -05:00
Bryan Housel
a73a75d1d3
Adjust initialization order so that map has dimensions before hash()
...
This fixes a weird regression where the hash would try to centerzoom the map,
but the map did not yet have dimensions, so the center would end up in the top-left.
2018-11-08 11:15:26 -05:00
Bryan Housel
e31e84b109
Simplify some things I found confusing
...
- class the #sidebar itself as collapsed not the #id-container
- the #sidebar is the selection, so just use `selection` instead of
`var sidebar = d3_select('#sidebar');`
(which conflicts with the closure `sidebar()` function)
- have separate functions `expand` `collapse` `toggle` rather than a
`toggle(shouldCollapse)`
2018-11-06 15:08:05 -05:00
Bryan Housel
b4119ae1ad
Class toolbars with narrow if we detect overflow happening
...
Also add css rules to drop labels from toolbar buttons if needed
2018-11-05 17:16:50 -05:00
Bryan Housel
136e4556a7
Move spinner to flex-end, and some css cleanups
2018-11-05 12:22:20 -05:00
Bryan Housel
c1d28d9333
Wrap sidebar button in div, so the .tool-group > div rule pads it
2018-11-03 00:11:10 -04:00
Bryan Housel
d4e31a82e3
Adjust sidebar resizer to keep map still by anti-panning
2018-11-02 23:21:59 -04:00
Bryan Housel
aecbaec896
Add key to toggle the sidebar
2018-11-02 11:15:52 -04:00
Bryan Housel
26e63d64e3
Flexbox buttons in top bar
...
- Makes the "Sidebar" toggle button permanent but removes the label
- Did some things to the "Save" button to make it the same width whether there
is a count or not (prevents the buttons from jumping when pressing undo/redo)
- Removes a lot of the floated col rules that aren't used much anymore
2018-11-01 23:42:26 -04:00
Quincy Morgan
a0b0337ab4
- The sidebar can be now be resized by dragging the divider ( closes #3447 )
...
- Dragging the sidebar below a minimum size collapses it
- A button in the top toolbar lets you uncollapse the sidebar, complete with icon and tooltip
- Double-clicking the divider toggles the sidebar collapse
- Collapse-toggling is animated
- Selecting a feature or ending an add-feature mode auto-opens the sidebar
- Photoviewer UI has been moved from init.js to photoviewer.js
- The photoviewer now has a slight margin to set it away from the sidebar
- The undo/redo, save, and progress indicator controls are now floated to the right
- The save count has been redesigned to visually integrate with the save button
- When the sidebar is collapsed, the mode buttons are centered
- Full right-to-left layout support for all of the above
2018-10-27 17:05:50 -07:00
Bryan Housel
7737c571aa
Shrink the photo viewer if the map has been resized to be smaller
2018-07-17 17:47:05 -04:00
Bryan Housel
e221dcae58
Dispatch new dimensions with photoview resize, resize all layers
...
-Adds ability to resize OpenStreetCam and Bing Streetside layers
-Also slightly increases the width of the resize handles
-Also limits max resize so it won't go larger than the map
2018-07-17 17:06:59 -04:00
Matias Volpe
0ea0749135
Add minimum resize height/width
2018-07-13 09:16:36 -03:00
Matias Volpe
836517a9fe
Add ability to resize to PhotoViewer
2018-07-12 09:41:10 -03:00
Bryan Housel
d24790f17a
Merge branch 'master' into jharpster-streetside
2018-06-11 23:51:23 -04: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
Shawna Paradee
2b50d36f65
adding points for streetside images
2018-03-20 13:05:33 -07:00
Bryan Housel
d53637618e
Draw selected marker big, fix draw ordering issues, fix close button
2017-11-09 11:27:36 -05:00
Bryan Housel
6dd71ebf91
Fix loading of images from OpenStreetCam API, add viewer
...
\o/
2017-11-03 16:48:18 -04:00
Bryan Housel
3d13620705
Convert lodah-es and d3 to named imports for ui
2017-09-26 11:22:43 -04:00
Lee Haugen
978abafa33
Include zoom to edit notice over map
2017-08-25 15:19:27 -05:00