building out UI a ton more and also working on serialization and deserial for the desktop app
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from textual.app import App
|
||||
from ui.screens.pair_screen import PairScreen
|
||||
from api.node import MeshNode
|
||||
from api.channel import Channel
|
||||
|
||||
|
||||
class mesh(App):
|
||||
@@ -9,6 +10,9 @@ class mesh(App):
|
||||
def __init__(self, driver_class = None, css_path = None, watch_css = False, ansi_color = False):
|
||||
super().__init__(driver_class, css_path, watch_css, ansi_color)
|
||||
self.mesh_node: MeshNode = None
|
||||
# key = channel name
|
||||
# value = channel
|
||||
self.channels: dict[str, Channel]
|
||||
|
||||
def on_ready(self):
|
||||
self.push_screen(PairScreen())
|
||||
Reference in New Issue
Block a user