Quincy Morgan
7eb007d27a
Make recent presets geometry-specific
2019-03-07 12:14:18 -05:00
Quincy Morgan
ca8f499482
Right-to-left layout support for drag-and-drop favorites, favorite shortcuts, and feature search
2019-03-06 14:59:21 -05:00
Quincy Morgan
9c19a1d714
Nicer display of name suggestion index presets
2019-03-06 12:19:44 -05:00
Quincy Morgan
7da13f5033
Don't show "as point" in favorites tooltip when only point or vertex allowed
2019-03-06 11:46:05 -05:00
Quincy Morgan
36ad1b0242
Use "building" label instead of "area" when adding POIs as buildings
2019-03-06 11:39:17 -05:00
Quincy Morgan
9a539023df
Fix an issue where favorite buttons could reorder unexpectedly
2019-03-05 20:29:55 -05:00
Quincy Morgan
776c0556e1
Add drag-and-drop reordering of favorite presets
2019-03-05 20:21:54 -05:00
Quincy Morgan
944c116b0b
Fix lint warnings
2019-03-05 18:15:58 -05:00
Quincy Morgan
6428a9055a
Add remove cursor to buttons dragged out of the top bar
2019-03-05 18:13:10 -05:00
Quincy Morgan
59cca2a7de
Drag favorite presets buttons out of the top bar to remove
2019-03-05 18:00:00 -05:00
Quincy Morgan
e22f3359f5
Allow up to 10 favorite presets
...
Show favorite preset keyboard shortcut in tooltip
2019-03-05 12:27:42 -05:00
Quincy Morgan
062872c4f0
Merge tags instead of adding new point when adding a point to a point
...
Fix lint error
2019-03-05 09:39:55 -05:00
Quincy Morgan
be8bf1fac7
Use the number keys as shortcuts for adding favorite presets
2019-03-05 09:19:00 -05:00
Quincy Morgan
62aea31192
Fix an issue with preset names in favorite button labels
2019-03-04 17:55:02 -05:00
Quincy Morgan
6df14474fe
Fix stale favorite preset buttons
2019-03-04 17:50:35 -05:00
Quincy Morgan
6e0f5c6823
Allow adding vertex-only features from the serach-to-add field
...
Allow favoriting vertex presets
Don't allow adding vertex-only presets as points
Rename Other preset to Vertex
2019-03-04 17:38:08 -05:00
Quincy Morgan
b828ada0e2
Don't allow adding point-only features as vertices
2019-03-04 17:04:35 -05:00
Quincy Morgan
81320c6e3f
Remove static add generic geometry mode buttons
2019-02-28 17:29:20 -05:00
Quincy Morgan
9b8d4d2ab4
Remove labels from mode buttons
2019-02-28 16:39:54 -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
4a82604cab
Add search-to-add functionality
2019-02-28 15:00:00 -05:00
Quincy Morgan
6bdb59c7d3
Fix lint errors
2019-02-27 14:53:22 -05:00
Quincy Morgan
dd74a18206
Tweak favorite mode spacing
...
Don't show area midpoint dots on small preset icons
2019-02-27 14:27:03 -05:00
Quincy Morgan
0fe4513e2a
Tweak CSS class
2019-02-27 12:30:38 -05:00
Quincy Morgan
4fabb4aac8
Nicen favorite preset mode button tooltips
2019-02-27 12:03:10 -05:00
Quincy Morgan
0a0e4890ca
Nicer favorite preset icon rendering in the top bar
2019-02-27 11:28:24 -05:00
Quincy Morgan
5faa999071
Use preset icon for favorite buttons
2019-02-26 18:00:33 -05:00
Quincy Morgan
dead97e321
Reduce parameters for add modes
...
Tweak CSS classes
2019-02-26 15:17:04 -05:00
Brian Hatchl
d8531c88bb
fix lint complaints
2019-02-20 15:44:16 -05:00
Brian Hatchl
1faa6ad839
Favorite preset
2019-02-20 15:23:58 -05:00
Bryan Housel
a9ac1bda97
Fix issues causing mode/undo/save buttons to be missing disabled style
2019-01-17 00:06:57 -05:00
Max Grossman
e0e6f5b918
remove non-used util class
2018-12-17 12:52:21 -05:00
Max Grossman
96e44be69c
merge 2.12.2
2018-12-13 11:22:32 -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
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
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
Max Grossman
0a31137c78
move maprules/mapcss to a service class
...
ref #remote-presets
2018-09-23 18:38:01 -04:00
Bryan Housel
12f402c48b
Disable Add Note '4' shortcut when notes layer is not enabled
...
(also return to browse mode if notes or osm layers get disabled)
(closes #5190 )
2018-08-06 14:45:10 -04:00
Bryan Housel
46dc44b35b
Make the mode buttons dynamic
...
- show/hide the note button when the notes layer is enabled/disabled
- enable/disable the note button based on notesEditable
2018-07-23 22:21:47 -04:00
Thomas Hervey
06a410107b
cleaned up merge relics and comments
2018-07-20 23:31:49 -04:00
Thomas Hervey
bf9b19359a
WIP drag note
2018-07-20 21:41:44 -04:00
Max Grossman
57ea240177
make uiModes options strict to match only those within defaults
...
ref #remote-presets
2018-07-18 10:50:54 -04:00
Thomas Hervey
b017616993
added new note icon and completed sidebar
2018-07-18 09:38:59 -04:00
Thomas Hervey
ea2fffbd49
fix toggling new note button
2018-07-17 14:25:06 -04:00
Thomas Hervey
af2b67663b
added new-note button
2018-07-17 11:35:27 -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
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
3d13620705
Convert lodah-es and d3 to named imports for ui
2017-09-26 11:22:43 -04:00