Skip to content

fix: Add missing DataFrame web page routes and fix template syntax errors #464

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

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

plusplusoneplusplus
Copy link
Owner

Fixes issue where localhost:8000/dataframes could not be loaded.

Changes:

  • Added missing dataframes_page() and dataframe_detail_page() route handlers
  • Added static file mounting for JS/CSS assets
  • Fixed template syntax errors in dataframes.html
  • Added routes for /dataframes and /dataframes/{df_id}

Testing:

  • Before: 500 error on /dataframes
  • After: 200 OK on both /dataframes and /api/dataframes

Both DataFrame dashboard and API endpoints now work correctly.

…rors

- Add dataframes_page() and dataframe_detail_page() route handlers to server/main.py
- Add static file mounting for JavaScript and CSS assets
- Fix template syntax errors in dataframes.html
- Add routes for /dataframes and /dataframes/{df_id} pages
- Ensure DataFrame web interface is accessible at localhost:8000/dataframes

Fixes issue where localhost:8000/dataframes returned 500 error due to:
1. Missing web page route handlers (only API routes existed)
2. Template syntax errors in the original dataframes.html
3. Missing static file mounting for JavaScript assets

Both the DataFrame dashboard page and API endpoints now work correctly.
@plusplusoneplusplus plusplusoneplusplus merged commit ddc6869 into main Jul 15, 2025
12 checks passed
@plusplusoneplusplus plusplusoneplusplus deleted the fix/dataframes-web-interface branch July 15, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant