refactor(forntend): improve providers table#5033
Conversation
Code Review: refactor(frontend): improve providers tableOverviewThis PR decouples Potential Bugs
select: (data) =>
data.pages.reduce((acc, page) => acc + page.datacenters?.length, 0),
data.pages.reduce((acc, page) => acc + (page.datacenters?.length ?? 0), 0)Inconsistent open-redirect guard for Google OAuth callback - from && from.startsWith("/") && !from.startsWith("//")But
Code Quality
Security
Minor
Overall this is a clean, well-structured refactor. The decoupling pattern is correct, and the stories cover the meaningful edge cases (empty endpoint set, mixed kinds, error state, global deployment). The |
f633f55 to
c64f1b8
Compare
223bdc0 to
2b7c11e
Compare
c64f1b8 to
e1f82ef
Compare
2b7c11e to
3a3f4db
Compare
3a3f4db to
15a9161
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: