Commit Graph

3532 Commits

Author SHA1 Message Date
Quincy Morgan
417caba3be Fix issue where hashtags set in URL parameter would not be honored 2020-04-14 12:25:18 -07:00
Quincy Morgan
3a933de876 Don't add tags to connection node when connecting crossing line/area 2020-04-13 18:57:26 -07:00
SilentSpike
cf67684ed5 Fix Osmose details not always showing at first
Issues without a `subtitle` value would silently error when trying to
access the `auto` key of a null value which meant the elements weren't
showing up in the UI straight away.
2020-04-13 16:38:20 +01:00
Quincy Morgan
e7fbc4bba7 Update privacy policy to account for removal of master branch (re: #7453) 2020-04-07 11:45:59 -07:00
Quincy Morgan
977d41ca14 Update lasso function names to use pointer instead of mouse 2020-04-05 17:33:22 -07:00
Quincy Morgan
513b344012 Fix code tests 2020-04-03 13:33:54 -07:00
Quincy Morgan
ca1e2031e7 Flag issues with crossing highway areas (close #7455)
Don't show add bridge/tunnel fixes for highway areas (close #7472)
2020-04-03 12:30:07 -07:00
Quincy Morgan
06f487140d Switch order of from/to fields in route presets (re: #7479)
Add Trolleybus Route preset (re: #7498)
Remove Level field from Stop Position presets (close #7499)
Add Stop Number field to transit platform-as-point presets (close #7492)
Add Distance and Color fields to more route presets
Use field inheritance for several more route presets
2020-04-03 11:00:16 -07:00
Quincy Morgan
d16aa01afd Fix occasional console error 2020-04-02 12:40:41 -07:00
Quincy Morgan
ca3a0f9dbc Fix lint warnings 2020-04-02 11:12:10 -07:00
Quincy Morgan
8734b67821 Remove the context.intersects passthrough function 2020-04-01 15:36:53 -07:00
Quincy Morgan
0120b009fa Take a graph parameter in utilDisplayLabel instead of the context 2020-04-01 13:29:17 -07:00
Quincy Morgan
90b1395df4 Fix code tests 2020-04-01 13:27:30 -07:00
Quincy Morgan
60f7dc7c0b Replace presets property of context with singleton
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan
527faa7b42 Remove need for coreContext in presetIndex 2020-04-01 11:25: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
a950b193d1 Fix preset categories 2020-03-31 16:41:46 -07:00
Quincy Morgan
c49deee86c Fix nested popover selection issues 2020-03-31 15:57:59 -07:00
Quincy Morgan
170cf0beea Add isFirstSession property to context 2020-03-31 15:45:52 -07:00
Quincy Morgan
dffb21a730 Fix issue with prerequisiteTag 2020-03-31 13:15:03 -07:00
Quincy Morgan
84a55606ad Show wikidata field search results in the user's language when possible 2020-03-31 13:00:52 -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
a792334c8a Don't fetch taginfo values for more name keys (close #7485) 2020-03-29 11:29:29 -07:00
Quincy Morgan
a7ce956e1f Don't use global selectors in street-level photo services (re: #7445) 2020-03-29 11:04:38 -07:00
Quincy Morgan
d8585ae2fb Fix lint warning 2020-03-29 10:55:32 -07:00
Quincy Morgan
75762ff286 Fix lint error 2020-03-29 10:54:27 -07:00
Quincy Morgan
89ed2b4d0d Don't use global selector in uiPopover (re: #7445) 2020-03-29 10:43:05 -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
74e7a108a9 Remove global selection from walkthrough (re: #7445) 2020-03-29 10:19:59 -07:00
Quincy Morgan
7f9b1d0e9a Account for container offset when positioning combobox dropdowns (close #7458) 2020-03-29 09:54:48 -07:00
Quincy Morgan
eec1a23388 Fix RTL mouse coordinate calculation issue 2020-03-29 09:54:02 -07:00
Quincy Morgan
5195d8d95b Don't use d3_mouse and cache client rect values as needed (close #7489) 2020-03-28 16:32:38 -07:00
Quincy Morgan
a7e639d514 Make the field geometry property accept multiple types
Make the Elevation field only universal for nodes (re: #5719)
Remove the elevation field from route presets (close #7479)
2020-03-28 13:57:06 -07:00
Quincy Morgan
85ce071704 Render "semi-paved" roads like cobblestone, paving stones, and wood with a solider line than unpaved roads (close #7466) 2020-03-26 19:26:29 -07:00
Quincy Morgan
4addcc961d Discount right-clicks during double up detection 2020-03-26 13:27:15 -07:00
Quincy Morgan
4a67e8c5dc Remove delay in opening the edit menu
Don't show the edit menu for multiple selected relations
Streamline edit menu code, replacing the confusing "suppressMenu" system
2020-03-26 12:48:30 -07:00
Quincy Morgan
62607e1e1d Fix issue where edit menu could not be opened by right-clicking on already selected feature 2020-03-25 16:10:24 -07:00
Quincy Morgan
37b1f35ab4 Properly switch the edit menu tooltip side depending on space 2020-03-25 15:34:02 -07:00
Quincy Morgan
13c8753c11 Reuse the uiEditMenu instead of recreating it every time the operations change 2020-03-25 14:49:24 -07:00
Quincy Morgan
5c2a96dedb Fix issue where the edit menu would not disappear sometimes (close #7143)
Properly disable dragging the map under the edit menu for pointer events (re: #5505)
2020-03-25 14:33:42 -07:00
Quincy Morgan
ad327befc7 Move keybindings from map panes to uiInit 2020-03-25 13:59:09 -07:00
Quincy Morgan
9731b93cec Move uiTooltipHtml functionality into uiTooltip
Refactor uiEditMenu to use standard UI patterns instead of SVG
2020-03-25 12:22:10 -07:00
Quincy Morgan
f1d1bfa402 Improve utilDoubleUp comment 2020-03-25 09:48:20 -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
14da8cb7a7 Make iD's container a local stacking context (close #7457)
Move some inline CSS to the stylesheet
2020-03-24 16:15:06 -07:00
Quincy Morgan
e17186028a Namespace spritesheet DOM ids 2020-03-24 13:55:12 -07:00
Quincy Morgan
7e1cf64d0e Namespace DOM ids used in photo viewer (re: #7445) 2020-03-24 13:43:54 -07:00
Quincy Morgan
0931459dba Reduce use of global selection (re: #7445) 2020-03-24 13:02:06 -07:00
Quincy Morgan
5a0d0bf653 Fix focusing of changeset comment field upon save 2020-03-24 13:01:30 -07:00
Quincy Morgan
ece8b90be2 Don't use global selection in intro (re: #7445) 2020-03-24 11:36:34 -07:00