[
https://issues.apache.org/jira/browse/ARTEMIS-5511?focusedWorklogId=971277&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-971277
]
ASF GitHub Bot logged work on ARTEMIS-5511:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/May/25 12:39
Start Date: 30/May/25 12:39
Worklog Time Spent: 10m
Work Description: GChuf opened a new pull request, #98:
URL: https://github.com/apache/activemq-artemis-console/pull/98
(no comment)
Issue Time Tracking
-------------------
Worklog Id: (was: 971277)
Remaining Estimate: 0h
Time Spent: 10m
> Improve rendering logic
> -----------------------
>
> Key: ARTEMIS-5511
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5511
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Web Console
> Reporter: Gašper Čefarin
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Came across this when trying to implement ARTEMIS-5424. The preferences for
> page size seem to be ignored.
> For every "tab" change: the ArtemisTable gets rendered 4 times (was testing
> queues tab), and the data from jolokia is fetched 2 times.
> After this PR, ArtemisTable is rendered 3 times "only" and the data is
> fetched only once.
> setPerPage does not seem to be necessary inside useEffect. I don't know yet
> where that is called, but pagination still works after this PR.
> The behavior is now slightly different when changing columns - the data does
> not get fetched/updated automatically after this PR.
> Would like to hear your opinions on this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact