Events list on cluster dashboard page restricts event count to 500 events
This is done by a simple slice of the events
However the events returned by Rancher are not ordered by time, so we don't display latest 500 only a pseudo random set
To Reproduce
Bring up a system with over 500 events (RKE2 initial has about 250)
In code change configureType(EVENT, { limit: 500 }); to have a limit of 100
Nav to Cluster dashboard page for cluster
Notice the difference between the 500 limit (where all are shown with latest in the first row) and limit 100 (where it doesn't show the latest in the first row
Expected Result
Latest events should be shown at the top of the list
Setup
Describe the bug
To Reproduce
configureType(EVENT, { limit: 500 });
to have a limit of 100Expected Result