mapbox / osm-edit-report-deprecated

Report editing activity on OpenStreetMap
https://www.mapbox.com/osm-edit-report/
ISC License
5 stars 7 forks source link

New front-end #66

Closed geohacker closed 7 years ago

geohacker commented 7 years ago

We just shipped a new API. This currently gives changes every minute for every data team members with nodes, ways, relations, and tags created, modified or deleted.

@rasagy @ajithranka @kepta @batpad @Rub21 - let's use this ticket to start outlining a new front-end. We should start fresh.

geohacker commented 7 years ago

Here's a sample from the API:

{
  "id": 40839,
  "change_at": "2017-02-13T05:50:45.000Z",
  "uid": 1306,
  "nodes": {
    "c": 100,
    "d": 2,
    "m": 25
  },
  "ways": {
    "c": 15,
    "d": 2,
    "m": 11
  },
  "relations": {
    "c": 0,
    "d": 0,
    "m": 1
  },
  "changesets": [
    46036812
  ],
  "tags_created": {
    "foot": {
      "yes": 1
    },
    "horse": {
      "permissive": 1
    },
    "lanes": {
      "2": 1
    },
    "access": {
      "no": 1
    },
    "bicycle": {
      "yes": 1
    },
    "highway": {
      "service": 1
    },
    "service": {
      "alley": 1
    },
    "surface": {
      "asphalt": 1
    },
    "cycleway": {
      "no": 1
    },
    "sidewalk": {
      "none": 1
    },
    "motor_vehicle": {
      "permissive": 1
    }
  },
  "tags_modified": {
    "name": {
      "Karnataka State Highway 104": 1
    },
    "type": {
      "route": 1
    },
    "route": {
      "road": 1
    },
    "length": {
      "34": 1
    },
    "name:kn": {
      "ಕರ್ನಾಟಕ ರಾಜ್ಯ ಹೆದ್ದಾರಿ ೧೦೪": 1
    },
    "network": {
      "IN:SH:KA": 1
    }
  },
  "tags_deleted": {}
}
rasagy commented 7 years ago

We had a quick brainstorming session today on what are the goals, scenarios and rough idea on the UI:

Goal: To make it easy to follow the progress of a particular project (tag based), user(s), and overall performance of the Data team.

IA + Use case:

  1. Landing page (How is the Mapbox Data team doing?)
    1. Total number of changesets (over time)
    2. Total created, modified, deleted (Aggregate ways/relations/nodes)
    3. Chart of top 3 tags that the team worked on (based on total changeset count)
  2. Tags page: (For a task/group of tags, how have we added data to OSM?)
    1. Total number changesets (over time)
    2. Total created, modified, deleted (Aggregate ways/relations/nodes)
    3. Complete list of users and their contributions over time
  3. Users page: (For a user/group of users, what tags have been worked on, and how much?)
    1. Total number changesets (over time)
    2. Total created, modified, deleted (Aggregate ways/relations/nodes)
    3. Chart of top 3 the user(s) worked on (based on total changeset count)

Will update this with some sketches that explain this further.

cc @geohacker @planemad @ajithranka @kepta @Rub21

rasagy commented 7 years ago

Layout sketch based on our discussions:

edit-report-v2-sketch

cc @ajithranka @kepta @geohacker

ajithranka commented 7 years ago

Shipped 🚀 https://www.mapbox.com/osm-edit-report/.