mirror of
https://github.com/sstent/aicyclingcoach-go.git
synced 2026-03-09 14:35:24 +00:00
sync
This commit is contained in:
18
tui/views/test_view.py
Normal file
18
tui/views/test_view.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""
|
||||
Simple test view to verify TUI framework functionality.
|
||||
"""
|
||||
from textual.app import ComposeResult
|
||||
from textual.widgets import Static
|
||||
from textual.widget import Widget
|
||||
|
||||
class TestView(Widget):
|
||||
"""Test view with static content to verify TUI rendering."""
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Static("TUI Framework Test", classes="view-title")
|
||||
yield Static("This is a simple test view to verify TUI functionality.")
|
||||
yield Static("If you see this text, the TUI framework is working correctly.")
|
||||
yield Static("Check marks: [✓] Text rendering [✓] Basic layout")
|
||||
|
||||
def on_mount(self) -> None:
|
||||
self.log("TestView mounted successfully")
|
||||
Reference in New Issue
Block a user