You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "tju-yxq (via GitHub)" <gi...@apache.org> on 2026/08/20 04:40:20 UTC

[I] Cloud credential settings page does not use the paginated inventory contract [rocketmq-dashboard]

tju-yxq opened a new issue, #2424:
URL: https://github.com/apache/rocketmq-dashboard/issues/2424

   ## Problem
   
   The backend now exposes a bounded cloud-credential inventory:
   
   ```text
   GET /api/cloud-credentials?vendor=&search=&page=&pageSize=
   ```
   
   It returns `PageResult<CloudCredentialVO>`, and the repository applies vendor/name filtering and page bounds at the SQL layer.
   
   The Settings page still consumes only the first page:
   
   ```ts
   void listCloudCredentials()
     .then((result) => setCredentials(result.items));
   ```
   
   The table then renders:
   
   ```tsx
   <Table ... pagination={false} />
   ```
   
   Consequences:
   
   - credentials beyond the first 20 rows cannot be viewed or edited from the Settings page;
   - no vendor filter is exposed even though the API supports it;
   - no name search is exposed even though the API supports it;
   - page size cannot be changed;
   - the user is not told that the table is a bounded page rather than the complete inventory;
   - create/update/delete only mutate the local first-page array, so a deleted last row leaves an empty-looking page even when later pages still contain rows;
   - the page has no request sequencing, so changing filters can race with an older request.
   
   This is not a backend pagination bug: #2306 correctly added the inventory contract. The Settings UI was only changed to unwrap `result.items`; it never became a paginated inventory view.
   
   ## Expected behavior
   
   The credential management tab should consume the existing backend contract fully:
   
   - vendor filter;
   - debounced name search;
   - bounded pagination with page and page size;
   - total row count from the server;
   - reset to page 1 when filters change;
   - deterministic handling of an emptied current page;
   - request sequencing so stale responses cannot overwrite newer filters;
   - after create/update/delete, refresh the current server page rather than only patching an unbounded local array;
   - retain masked AccessKey display and write-only SecretKey handling.
   
   ## Suggested acceptance tests
   
   - initial load requests page 1 with page size 20;
   - changing vendor or search resets to page 1 and sends both filters;
   - pagination changes send the selected page and page size;
   - a stale response for an older filter cannot overwrite a newer result;
   - deleting the last row on a later page moves to the previous page when appropriate;
   - creating a credential refreshes the server page;
   - updating a credential replaces the row using the server response;
   - masked AccessKey remains displayed and SecretKey is never returned.
   
   ## Value / size
   
   This is a user-facing correctness/performance completion of an already-merged backend capability. It naturally spans the Settings page, API call construction, request sequencing, pagination UI, filter UI, and focused component tests; the production change is expected to exceed 100 lines without test padding.


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cloud credential settings page does not use the paginated inventory contract [rocketmq-dashboard]

Posted by "tju-yxq (via GitHub)" <gi...@apache.org>.
tju-yxq closed issue #2424: Cloud credential settings page does not use the paginated inventory contract
URL: https://github.com/apache/rocketmq-dashboard/issues/2424


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cloud credential settings page does not use the paginated inventory contract [rocketmq-dashboard]

Posted by "tju-yxq (via GitHub)" <gi...@apache.org>.
tju-yxq commented on issue #2424:
URL: https://github.com/apache/rocketmq-dashboard/issues/2424#issuecomment-5370140399

   Implemented through the consolidated inventory PR #2436 (`3756d2f7`). The merged change includes the paginated cloud credential UI, filtering, request sequencing, and server-backed refresh behavior from #2425.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cloud credential settings page does not use the paginated inventory contract [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2424:
URL: https://github.com/apache/rocketmq-dashboard/issues/2424#issuecomment-5351600714

   **Issue Evaluation**
   
   Category: `bug` | Status: **Under Review**
   
   Thank you for reporting this issue. The reported problem appears to be a valid bug based on the description.
   
   **Next Steps:**
   - This issue has been flagged for automated verification against the current codebase
   - If confirmed as a reproducible bug, a fix proposal (PR) may be generated automatically
   - Community members can reply with `/approve` to proceed with PR generation, or provide additional context
   
   ---
   *Automated evaluation by RockteMQ-AI*


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org