Skip to content

Viewing profiles in the Dogemap pup #4

Description

@raffecat

We need a way to view Identity profiles on the Dogemap.

This touches a number of components:

  • ✅ dogenet: include identity pubkey in dogenet-node metadata when getting nodes for the map
  • ✅ identity: an API to get profiles, given identity pubkeys
  • ✅ identity: filter out invalid profiles (that don't contain the node pubkey)
  • dogemap-ui: filter set of nodes in hex, get profile chits
  • dogemap-ui: web component to display profile chits
  • dogemap-ui: sidebar to display profile chits
  • dogeboxd: optional dependencies: dogemap -> core, dogemap -> identity

After discussions about problems with dogenet not knowing the identity profiles, and therefore latitudes and longitudes, when it returns the node list to dogemap, we'll create a new dogemap backend:

  • ✅ takes over geo-ip lookups (from dogenet)
  • ✅ takes over core-node indexing (from dogenet) (optional dependency on core)
  • ✅ generates the node list for DogeMap:
    • ✅ fetches all dogenet nodes from dogenet
    • ✅ queries identity service for all known profiles for these nodes
    • ✅ performs geo-ip lookups for all nodes without a profile
    • ✅ looks up all core nodes in its database
    • ✅ returns the merged set of all nodes
  • ✅ get profile chits api:
    • queries identity service for all known profiles, for requested nodes
    • returns placeholder profiles for all remaining nodes

OK that's the basic shape of it.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions