SilentSpike
54e02ec28d
Introduce new container icon for errors
...
As per my last commit, this icon differentiates errors from points and
still allows us to specifiy icons for errors to differentiate them amongst
eachother.
I learned quite a bit about SVGs and using them in HTML while
implementing this 😝 Had some issues getting the icon to center in the
header so resorted to using a flexbox instead of absolute positioning
being used elsewhere.
2019-02-01 22:51:02 +00:00
SilentSpike
f6746a28ff
Match error red to road sign red
2019-02-01 22:51:00 +00:00
SilentSpike
6483c54ca4
Update ImproveOSM error colouring
...
Fix similar orange colours by using the same zoomed in colours as
ImproveOSM for missing geometry (i.e. pink for roads).
This frees up red for turn restrictions (as they are typically signed in
red) and therefore blue for one-ways (as they tend to be signed blue or
black).
2019-02-01 22:51:00 +00:00
SilentSpike
214cf41019
Use more generic classes for errors
2019-02-01 22:50:57 +00:00
SilentSpike
9600d67fc6
Differentiate missing geometry errors by colour
2019-02-01 22:50:56 +00:00
SilentSpike
4d89810721
Add ImproveOSM service
...
Only processing one-way errors for now
2019-02-01 22:50:54 +00:00
Bryan Housel
cd9203975d
Use touch targets for notes, fix a few bugs with note dragging
...
(closes #5213 )
2019-01-04 15:48:39 -05:00
Bryan Housel
67403a2141
Style missing tracktype like missing maxspeed
2019-01-03 21:39:16 -05:00
Bryan Housel
10ece546f4
Give missing maxspeed its own marker color style
...
There are a lot of these
2019-01-03 18:45:21 -05:00
Bryan Housel
35f8078f98
Reduce number of marker colors, increase contrast, tweak language
2019-01-03 15:30:36 -05:00
Bryan Housel
0256ad7f0d
Remove redundant CSS
2019-01-03 10:04:53 -05:00
Thomas Hervey
d095de08fe
updated comment UI, added stub for POST; TODO: finish links & POST
2018-12-19 13:43:48 -05:00
Thomas Hervey
1335549ad3
cleaned map data UI; commented sub-layer filtering
2018-12-19 13:43:08 -05:00
Thomas Hervey
805dd394c9
added link for object in header
2018-12-19 13:40:56 -05:00
Thomas Hervey
3e7146c63f
WIP: menu with sub-layer buttons; TODO: bug fixes, ui updates, wiring buttons
2018-12-19 13:40:56 -05:00
Thomas Hervey
18278371aa
WIP: identifying variables in errors
2018-12-19 13:38:40 -05:00
Thomas Hervey
75cff00a2a
displaying keep right (currently as notes)
2018-12-19 13:18:37 -05:00
Bryan Housel
cc938698e8
Add ability to select custom data
2018-08-25 11:14:04 -04:00
Bryan Housel
a9aca707b6
Support hovering on data features
2018-08-25 00:04:52 -04:00
Bryan Housel
7714e88f3d
Support data area filling (full/partial/wireframe), shadow strokes
2018-08-24 14:07:00 -04:00
Bryan Housel
48e233e4a3
Move some css rules around, add hash and geometry.type to css classlist
2018-08-24 10:39:03 -04:00
Bryan Housel
f8f1c1f541
Ensure both notes and nodes can be dragged in selectNote mode
2018-08-09 23:25:06 -04:00
Bryan Housel
0be1705a0d
Disable note and streetview interactivity except in browse/select modes
...
(closes #5202 )
2018-08-06 14:27:32 -04:00
Bryan Housel
640596340e
Improve the add-note icon in help, minor changes to help text
2018-07-24 12:40:16 -04:00
Bryan Housel
0334e7b353
Visibility stuff
...
- Draw ellipse below note shadow
- Use brighter color for new note
- Use thicker stroke for note shadow (same width as point)
2018-07-24 00:16:37 -04:00
Bryan Housel
a3dc0e8213
Shrink annotations, add margin between note header and comments
2018-07-23 23:20:34 -04:00
Thomas Hervey
658721a150
WIP: added note category, TODO: update input
2018-07-21 19:36:13 -04:00
Thomas Hervey
373353f40d
added breathe behavior & cleaned hover/select styling on notes
2018-07-21 15:54:47 -04:00
Thomas Hervey
5daffe3d25
Merge branch 'master' into new-note
2018-07-19 18:38:26 -04:00
Thomas Hervey
b017616993
added new note icon and completed sidebar
2018-07-18 09:38:59 -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
694cc60893
Add thread dots to note header icon, disable comments on closed nodes
2018-07-16 16:53:45 -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
7fb42ac9d6
added note reporting and margin to save buttons
2018-07-13 17:09:51 -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