feat: look up a pool by id
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 39/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- data, full-stack
Hướng nghiên cứu
Start with worker/src/stats.ts and inspect how the indexer records pool owners and aggregates PoolRedeemed bytes; trace the existing static export and pool data flow to identify where per-pool records can be supplied. Then review the relevant UI entry point and its typecheck and lint commands. Done means the acceptance criteria are met, including lookup validation and not-found feedback, accessible themed UI, and passing pnpm typecheck && pnpm lint.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Add a search input where a user enters a pool ID and sees that pool's details.
Today the stats file only records each pool's owner (poolOwners, keyed by poolId) and folds PoolRedeemed bytes into region totals, so the indexer (or a direct PaymentPool read) needs to keep a per-pool record before most fields can show.
Missing data: status (open/closed), nodes paid from the pool, capacity / balance, usage (bytes redeemed per pool), stake / rewards, creation date (PoolOpened block timestamp).
Acceptance criteria
- Search input accepts a pool ID (32-byte hex) and submits on Enter or a button
- Shows the pool's owner, status, nodes, capacity, usage, stake/rewards and creation date
- Malformed IDs show a clear validation error without a lookup
- Well-formed IDs with no matching pool show a clear "pool not found" message
- Indexer (or contract read) provides the per-pool fields above; schema change follows
worker/src/stats.ts - Works on the static export, keyboard accessible, in light and dark themes
-
pnpm typecheck && pnpm lintpass
- Ngôn ngữ chính
- TypeScript
- Star
- 2
- Fork
- 0
- Merge trung bình
- 10 giờ 46 phút
- Pull request đã merge (30 ngày)
- 37
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 decdn/stats
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feature frontend indexer
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat: mark Labs nodes and pools, and show external nodes and external bytes as their own countersĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
decdn/stats#65 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat: add a world map of nodes by regionCó thể đã có người làm @yigitdot đã nhận 30 ngày trước. Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
area:cli bug P4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug from-studio
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
esengine/DeepSeek-Reasonix#14868 ·
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 82/100
linxiv-dev/linXiv#384 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
scope:core type:security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
follow-redirects updateĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
mailgun/mailgun.js#544 ·