Resolved an issue where item lists on the
dashboard would overflow the container borders
when containing many items. The updated logic
limits the visible items to the 5 most recent,
ensuring proper layout and improved UI
consistency.
Change-Id: I50ee8ed9e5b8d68abc77ae17ca4273320d2c6daa
(cherry picked from commit 1b70f20ee2)
(cherry picked from commit e87bb1d0c7)