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

feat: peers table enhancements #1616

Merged
merged 19 commits into from
Mar 29, 2021
Merged

feat: peers table enhancements #1616

merged 19 commits into from
Mar 29, 2021

Commits on Mar 26, 2021

  1. Remove notes column

    jessicaschilling authored and lidel committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    fd3d6fd View commit details
    Browse the repository at this point in the history
  2. Add dummy in/out and agent columns

    jessicaschilling authored and lidel committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    12f4e9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89e277a View commit details
    Browse the repository at this point in the history
  4. Remove notes logic

    jessicaschilling authored and lidel committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    edabe59 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4279efb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    475f8d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    97aa2fd View commit details
    Browse the repository at this point in the history
  8. Inline SVG indicator light

    jessicaschilling authored and lidel committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    ad01a35 View commit details
    Browse the repository at this point in the history
  9. Indent

    jessicaschilling authored and lidel committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    f87746a View commit details
    Browse the repository at this point in the history
  10. feat(peers): direction and mounted streams

    For now we show them in tooltips, will be refined later
    lidel committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    630df92 View commit details
    Browse the repository at this point in the history
  11. feat(peers): click to copy

    lidel committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    285caab View commit details
    Browse the repository at this point in the history
  12. fix: geoipCache per ipfs-geoip version

    This ensures users do lookups as soon as we ship the latest version,
    without waiting 1 week for old cache to expire.
    lidel committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    3ebe678 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    938cdab View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    efd2f64 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. refactor: replace in/out, agent with open streams

    Sadly I was not able to make things performant enough:
    
    - in/out adds 1 HTTP request PER peer
      (and cant be cached as it is dynamic)
    - agent also adds one (but could be cached)
    
    We need better API than HTTP, maybe RPC over websockets or pubsub.
    
    To salvage this PR I replaced mentioned columns with open libp2p
    streams, which does not require any additional requests, but is pretty
    useful, gives us insight if peer was used only for kad DHT, bitswap,
    pubsub etc.
    lidel committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    8510d39 View commit details
    Browse the repository at this point in the history
  2. chore: update peers unit tests

    lidel committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    f02379f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1706671 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5c3ee4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    207e758 View commit details
    Browse the repository at this point in the history