The current dashboard screen constructs all components in the views/dashboard.py file and within the build_playground() function. We need to move these components to the views/components/ directory. This change will allow us to manage screen elements solely for display purposes.
The current dashboard screen constructs all components in the
views/dashboard.py
file and within thebuild_playground()
function. We need to move these components to theviews/components/
directory. This change will allow us to manage screen elements solely for display purposes.https://github.com/TODAM-tw/todam-ticket-system/blob/b747ef3caf09491aec610740f52e06c6a3e752f1/app/views/dashboard.py#L12-L143