feat: implement dynamic server list loading from API

Add internal/api package to fetch server list from /api/servers.json endpoint

Replace hardcoded server list with dynamic API call

Implement loading states, error handling, and refresh capability
This commit is contained in:
2026-06-10 20:12:03 +03:00
parent e927fff02f
commit e1371e226a
6 changed files with 303 additions and 22 deletions

View File

@@ -0,0 +1,10 @@
// package screens implements application screens (login, main menu, settings).
package screens
import "testing"
// Dummy test to ensure package compiles
func TestScreensPackage_Compiles(t *testing.T) {
// This test ensures the screens package compiles without errors
// We're not testing the actual UI output as that requires a GUI environment
}