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

Load main page content in order #139

Closed
wants to merge 3 commits into from
Closed

Conversation

damontecres
Copy link
Owner

After #131 & #133, the rows on the main page load asynchronously. And the first one to load grabs the focus of the page which is not ideal.

This PR forces the rows to be loaded sequentially so the focus stays on the first row.

A better approach would probably be to figure out a way to still run async but control the focus better or focus on the search button. So far haven't found a way to do this.

@damontecres damontecres added the user interface Relates to the app's user interface/experience label Feb 23, 2024
damontecres added a commit that referenced this pull request Feb 24, 2024
Replaces #139 

After #131 &
#133, the rows on
the main page load asynchronously. And the first one to load grabs the
focus of the page which is not ideal.

This PR refactors so that all of the data is fetch asynchronously, but
added to the UI in order.

Additionally, in the event of failures, focus will be moved to the top
bar. Before focus would be lost and you have to press up to get to the
bar to scroll over the settings.
@damontecres damontecres deleted the ui/main-page-serial branch March 1, 2024 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user interface Relates to the app's user interface/experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant