Skip to content

Frontend tweaks#189

Merged
luk27official merged 4 commits intocusbg:mainfrom
luk27official:feature/tweaks
Dec 27, 2025
Merged

Frontend tweaks#189
luk27official merged 4 commits intocusbg:mainfrom
luk27official:feature/tweaks

Conversation

@luk27official
Copy link
Copy Markdown
Collaborator

Features:

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements frontend improvements including package updates, a loading spinner during structure overpainting, and log file viewing for failed tasks. The changes span backend API endpoints for log retrieval, executor modifications to copy logs on failure, and frontend UI enhancements.

  • Updated frontend dependencies to latest versions
  • Added loading spinner UI during polymer color changes
  • Implemented log file access for failed docking and tunnels tasks via new API endpoints

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 16 comments.

Show a summary per file
File Description
web-server/src/tunnels_task.py Added get_log method to retrieve log files for tasks by hash
web-server/src/docking_task.py Added get_log method, fixed regex raw string, changed type hint from any to typing.Any, added null check for TaskInfo.data
web-server/src/api_v2.py Added API routes for retrieving docking and tunnels task logs
gateway/Dockerfile Updated Node.js base image from version 19.7 to 24
frontend/server/server.develop.js Changed route handler from app.get to app.use for better middleware compatibility
frontend/package.json Updated all frontend dependencies to latest versions
frontend/client/viewer/components/visualization-tool-box.tsx Made polymer color change async with loading state to show spinner during overpainting
frontend/client/viewer/components/visualization-tool-box.css Added CSS styles for loading overlay spinner
frontend/client/viewer/components/tasks-table.tsx Added clickable failed task status with log viewing functionality
frontend/client/viewer/application.tsx Made onPolymerColorChange async to support loading state, added type annotation for RCSB callback
frontend/build/webpack.common.js Added fullySpecified: false to resolve ES module import issues
executor-tunnels/run_task.py Added logic to copy log files to public directory when tasks fail
executor-docking/run_task.py Added logic to copy log files to public directory when tasks fail

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread web-server/src/docking_task.py
Comment thread web-server/src/tunnels_task.py
Comment thread frontend/client/viewer/components/tasks-table.tsx
Comment thread executor-docking/run_task.py
Comment thread executor-tunnels/run_task.py
Comment thread frontend/client/viewer/components/visualization-tool-box.tsx Outdated
Comment thread frontend/server/server.develop.js
Comment thread executor-tunnels/run_task.py
Comment thread executor-docking/run_task.py
Comment thread frontend/client/viewer/components/visualization-tool-box.tsx
@luk27official luk27official merged commit 51d5c4e into cusbg:main Dec 27, 2025
@luk27official luk27official deleted the feature/tweaks branch December 27, 2025 15:07
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.

2 participants