Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Displaying and Linking Interactive HTML Files #175

Closed
4 tasks
mohamdlog opened this issue Nov 19, 2024 · 0 comments · Fixed by #178
Closed
4 tasks

Add Support for Displaying and Linking Interactive HTML Files #175

mohamdlog opened this issue Nov 19, 2024 · 0 comments · Fixed by #178
Assignees
Milestone

Comments

@mohamdlog
Copy link
Member

mohamdlog commented Nov 19, 2024

Description:
Update the frontend to display and link interactive HTML files retrieved from the backend. The backend now provides an htmlFiles section in the /list-folder-contents/<folder_name> API response, which includes the names and proxy URLs for the HTML files in a given folder.

Tasks:

  • Fetch the htmlFiles section from the backend's /list-folder-contents/<folder_name> API response.
  • Dynamically create and display links for each HTML file listed in the response.
  • Ensure that clicking on a link opens the interactive HTML file in a new browser tab.
  • Add a section or heading to clearly separate the HTML links from other folder contents.

Files to Look at for More Information:

  • DroneWorld\backend\PythonClient\server\simulation_server.py
  • DroneWorld\frontend\src\components\ReportDashboard.jsx
  • DroneWorld\frontend\src\components\Dashboard.jsx
@mohamdlog mohamdlog added this to the Sprint 6 milestone Nov 19, 2024
@mohamdlog mohamdlog moved this to In Progress in Drone World Nov 19, 2024
@Hoshi-Okami Hoshi-Okami linked a pull request Nov 25, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in Drone World Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants