Commit Graph

1418 Commits

Author SHA1 Message Date
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
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
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
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
Bryan Housel
972f56cf4c Fix mapillary signs css 2018-06-07 01:24:35 -04:00
James Kingdom
bfba657b11 Render pier like railway platform 2018-06-02 21:03:56 +01:00
Bryan Housel
91dbd6c9c4 Merge branch 'streetside' of https://github.com/jharpster/iD into jharpster-streetside
(also cleanup whitespace and lint)
2018-05-25 16:52:28 -04:00
Shawna Paradee
40aafc2713 add connect to viewer and add footer 2018-05-01 09:51:21 -07:00
Bryan Housel
d30ed29947 Fix join-line and join-point cursors css to work with touch targets
(closes #4887)
2018-04-18 22:17:28 -04:00
Bryan Housel
514ddffd22 Add link to report missing info in the community list 2018-04-08 23:41:51 -04:00
Bryan Housel
cab78c2c6b Add notification badge for events, default disclosures to closed 2018-04-08 21:55:36 -04:00
Bryan Housel
cd2d42799e Show events 2018-04-08 21:23:05 -04:00
Bryan Housel
8a0a5e309e Show languages 2018-04-08 08:59:49 -04:00
Bryan Housel
150bd064a0 Center sidebar heading, lighten placeholders 2018-04-08 00:23:23 -04:00
Bryan Housel
4f855d50a4 Expand/contract extended description 2018-04-07 23:07:34 -04:00
Bryan Housel
1c440f0db4 Remove the share links 2018-04-07 22:16:39 -04:00
Bryan Housel
55e55e2021 More style and language adjustments 2018-04-07 21:45:23 -04:00