You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/08 02:00:36 UTC

[PR] feat(instance): show the last successful load time [rocketmq-dashboard]

yyqdbngt opened a new pull request, #4103:
URL: https://github.com/apache/rocketmq-dashboard/pull/4103

   ## Summary
   
   Show "最近更新 HH:mm:ss" (i18n `common.lastUpdated`) in the instance
   inventory header. A successful instance-list load stamps `Date.now()`;
   failed loads keep the previous successful value and the indicator stays
   hidden until the first successful load.
   
   ## Why
   
   The instance inventory is the entry point for most operations, and nothing
   currently tells the operator when the visible list was last refreshed
   successfully. The indicator makes staleness visible without extra requests.
   
   ## Testing
   
   - `cd web && ./node_modules/.bin/tsc -b tsconfig.app.json` — passes (exit 0).
   - `./node_modules/.bin/vitest run src/pages/instance/__tests__/InstancePage.test.tsx`
     (Node 20 build server) — 23/23 passed, including the new freshness cases
     (successful load shows the time, failed reload keeps the previous value).
   


-- 
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: [PR] feat(instance): show the last successful load time [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #4103: feat(instance): show the last successful load time
URL: https://github.com/apache/rocketmq-dashboard/pull/4103


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