Increase maximum number of entries in host detection page #30

Open
opened 2025-12-03 22:28:31 +00:00 by luca0N · 0 comments
Owner

At this time, the host-list page will only display up to five detected hosts, where older hosts are removed from the list on newer detections. Thus, the page will always only display up to five recent detections.

This is particularly problematic on networks with plenty of devices, where the list will update frequently. Since the current behavior of the list is to only add new devices (previous detections are dismissed), the list will eventually stall.

It is important to note that the host-list page should not exceed the height that of the user agent's window (except for very small windows). Otherwise, the page may eventually become too large, pushing the footer to the bottom and making it difficult to access it. Instead, the actual host list should have its own scroll bar.

At this time, [the `host-list` page will only display up to five detected hosts, where older hosts are removed from the list on newer detections](src/commit/e7ea6ce13720b2a6057bf7da8c9585c9ad6e1e7c/client/src/app/host-list.ts#L201). Thus, the page will always only display up to five recent detections. This is particularly problematic on networks with plenty of devices, where the list will update frequently. Since the current behavior of the list is to only add _new_ devices (previous detections are dismissed), the list will eventually stall. It is important to note that the `host-list` page should not exceed the height that of the user agent's window (except for very small windows). Otherwise, the page may eventually become too large, pushing the footer to the bottom and making it difficult to access it. Instead, the actual host list should have its own scroll bar.
luca0N self-assigned this 2025-12-03 22:28:31 +00:00
luca0N added this to the v1.0.0 project 2025-12-03 22:28:31 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
luca0N/lanbassador#30
No description provided.