Commit Graph

158 Commits

Author SHA1 Message Date
Kyℓe Hensel
172aeb6e57 fix backspace not working as a keyboard shortcut (#9995) 2025-01-15 12:05:46 +01:00
Devin Fahnestock
313022728c prevent map panels from covering up edit menu, fixes #10495 (#10586) 2024-12-13 15:08:50 +01:00
Martin Raifer
3159c87ae1 disable deprecated marked options
to get rid of warnings in the console
2023-07-21 09:34:20 +02:00
Martin Raifer
c8a3cf154b make more cdn's and API urls/settings configurable
* CDNs for OCI, NSI, etc.
* OSM API (URL and oauth API settings)
* taginfo API
* nominatim API
2022-10-14 19:19:29 +02:00
Martin Raifer
67c65887b6 simplify map location restore, see #9146 2022-07-19 12:02:03 +02:00
Martin Raifer
ac77289b4d refactor localized text rendering in tooltips, flash messages 2022-06-23 18:55:57 +02:00
Milos Brzakovic (E-Search)
4db3e720c0 close icon button 2021-11-26 12:25:12 +01:00
Martin Raifer
a30856eb83 fix clipped tooltips on controls bar (#8791)
* controls: add wrapper div to not clip tooltips

* bind wheel to controlsWrap
minor z-index change

* scrollbar for ie/firefox

Co-authored-by: Milos Brzakovic (E-Search) <mbrzakovic@microsoft.com>
2021-11-05 11:41:23 +01:00
Milos Brzakovic
7e31120ec6 added scrol to mapControl 2021-09-10 15:26:37 +02:00
Quincy Morgan
5483a0f3c9 Improve tab order of attribution links and zoom in to edit notice 2020-10-29 13:06:03 -04:00
Quincy Morgan
d70f2e2e0f Update ui.checkOverflow to only apply to iD's subelements and to account for empty selections 2020-10-29 10:17:50 -04:00
Quincy Morgan
4f7014b1a9 Fix lint warnings and error 2020-10-27 21:08:38 -04:00
Quincy Morgan
2ee53670c8 Fix issue with mobile Safari showing the native selection menu when long-pressing on the map 2020-10-27 16:01:00 -04:00
Quincy Morgan
baace6d092 Update more code for D3 v6 2020-10-07 11:57:25 -04:00
Quincy Morgan
21a49bbec8 Initial support for D3 v6.2.0 2020-10-06 15:08:39 -04:00
Quincy Morgan
0c38363406 Don't instantiate uiShortcuts or its keybinding multiple times 2020-10-05 10:57:18 -04:00
Quincy Morgan
c443b28b8d Add lang attribute to more display labels (re: #7963) 2020-09-23 11:03:47 -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
2c96f56440 Make the document order of the footer items the same as the appearance order (re: #8004) 2020-09-17 12:45:48 -04:00
Quincy Morgan
58014ace62 Don't prevent default tabbing to elements (re: #8004) 2020-09-17 12:07:20 -04:00
Quincy Morgan
3df84d3aee Add lang attribute for iD's locale to its container 2020-09-16 08:29:07 -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
Quincy Morgan
4050940268 Lazy load photo overlay resources (close #7982) 2020-09-13 11:52:37 -04:00
Quincy Morgan
046794214f Further progress on #7965 2020-09-11 11:09:38 -04:00
Quincy Morgan
b980e47c3c Continue making the UI responsive to text zoom (re: #7965) 2020-09-10 11:15:24 -04:00
Quincy Morgan
4643caaae8 Don't prevent default click events when clicking input elements (close #7828) 2020-07-22 09:48:00 -04:00
Quincy Morgan
3892600814 Reduce redundant strings in the walkthrough
Update the lines walkthrough chapter for touchscreens
Add toggled dispatch event to the edit menu
2020-07-10 15:24:01 -04:00
Quincy Morgan
9cdc89d8dc Merge branch 'develop' into touch-walkthrough-update 2020-06-29 11:14:59 -04:00
Quincy Morgan
e61b752ee1 Don't blanket preventDefault for non-primary click events 2020-06-28 14:12:23 -04:00
Quincy Morgan
0bc56f9471 Start touch support for walkthrough (re: #7692) 2020-06-26 15:48:57 -04:00
Quincy Morgan
f1de29d27b Make the over-map controls and panes scale better to small screens 2020-06-24 13:18:24 -04:00
Quincy Morgan
0473243930 Add workaround for broken rapid tapping on iOS 13.4+ (close #7694) 2020-06-15 12:27:53 -04:00
Quincy Morgan
7fe82444c2 Make map pointer targets larger for pen and touch input (close #7643) 2020-06-01 12:25:16 -04:00
Quincy Morgan
620d79bfc8 Reorganize the code for setting the mode class on the container 2020-05-29 17:18:10 -04:00
Quincy Morgan
a78dc5a889 Simply default gesture cancelation and add additional safety check for IE 2020-05-29 13:08:13 -04:00
Quincy Morgan
311566328e Enable nudging the selection via shift+arrow keys and shift+command+arrow keys to nudge more (close #7186)
No longer nudge the viewport with shift+arrow keys
2020-05-19 12:08:14 -04:00
Quincy Morgan
db9eed2434 Move the edit menu logic to uiInit
Make context the first argument of operation objects
Add Paste operation to edit menu when opening the context menu on a blank area of the map (close #2508)
2020-05-14 15:49:35 -04:00
Quincy Morgan
60f7dc7c0b Replace presets property of context with singleton
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan
a58abe3c6f Move localStorage interface from a property of coreContext to a corePreferences function 2020-04-01 11:00:48 -07:00
Quincy Morgan
a1af118f0e Ensure locales and presets are loaded before the UI loads (close #7406)
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
a1a398650f Instantiate uiFlash only once as a property of the UI and remove global selection (re: #7445) 2020-03-29 10:22:58 -07:00
Quincy Morgan
ad327befc7 Move keybindings from map panes to uiInit 2020-03-25 13:59:09 -07:00
Quincy Morgan
d62a62cba8 Make popover and tooltip part of the UI module instead of utils 2020-03-24 17:32:09 -07:00
Quincy Morgan
0931459dba Reduce use of global selection (re: #7445) 2020-03-24 13:02:06 -07:00
Quincy Morgan
d669bbef2a Update various files for removal of master branch 2020-03-23 10:43:52 -07:00
Quincy Morgan
e391edcc5c Namespace various internal SVG ids under ideditor (re: #7445) 2020-03-22 14:39:40 -07:00