Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate shared UI into ServerList control #211

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

ciaran
Copy link
Contributor

@ciaran ciaran commented Feb 26, 2025

Currently there are two views displaying a server list with duplicate layout required, this consolidates the server lists into a single control which is shared by the two views.

The expectation is that all current layout and behaviour is unchanged (aside from the message when a filter has no results now being shown as an incidental change).

Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Currently both the servers and home tabs contain markup for displaying a server list,
this adds a new control which is used by both to remove the duplication.

NOTE: This currently omits the "Go to the servers tab" button which floats
at the bottom of the favourites list.
User is expected to provide null/empty if text should not be visible.
Currently this panel when open will obscure the server list scrollview behind it.

This changes fixes the layout to stack the two panels vertically as you’d expect.
@ciaran ciaran force-pushed the server-list-control branch from 5f66460 to 0921323 Compare February 27, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant