moonming opened a new pull request, #3421:
URL: https://github.com/apache/apisix-dashboard/pull/3421

   ## What
   
   Deleting a **consumer** from its detail page navigated to 
**/consumer_groups** (`src/routes/consumers/detail.$username/index.tsx` — 
copy-paste from a sibling page). Every other resource's detail page returns to 
its own list after delete (e.g. protos → `/protos`).
   
   ## How
   
   One-line change: `navigate({ to: '/consumer_groups' })` → `navigate({ to: 
'/consumers' })`, plus a regression e2e 
(`e2e/tests/regression/consumers.delete-redirect.spec.ts`) that creates a 
consumer via the Admin API, deletes it through the detail page UI, and asserts 
the URL lands on `/consumers` with the row gone.
   
   ## Verification
   
   - new spec passes locally against a real APISIX; `pnpm lint` clean, `tsc -b` 
clean
   
   Found during the review tracked in #3417.


-- 
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]

Reply via email to