ansys / ansys/Visual-Interactive-Simulation-Object-Renderer

[Remote rendering 4.4] Live scene refresh upon server-originated operations in remote mode

Đang mở
#29 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
functional
Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
37

Mô tả

### 📝 Description of the feature

Fullstack user story. Keep the client view in step with server-side scene changes so adding or removing a dataset on a live remote session refreshes the view without a browser reload.

When a scene-mutating operation originates on the server (ie through an API, eg add_dataset, update_variables, load_state), the client has no way to know unless the server tells it. This user story propagates those changes: the server signals that the scene changed, and the frontend re-fetches scene details and rebuilds so the view reflects the new structure.

Two main surfaces update:

- The rendered frame (the server re-renders it and the stream carries it), and the UI computed from scene structure, tree view, legend/color panel, and widgets, which the frame alone doesn't touch.
- The surfaces differ by operation, most involve a tree rebuild, while update_variables changes variable metadata and so the legend rather than the tree.

Fullstack: the backend signal and frontend rebuild are individually untestable, so these are together in a single user story here.

### Acceptance Criteria

A Python API call that modifies the scene, e.g. add_dataset, refreshes without a browser reload, and the corresponding UI updates (e.g. tree rebuild) works in remote mode.
Tests pass

### 💵 Business Value

_No response_

### 🔗 Useful links and references

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với các thao tác phía máy chủ add_dataset, update_variables và load_state, sau đó lần theo đường dẫn của client ở chế độ remote để cập nhật scene. Xác minh rằng thay đổi scene qua Python API cập nhật frame được render và UI tree, legend, color panel hoặc widget tương ứng mà không cần tải lại trình duyệt, rồi chạy các bài kiểm thử của dự án.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
full-stack
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.