lxbme opened a new pull request, #3454: URL: https://github.com/apache/apisix-dashboard/pull/3454
**Why submit this pull request?** - [x] Bugfix - [ ] New feature provided - [ ] Improve performance - [ ] Backport patches **What changes will this PR take into?** A list page with no rows rendered a bare "No Data" table. That is least helpful on a fresh install, exactly when someone has the least idea what the page is for. Every list now renders **"No <Resource> yet"** through a shared `ListEmptyState`. <img width="1431" height="787" alt="截屏2026-07-29 09 23 42" src="https://github.com/user-attachments/assets/9ad5b3e9-ba12-48cd-bf82-430d098e5cc0" /> ### Tests `e2e/tests/integration/empty-state.all-resources.spec.ts` already visited resource lists and hard-failed if a raw i18n key leaked into the UI. It now also asserts the message on ten resource lists. That assertion doubles as proof the interpolation resolved rather than rendering a raw key, since the expected text is built from the same plural label the message interpolates. A new spec covers the nested credentials list, which the loop cannot reach. **Related issues** Part of #3453 **Checklist:** - [x] Did you explain what problem does this PR solve? Or what new features have been added? - [x] Have you added corresponding test cases? - [ ] Have you modified the corresponding document? - [x] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first Verified: `pnpm test` 84/84, `pnpm lint`, `pnpm exec tsc -b`, and a production `pnpm build` all clean. e2e green across `e2e/tests/integration/`, the new and updated empty-state specs, and the `services.crud-*` specs. Checked by hand in Chrome in English and Chinese — "No Upstreams yet" / "还没有上游", "No SSLs yet" / "还没有SSLs" — confirming the interpolation resolves per-locale. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
