Skip to content

C++: Add Observatory, a first logging UI

Simon Spannagel requested to merge observatory into p-subscriber-improvements

This adds Observatory, a first Qt GUI for receiving log messages, filtering them etc. Current features comprise:

  • Changing global subscription level (all satellites, all topics)
  • Filtering by level, sender, topic, message content (regex)
  • Settings are stored and retrieved upon startup

Screenshot_from_2024-09-13_15-37-22

Screenshot_from_2024-09-13_15-37-50

Screenshot_from_2024-09-14_18-43-57

A few things are still open:

  • We need to look into this subscription thing, I get erratic results sometimes and don't understand why
  • Some UI improvements such as number of connected peers (rename from satellites...), requires upstream changes
  • Possibility to change logging per satellite
  • Possibility to store to file? Could come later.
  • Some performance review - storing all in a vector doesn't seem to be too scalable, maybe limit length?
  • Code cleanup, documenting it
  • Documentation

Based on !413

PS: this follows the design drawn up at the 2nd EDDA hackathon:

image

Edited by Simon Spannagel

Merge request reports