ali-ahnaf / ali-ahnaf/pocket_pixel

feat(ui): surface API failures instead of only logging to console

オープン
#11 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
frontend up for grabs
主要言語
TypeScript
スター
14
フォーク
91
PR マージ指標
30日以内にマージされた PR はありません

説明

## Priority
Medium

## Why this matters
Several screens catch failures with `console.error`, leaving the user with stale or empty UI and no explanation.

## Evidence
- `packages/ui/src/app/page.tsx` and `packages/ui/src/app/stats/page.tsx` only log fetch errors.
- `packages/ui/src/lib/api/ApiClient.ts` logs raw errors globally.

## Acceptance criteria
- Add reusable loading, empty, and error states.
- Show actionable toast/banner messages for failed mutations and fetches.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。