Martin Raifer
e25af7c05e
enable keybindings for unavailable operations -> show info message
...
this should make it easier to discover what a given keypress was supposed to do (e.g. which operation it triggered)
closes #9896
2025-05-15 17:03:31 +02:00
Martin Raifer
9b7a98862d
Merge remote-tracking branch 'origin/housenumber-labels' into develop
2025-05-12 18:02:47 +02:00
McLaynV
61670beb1d
remove empty line from drag_note.js ( #11015 )
2025-05-06 09:19:00 +02:00
Martin Raifer
e2cb7663b0
fix move mode
...
as the current graph has now the most recent version of the modified entities, each individual change only needs to take into account the delta of the mouse movement between the current position and the previous one (instead of the original mouse position when the operation was started)
2025-04-21 15:56:26 +02:00
arch0345
14794ee992
Remove references to ImproveOSM
2024-07-08 17:15:38 -07:00
Martin Raifer
43784e2eff
take entity loc into account when resolving fields via parent preset, fixes #9524
...
this necessary when a regional preset (e.g. from NSI) is supposed to inherit fields from a parent preset, but the direct parent does NOT apply at the location of the entity to be added/edited. In that case we need to search for a potential regional variant of the parent preset.
2023-05-25 19:19:09 +02:00
Martin Raifer
85022dcc6c
render operations texts with lang attribute
2022-06-23 19:23:16 +02:00
Martin Raifer
ac77289b4d
refactor localized text rendering in tooltips, flash messages
2022-06-23 18:55:57 +02:00
Martin Raifer
040257fd44
replace unnecessary setting of raw "html" with "text"
2021-11-18 18:53:33 +01:00
Bryan Housel
1b5bd4d9c3
Actions performed (e.g. adding midpoint) must trigger validation
...
(re: #8655 )
2021-08-27 17:14:06 -04:00
Milos Brzakovic
416799ceb6
selectChild as standalone.
...
Keyboard shortcuts new section - way selected
Moved 'help' section to left in keyboard section
2021-07-14 17:43:54 +02:00
Milos Brzakovic
c8f162b8f0
select - differentiate parent/child selection
...
introduce more accessible shortcuts
2021-07-13 19:51:32 +02:00
Bryan Housel
2651e7ddc9
In move/rotate cancel, check whether graph has changed before popping
...
(closes #8441 )
2021-04-02 09:48:41 -04:00
Quincy Morgan
ddf868221a
Use vertical bar for selecting parent ways instead of command+up arrow (re: #8264 )
...
Support pressing vertical bar again to return to node selection
2021-01-06 14:26:24 -05:00
Quincy Morgan
b0df3139e4
Don't highlight-focus single ways when one of their nodes is selected
...
Fix stale highlight-focus of parent way when selecting an unrelated vertex
Rename some confusing identifiers in modeSelect
Move global _relatedParent functionality into modeSelect proper
Re: #8264
2021-01-06 12:26:08 -05:00
Minh Nguyễn
3802a4809f
Maintain selection if there are no parents
2020-12-22 12:22:33 -08:00
Minh Nguyễn
8e2301d3b7
Consolidated parent selection functions
2020-12-22 12:16:38 -08:00
Minh Nguyễn
5433c8ff42
Select all parent ways, not just common parents
2020-12-22 11:51:22 -08:00
Minh Nguyễn
e031ee3aef
Ctrl+UpArrow for selecting parent way
2020-12-22 11:28:46 -08:00
Minh Nguyễn
d95d204b62
Recurse up, not down
2020-12-22 00:19:55 -08:00
Minh Nguyễn
acc127bb7f
Select all parent ways if specific parent way not selected
2020-12-21 23:38:26 -08:00
Minh Nguyễn
2fff6aec93
Added shortcut to select parent way
2020-12-21 21:59:50 -08:00
Quincy Morgan
655c3a692c
Enable dragging the map during feature move and selection without exiting the mode ( close #8187 )
2020-12-03 15:05:19 -05:00
Quincy Morgan
611abf8ed0
Enable rotating selection even when mouse isn't over the map (re: #8187 )
2020-12-03 15:04:21 -05:00
Quincy Morgan
4059ee5118
Enable block-scoped-var eslint rule
2020-10-23 13:38:36 -04:00
Quincy Morgan
21a49bbec8
Initial support for D3 v6.2.0
2020-10-06 15:08:39 -04:00
Quincy Morgan
61e2d20348
Support Downgrade and Delete operations at the same time ( close #7682 )
2020-09-28 17:19:40 -04:00
Quincy Morgan
9da4c4bb62
Add lang attribute to more labels (re: #7963 )
2020-09-23 10:44:38 -04:00
Quincy Morgan
8883c2f36d
Fix uiFlash issues
...
Clean up a few things from prior commit
2020-09-22 12:19:54 -04:00
Quincy Morgan
5435082d9c
Revert t function to returning the plain string by default
...
Add `t.html` function for getting the string with the `lang` attribute
2020-09-22 12:03:29 -04:00
Quincy Morgan
a3549f9a76
Merge branch 'develop' into lang-attributes
...
# Conflicts:
# modules/ui/commit_warnings.js
# modules/ui/field.js
# modules/ui/fields/wikidata.js
# modules/ui/fields/wikipedia.js
# modules/ui/full_screen.js
# modules/ui/panels/history.js
# modules/ui/sections/entity_issues.js
# modules/ui/sections/map_features.js
# modules/ui/sections/raw_member_editor.js
# modules/ui/sections/validation_rules.js
# modules/ui/tag_reference.js
2020-09-22 10:55:07 -04:00
Quincy Morgan
79688ce2d9
Show count and use plural forms for more operation strings (re: #8014 )
2020-09-22 09:10:49 -04:00
Quincy Morgan
45decdb54c
Enable scaling the selection via hotkeys
2020-09-21 14:02:41 -04:00
Quincy Morgan
32f8274929
Make t function return a span element with a lang attribute unless html: false is specified in the options (re: #7963 )
...
Update `text` functions to `html` to support inserting the `span` elements
Specify `html: false` for various instances where a `span` is not desired, e.g. `placeholder` and `title` attributes
2020-09-15 21:56:22 -04:00
Quincy Morgan
ecb8ff534e
Use alt/option instead of ctrl/cmd as the modifier for zooming or panning by a lot ( close #7976 )
2020-09-15 11:56:53 -04:00
Peter Newman
4205ca1d07
Fix the seemingly safe spellings found by codespell
...
Untested, only checked by inspection.
(cherry picked from commit 2c47a11008 )
2020-08-10 17:32:37 +01:00
Quincy Morgan
40e46aced1
Fix issue where following a node and then selecting another feature would auto-center the feature ( close #7820 )
2020-07-22 09:58:14 -04:00
Quincy Morgan
60a0856d12
Fix issue where preset list search would get autofocus unexpectedly
2020-07-06 16:07:51 -04:00
Quincy Morgan
875a45e884
Move copy feature menu item to be right before delete/downgrade (re: #2508 )
2020-06-26 13:43:42 -04:00
Quincy Morgan
9010fb9535
Revert "Only update selection styling for full redraws (re: #7706 )"
...
This reverts commit f53cce783a .
2020-06-17 15:15:41 -04:00
Quincy Morgan
e790525903
Remove unneeded full redraw upon entering modeSelect
2020-06-16 13:41:45 -04:00
Quincy Morgan
f53cce783a
Only update selection styling for full redraws (re: #7706 )
2020-06-16 13:14:06 -04:00
Quincy Morgan
61b3aaafd2
Autofocus new note descriptions in the UI code instead of the mode code (re: #7680 )
2020-06-08 11:42:29 -04:00
Quincy Morgan
c85fbf34f9
Underscore function scope variables in modeSelectNote
2020-06-08 10:30:04 -04:00
Quincy Morgan
def3a373a7
Autofocus the comment field when adding a new OSM note ( close #7680 )
2020-06-08 10:26:16 -04:00
Quincy Morgan
38db23fab5
Extend behaviorHover to support multiple pointers
2020-05-27 15:07:23 -04:00
Quincy Morgan
cb5365f743
Persist down pointer multiselection between browse/select mode transitions
2020-05-27 12:33:53 -04:00
Quincy Morgan
5b399623e9
Enable multiselection on touch devices when tapping on features with a pointer already down on a selected feature ( close #7590 )
...
Reuse modeSelect when changing entity selection if possible
2020-05-26 17:21:48 -04:00
Jacob Scherber
e8233247d3
add highlight to multi-select hover
2020-05-23 15:06:58 -07:00
Quincy Morgan
869a0c6b89
Make the draw modes reuse their behaviorDraw when re-entering
...
Move click-end-node-to-finish functionality from draw modes to behaviorDraw
Fix issue where the head node would get hover-highlighted when continuing from the end of a line
2020-05-22 15:05:35 -04:00