Derive input-based state with computed()
Maintainer thường phản hồi trong vòng 4 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
What
Ten components read inputs in ngOnInit to compute local state, so that state goes stale when the parent changes the input. Switch them to input() and computed() so derived values stay reactive.
Requirements
- Switch, HStack, CircularPercentage, BatteryPercentage, HalfGauge, Graph, DoubleLineGraph, PieChart, SidebarCard and GraphSidebarMobile derive their state with computed() from input()
- ngOnInit removed where it only computed derived state
- Templates call the signal getters
- No rendering regressions; lint, tests and build pass
Notes
This is a subset of #193, so land it first.
Generated by Claude Code
- Ngôn ngữ chính
- TypeScript
- Star
- 5
- Fork
- 1
- Merge trung bình
- 3 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 38
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 Northeastern-Electric-Racing/Argos
-
Remove the landing pageĐang mởby: ai-assisted frontend good-for: new-member spike
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Northeastern-Electric-Racing/Argos#847 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Move client components to OnPush change detectionCó thể đã có người làm @bracyw đã nhận 1 ngày trước. Đang mởby: ai-assisted dev work frontend
Northeastern-Electric-Racing/Argos#863 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 4 ngày
-
graph-saving: Make a graph's screenshot the saved graphCó thể đã có người làm @sanjeetyellu đã nhận 1 ngày trước. Đang mởby: ai-assisted frontend spike
Northeastern-Electric-Racing/Argos#862 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 4 ngày
-
graph-saving: Save graphs through scylla-server, with export and uploadCó thể đã có người làm @sanjeetyellu đã nhận 1 ngày trước. Đang mởbackend by: ai-assisted frontend spike
Northeastern-Electric-Racing/Argos#861 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 4 ngày
-
graph-saving: Save a graph to a file and re-upload itCó thể đã có người làm @sanjeetyellu đã nhận 1 ngày trước. Đang mởby: ai-assisted frontend spike
Northeastern-Electric-Racing/Argos#860 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của Northeastern-Electric-Racing/Argos
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
polarsource/polar#15580 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accepted bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
pingdotgg/t3code#20931 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug/1-unconfirmed kind/bug
Độ 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
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ranxianglei/billion-context#3583 ·
Maintainer thường phản hồi trong vòng 1 ngày