Commit Graph

1581 Commits

Author SHA1 Message Date
Bryan Housel e221dcae58 Dispatch new dimensions with photoview resize, resize all layers
-Adds ability to resize OpenStreetCam and Bing Streetside layers
-Also slightly increases the width of the resize handles
-Also limits max resize so it won't go larger than the map
2018-07-17 17:06:59 -04:00
Bryan Housel b9a6996048 Merge branch 'feat-photoviewer-resize' of https://github.com/mapillary/iD into mapillary-feat-photoviewer-resize 2018-07-17 12:38:52 -04:00
Thomas Hervey af2b67663b added new-note button 2018-07-17 11:35:27 -04:00
Bryan Housel d205267f48 Adjust whitespace padding around avatar images in comments 2018-07-17 01:09:29 -04:00
Bryan Housel fa6e195c2d Add user info, require authentication to edit a note 2018-07-17 00:55:43 -04:00
Bryan Housel 73d0f30453 Merge branch 'notes' 2018-07-16 16:59:35 -04:00
Bryan Housel 694cc60893 Add thread dots to note header icon, disable comments on closed nodes 2018-07-16 16:53:45 -04:00
Bryan Housel 47de7b304f Make sure note report link doesn't show on hover 2018-07-16 16:03:00 -04:00
Bryan Housel 70f87632c7 Cleaner note icon rendering
Before: We drew 2 fontawesome comment icons, on on top of the other
After: Moved icon into iD spritesheet and gave it an actual `stroke` property that can be styled
2018-07-16 13:18:38 -04:00
Thomas Hervey 33de399bac fixed note-report display 2018-07-16 11:28:51 -04:00
Thomas Hervey 7fb42ac9d6 added note reporting and margin to save buttons 2018-07-13 17:09:51 -04:00
Matias Volpe 72a19e8ad7 Update photo viewer size for bigger screens 2018-07-12 18:11:00 -03:00
Matias Volpe 836517a9fe Add ability to resize to PhotoViewer 2018-07-12 09:41:10 -03:00
Bryan Housel fe7086f753 Add header close 'X' button, add grey hover styling 2018-07-12 02:51:49 -04:00
Bryan Housel 91add0c33e WIP on buttons, simplify, remove some event dispatch
- I made the buttons work like GitHub comment-on-issue buttons
before typing:  "Close Note" / "Comment" (disabled)
after typing:   "Close and Comment" / "Comment" (enabled)

- I removed a bunch of the event dispatches.  These are useful for sending
events to listeners/observers outside of the module.  In this case I think
we can handle most of the things from within the uiNoteEditor.  We can still
dispatch an 'update' event so that modeSelectNote can reselect and redraw
the note after some change happens to it.

TODO - make the buttons work / check the OSM API stuff.
2018-07-11 23:10:01 -04:00
Bryan Housel 3454753bf6 Drop more/less toggle and just use a scrollbar for long comments 2018-07-11 16:00:54 -04:00
Bryan Housel e9e2f9ba8f Style note header 2018-07-11 15:41:43 -04:00
Bryan Housel 369877bcb2 Refine css for footway=crossing and other special paths
(closes #5126)
2018-07-10 15:47:07 -04:00
Bryan Housel cd7cdd95e9 Add "View on Bing Maps" link, cleanup css
(closes #5125)
2018-07-10 02:04:39 -04:00
Bryan Housel 696895fb98 Add forward/backward controls to Streetside viewer
re: #5125

There is some cleverness here to search for the best nearby bubble
instead of just relying on the next and previous sequence keys.
2018-07-10 01:10:18 -04:00
Bryan Housel 4fda478f57 Merge branch 'check' of https://github.com/vershwal/iD into vershwal-check 2018-07-09 09:32:15 -04:00
Thomas Hervey 14356cefe2 WIP: toggle note status 2018-07-08 12:50:02 -05:00
Bryan Housel 263ec9e36a Add code to swap in avatar images for users that have them 2018-07-05 18:42:42 -04:00
Thomas Hervey 73ee5c2fc9 fixed select_note mode, cleaned note_editor, TODO: enable note save 2018-07-03 22:45:51 -04:00
Thomas Hervey 61ae541cfc updated: notes save buttons 2018-07-03 10:57:53 -04:00
Bryan Housel ab8e793a72 Playing with note styling, add avatars and more metadata 2018-07-03 02:41:47 -04:00
Bryan Housel d87a2c2d2d Adjust pointer css for note markers
This sets `pointer-events: none` for the `.note-shadow` class,
to fix an amusing bug where hovering over the filled part of the comment
icon would work ok but hovering over the "dots" would not.
2018-07-02 22:18:42 -04:00
Thomas Hervey 86dc0c9012 updated: new comments in notes sidebar ui 2018-07-02 15:51:55 -04:00
Bryan Housel a474e3bb9f Working on note editor style and ui, simplify d3 code 2018-07-02 12:35:07 -04:00
Bryan Housel 65b2a42261 Adjust green 2018-07-01 23:39:42 -04:00
Bryan Housel f3d31f3075 Update css styles for notes
- open notes are red (default)
- resolved notes are green
- orange on hover
- yellow on select (also added centerEase to note location)
2018-06-30 10:44:28 -04:00
Bryan Housel bcc1669716 Move note css from the photos.css into a new css file data.css 2018-06-30 10:05:11 -04:00
Bryan Housel 2f8efee26a Draw 2x icons (shadow and fill) so they stand out more 2018-06-30 03:47:03 -04:00
Bryan Housel 9517635d4d Merge branch 'master' into notes 2018-06-29 21:54:24 -04:00
Thomas Hervey 737ccfcfba updated: siebar displays note details on hover (via svg) 2018-06-29 14:43:01 -04:00
Thomas Hervey 0859d00195 updated: notes svg to prevent duplicate appending 2018-06-25 12:45:16 -04:00
Bryan Housel 917c6dd6fc Add hires checkbox to toggle 512 and 1024 resolutions
Also added code to calculate quadkey maps for:
- 2048 (works but is pretty slow and not that better than 1024)
- 4096 (doesn't work)
2018-06-22 23:07:07 -04:00
Bryan Housel e2e3588b3c Add high resolution checkbox 2018-06-22 18:27:15 -04:00
Thomas Hervey dab46d2778 updated: notes rendering 2018-06-22 17:43:07 -04:00
Thomas Hervey 3df01e27c0 added: svg notes, TODO: add icon, test 2018-06-20 17:38:45 -04:00
Bryan Housel 723155eadf Add building and bench fields to amenity=shelter preset
(closes #5084)

This also removes the rules that would treat `amenity=shelter` as
a building for rendering and for feature filtering.
2018-06-18 13:45:39 -04:00
vershwal eb8bf19b78 button appeared 2018-06-18 01:21:06 +05:30
Bryan Housel adc9c521df Final style tweaks, back to z16.5 to avoid hitting 1000 bubble limit 2018-06-13 16:39:41 -04:00
Bryan Housel 23b6b15e64 Assemble sequences, adjust styles to better distinguish from osc 2018-06-13 13:03:11 -04:00
Bryan Housel 813f8d096d Cleanup attribution CSS.. fix viewer northOffset / yaw 2018-06-12 15:31:49 -04:00
Bryan Housel aeddddca15 Start viewer with correct compass yaw, adjust viewfield as user rotates 2018-06-12 14:18:20 -04:00
Bryan Housel 9cfe6dd357 Fix highlighted and selected styles (_union needed array arguments) 2018-06-12 00:45:42 -04:00
Bryan Housel d24790f17a Merge branch 'master' into jharpster-streetside 2018-06-11 23:51:23 -04:00
Bryan Housel b0ff8cb4ab Merge pull request #5068 from openstreetmap/render_pier
Render pier like railway platform
2018-06-09 01:17:23 -04:00
Bryan Housel 749357eb03 Fix fills for preset icons, remove iD sprite and idraw files
(closes #3924)
2018-06-08 23:10:07 -04:00