Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions GUI/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ plotly
shapely
PyJWT>=2.9.0
sip
Pillow
boto3
botocore

SQLAlchemy>=2.0
geoalchemy2>=0.15.0
Expand Down
9 changes: 7 additions & 2 deletions GUI/src/vast/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,8 @@
from views.fruits_view import FruitsView
from dashboard_api import DashboardApi
from vast.alerts.alert_service import AlertService
from views.leaves_dashboard import LeafDiseaseView
from views.leaves_view import LeafView



Expand Down Expand Up @@ -1140,7 +1142,7 @@ def reposition_badge():
self.nav_list.setFont(font)

for name in [
"Home", "Sensors", "Sound", "Ground Image",
"Home", "Sensors", "Sound", "Ground Image", "Leaves",
"Aerial Image", "Fruits", "Security", "Settings", "Notifications", "Irrigation"
]:
QListWidgetItem(f" {name}", self.nav_list)
Expand Down Expand Up @@ -1180,7 +1182,8 @@ def reposition_badge():
self.fruits_view = FruitsView(api, self)
self.ground_view = GroundView(api, self)
self.auth_status = AuthStatusView(api, self)

self.leaves_view = LeafView(self.api, self)
self.leaves_dashboard =LeafDiseaseView(self.api, self)
self.sensors_status_summary = SensorsStatusSummary(api, self)
self.sensors_health = SensorsView(api, self)
self.sensors_main = SensorsMainView(api, self)
Expand All @@ -1203,6 +1206,8 @@ def reposition_badge():
"Notifications": self.notification_view,
"Security": self.security_view,
"Fruits": self.fruits_view,
"Leaves - Leaves View": self.leaves_view,
"Leaves - Leaves Dashboard": self.leaves_dashboard,
"Ground Image": self.ground_view,
"Irrigation": self.irrigation_view,
"Auth": self.auth_status
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# leaf_diseases.py (compact, fixed + Grafana integration)
# leaves_dashboard.py (compact, fixed + Grafana integration)
# UI: English, Comments: English, 4 spaces indent.

from __future__ import annotations
Expand Down
Loading