Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes #1895

Closed
wants to merge 7 commits into from
Closed

Notes #1895

wants to merge 7 commits into from

Conversation

tmcw
Copy link
Contributor

@tmcw tmcw commented Oct 15, 2013

Oh boy. This adds notes functionality to iD, this addressing #1393

Right now it takes the approach that:

  • Notes have their own mode and ui
  • Notes are in the history/graph and have the prefix 'e'
  • In some places notes need to be explicitly excluded so they aren't dragged/selected/etc.

Todos:

  • Re-add the show-notes toggle
  • Tests
  • Should this be able to create a new note? Ugh.
  • The comment-posting UI 'lies' but that's probably all right.
  • The styling could be cleaner
  • We could use a notes icon instead of a blank circle as I'm doing now
  • Refactor note-versus-point CSS
  • Notes should have halos too?

@jfirebaugh
Copy link
Member

Seems like a good approach to me.

Would it be cleaner if note SVG elements were not classed point though?

@@ -0,0 +1,85 @@
iD.NotesLayer = function(context, dispatch) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This class is no longer used, right?

@tmcw
Copy link
Contributor Author

tmcw commented Oct 15, 2013

Would it be cleaner if note SVG elements were not classed point though?

Yes, this is currently an icky point; needs CSS refactoring

@tmcw
Copy link
Contributor Author

tmcw commented Oct 30, 2013

@samanpwbb Do you have thoughts on how notes should be shown with the map in iD? On osm they have hacky leaflet-esque markers with green/red colors.

@samanpwbb
Copy link
Member

@tmcw as much as I'd like to restyle these to be better looking, I think the best approach right now is to make notes in iD as close as possible to notes in osm.org, for the sake of familiarity, and so the two can evolve together.

@mourner
Copy link
Contributor

mourner commented Jan 8, 2014

Is this on hold now?

@jfirebaugh
Copy link
Member

Yes, iD's kind of in low maintenance mode currently.

This was referenced Mar 28, 2014
@ToeBee
Copy link
Contributor

ToeBee commented Nov 4, 2014

Just to poke things a little, as of an hour ago, josm-latest now has (very basic) note support built into core :)

On a more serious note, it looks like iD is running into some of the same issues I did when adding note support to JOSM. Notes are part of the OSM API but are different from all other API objects in that they don't involve versions, tags or changesets. It does make things kind of awkward...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants