[PR #106] [CLOSED] feat(auth-files): dynamic error-code selection on current page #109

Closed
opened 2026-02-27 16:42:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/router-for-me/Cli-Proxy-API-Management-Center/pull/106
Author: @RGBadmin
Created: 2/19/2026
Status: Closed

Base: mainHead: feat/auth-files-dynamic-error-code-select


📝 Commits (2)

  • 9e5b127 feat(auth-files): dynamic error-code selection and visible quota refresh
  • 70760e7 fix(review): resolve runtime bug and simplify quota provider switch

📊 Changes

6 files changed (+420 additions, -5 deletions)

View changed files

📝 src/features/authFiles/hooks/useAuthFilesData.ts (+18 -0)
📝 src/i18n/locales/en.json (+12 -1)
📝 src/i18n/locales/ru.json (+12 -1)
📝 src/i18n/locales/zh-CN.json (+12 -1)
📝 src/pages/AuthFilesPage.tsx (+268 -2)
📝 src/utils/usage.ts (+98 -0)

📄 Description

Summary

This PR improves auth-file batch selection and quota refresh workflows:

  • Add one-click Refresh Visible Quota for current page auth files (supported providers only).
  • Add dynamic error-code chips in batch action bar (codes derived from current page failure records).
  • Support selecting by multiple error codes in one click, including for failures without parsed code.
  • Keep existing Select Abnormal quick action.
  • Add i18n keys for en / zh-CN / ru.

Notes

  • Error-code options are generated from usage details of files on the current page.
  • is included when a failed record has no parseable HTTP status code.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/router-for-me/Cli-Proxy-API-Management-Center/pull/106 **Author:** [@RGBadmin](https://github.com/RGBadmin) **Created:** 2/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/auth-files-dynamic-error-code-select` --- ### 📝 Commits (2) - [`9e5b127`](https://github.com/router-for-me/Cli-Proxy-API-Management-Center/commit/9e5b12761be90f0cd3ac01ba7fb08a63f634e9d9) feat(auth-files): dynamic error-code selection and visible quota refresh - [`70760e7`](https://github.com/router-for-me/Cli-Proxy-API-Management-Center/commit/70760e7a63ecd4f40206ce392efe659d782f90a3) fix(review): resolve runtime bug and simplify quota provider switch ### 📊 Changes **6 files changed** (+420 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/features/authFiles/hooks/useAuthFilesData.ts` (+18 -0) 📝 `src/i18n/locales/en.json` (+12 -1) 📝 `src/i18n/locales/ru.json` (+12 -1) 📝 `src/i18n/locales/zh-CN.json` (+12 -1) 📝 `src/pages/AuthFilesPage.tsx` (+268 -2) 📝 `src/utils/usage.ts` (+98 -0) </details> ### 📄 Description ## Summary This PR improves auth-file batch selection and quota refresh workflows: - Add one-click **Refresh Visible Quota** for current page auth files (supported providers only). - Add dynamic error-code chips in batch action bar (codes derived from current page failure records). - Support selecting by multiple error codes in one click, including for failures without parsed code. - Keep existing **Select Abnormal** quick action. - Add i18n keys for en / zh-CN / ru. ## Notes - Error-code options are generated from usage details of files on the current page. - is included when a failed record has no parseable HTTP status code. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:42:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cli-Proxy-API-Management-Center#109
No description provided.