Commit Graph

46 Commits

Author SHA1 Message Date
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 a7e16a5625 Show the number of unique nodes instead of the aggregate for the selection in the measurement panel (re: #7329) 2020-06-08 17:07:26 -04:00
Quincy Morgan 2f2e0dcb94 Show combined length, area, and node count in the measurement panel for multiselections (close #7329) 2020-06-08 16:47:03 -04:00
Quincy Morgan 95dc16b7a6 Update more mouse events to use pointer events if available (re: #5505) 2020-05-08 16:10:15 -07:00
Wille Marcel c12b846328 update osmcha url 2020-04-29 18:58:13 -03: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 eed7944a1a Replace various uses of d3_select and d3_selectAll with selection on the container 2020-03-22 12:34:06 -07:00
Bryan Housel 6e5cb45c17 Don't bundle the imagery anymore, fetch from dist/data at runtime
(re: #4994)
2020-01-30 17:10:41 -05:00
Quincy Morgan 191d0b9434 Add link to Achavi changeset inspector tool to the History panel (close #6855) 2019-09-16 11:53:33 -04:00
Quincy Morgan 2f695a9747 Add link to the PeWu history viewer to the History panel (close #6202) 2019-04-18 14:06:48 -07:00
Bryan Housel 1ce4f0ad6a Remove lodash without
(re: #6087)
2019-03-25 21:56:54 -04:00
Bryan Housel 76e0d13729 Remove lodash every and filter
(re: #6087)
2019-03-23 01:22:56 -04: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 7b4f4fd031 Fix note url link in history panel 2018-08-10 22:26:13 -04:00
Bryan Housel fab4a54c14 Redraw measurement and history panels on context mode enter
- these panel content were redrawn whenever the map was redrawn,
however the map does not necessarily redraw when selecting notes
2018-08-10 22:20:46 -04:00
Bryan Housel 68ed6b1024 Show selected note details History Panel
(re: #5158)
2018-08-10 16:49:50 -04:00
Bryan Housel 9f33ca9a01 Show location of selected Note in Measurement Panel
(re: #5158)
2018-08-09 23:25:50 -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 f9c1cbf6bc Show a message on the History Panel if the feature is new
(closes #4975)
2018-04-09 14:33:39 -04:00
Minh Nguyễn ea7339f49a Fixed geometry type word order
In many languages, the word for “closed” would follow the word for “line” or “area”, not precede it. Additionally, the word for “closed” may differ depending on what it modifies.
2018-01-09 03:30:14 -08:00
Minh Nguyễn 702e3d2a90 DMS coordinates 2018-01-09 03:25:55 -08:00
Minh Nguyễn a1e0d4fc08 Consolidated unit formatting into util module 2018-01-09 02:00:44 -08:00
Minh Nguyễn d75aa7d04a Internationalized measurement panel 2018-01-09 00:58:58 -08:00
Wille Marcel 9f1b928f89 add number of nodes information to measurement panel 2018-01-02 10:45:44 -03:00
Bryan Housel 18ab596f58 Improve int'l date/time strings on imagery and history tools
(closes #4594)
2017-12-06 15:27:54 -05:00
Bryan Housel a0a197a69e Add support for DigitalGlobe imagery vintage overlays
(see https://github.com/osmlab/editor-layer-index/issues/371)
2017-11-01 13:46:13 -04:00
Bryan Housel 31aec5743c Convert lodah-es and d3 to named imports for ui/panels 2017-09-26 00:41:15 -04:00
Bryan Housel 1fcceeb0e8 Move string processing into background_source 2017-09-12 17:02:17 -04:00
Bryan Housel 75fcb892f8 Fix show/hide of list items 2017-09-12 15:32:23 -04:00
Bryan Housel 6addbba340 reorganize metadata object, change display of meters 2017-09-12 14:51:01 -04:00
john gravois 5f341366e7 display additional metadata from Esri World Imagery
* getVintage() becomes getMetadata()
* ignore a couple unrelated lint nags
* add source description, resolution and accuracy info to debug panel
2017-09-11 09:51:07 -07:00
jgravois 7521369ece add support for displaying esri metadata 2017-09-09 21:59:07 -07:00
Bryan Housel 99a3741b0c Better isolation of services, to avoid hitting network during test runs
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
   (e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
Bryan Housel 20c2de4701 Always display coordinate pairs as Lat,Lng (sorry @tmcw) 2017-07-05 20:34:07 -04:00
Bryan Housel 3043323ba9 Rename infobox to info-panels 2017-07-04 02:14:30 -04:00
Bryan Housel 562edc8121 Remove unused d3 imports 2017-07-04 02:00:39 -04:00
Bryan Housel fd399de9d7 Fix changeset URL 2017-07-04 01:26:47 -04:00
Bryan Housel f72d5cb988 Remove unused code (infobox isn't classed show/hide anymore) 2017-07-04 01:22:41 -04:00
Bryan Housel cb249cc28b Rename panel Imagery -> Background, change key G -> B 2017-07-04 01:18:45 -04:00
Bryan Housel b9df6df03f Imagery vintage improvements:
- Cache vintage lookups from Bing API
- Actually sample a tile at the center of the viewport,
  rather than just divinding tiles/2 (not a good guess)
- Refactor the start-end range code into one place
2017-07-03 15:12:59 -04:00
Bryan Housel 39621f99fa Add a show/hide tiles toggle button, position buttons relatively 2017-07-03 11:24:39 -04:00
Bryan Housel c669bc72cd Move imagery info from location panel to its own panel 2017-07-01 02:04:59 -04:00
Bryan Housel 0d27743b81 Improve formatting for imagery capture dates 2017-07-01 00:47:16 -04:00
Bryan Housel 150985a57d Fetch imagery vintage from Bing source, add info to location panel 2017-06-30 18:52:17 -04:00
Bryan Housel 946432d6f1 Add history panel
(closes #2273)
(closes #3761)
2017-06-30 02:09:56 -04:00
Bryan Housel 92a057bf3c git mv modules/ui/info -> modules/ui/panels 2017-06-29 23:05:14 -04:00