Images are distorted in the Tactics modal dialog
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, typescript
Hướng nghiên cứu
Bắt đầu với src/renderer/tactics.tsx và src/renderer/tactics.css; kiểm tra SVG Workflow và các quy tắc định kích thước của nó, sau đó đọc các kiểu của modal trong src/renderer/modal.tsx và src/renderer/carbon/application.scss nếu vùng chứa ảnh hưởng đến kích thước. Tái hiện lỗi biến dạng trong hộp thoại Tactics ở kích thước desktop và viewport hẹp. Hoàn tất khi các sơ đồ giữ đúng tỷ lệ khung hình dự kiến ở cả chế độ sáng và tối, đồng thời kiểm thử hồi quy responsive xác minh cách hiển thị.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened?
Images (workflow diagrams) displayed inside the Tactics modal dialog (reported as the "Tact Cards" modal dialog) appear distorted.
What should have happened?
Workflow diagram images in the Tactics modal dialog should render cleanly at their intended aspect ratio without stretching, squishing, clipping, or other visual distortion across desktop and narrow viewports.
Steps to reproduce
- Open a project chat in Code60.
- Click the Tactics button in the chat composer to open the Tactics modal dialog.
- Preview tactics in the dialog and inspect the workflow diagram images rendered in the details pane.
- Observe that the rendered images appear distorted.
Reported by user; a fresh live browser reproduction has not been run for this issue.
App version or commit
Inspected origin/main: package.json version 0.5.0-beta, commit 10fb26f. Exact running build was not independently verified.
Affected interface
Desktop
Environment
- Operating system: macOS (exact running build/browser viewport not independently captured)
Impact and frequency
Visual defect affecting readability of workflow diagram images in the Tactics modal dialog; does not block applying tactics.
Code pointers
src/renderer/tactics.tsx—Workflow(<figure className="tactic-workflow"><svg viewBox="0 0 568 120" ...>) andTacticsDialogsrc/renderer/tactics.css—.tactics-layout,.tactic-content,.tactic-workflow, and.tactic-workflow svgsrc/renderer/modal.tsxandsrc/renderer/carbon/application.scss— Carbon modal container styling (.code60-modal)
Acceptance criteria
- Workflow diagram images in the Tactics modal dialog render at their intended aspect ratio without distortion across desktop and narrow viewports.
- Verify rendering across light, dark, and responsive viewport sizes with regression test coverage.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 1
- Merge trung bình
- 5 giờ 34 phút
- Pull request đã merge (30 ngày)
- 136
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeManufactoryLLC/Code60
-
bug needs-triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
CodeManufactoryLLC/Code60#359 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CodeManufactoryLLC/Code60
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
review-followup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
griffinwork40/agent-afk#5387 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
android:plan ios:plan main:plan packages:learn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
th30d4y/OpenLearnX#767 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày