close #1514 A query submitted from the companion remote now behaves like a submit instead of focus-to-type: TvKeyboardController closes an already-open OSK and lands focus on the input without reopening it, then the shared handleSearchSubmit path runs the search and focuses the first result. Also guard DebouncedMediaSearch against selection-only controller notifications re-arming the debounce into a duplicate fetch. Co-authored-by: l3gitpanda <12003346+l3gitpanda@users.noreply.github.com>
25 lines
524 B
Dart
25 lines
524 B
Dart
mixin Refreshable {
|
|
void refresh();
|
|
}
|
|
|
|
mixin FullRefreshable {
|
|
void fullRefresh();
|
|
}
|
|
|
|
mixin FocusableTab {
|
|
void focusActiveTabIfReady();
|
|
}
|
|
|
|
mixin SearchInputFocusable {
|
|
void focusSearchInput();
|
|
|
|
/// Apply a complete query submitted from outside the field (e.g. the Plezy
|
|
/// companion remote): run the search and land focus on the results without
|
|
/// leaving the TV on-screen keyboard open.
|
|
void submitSearchQuery(String query);
|
|
}
|
|
|
|
mixin LibraryLoadable {
|
|
void loadLibraryByKey(String libraryGlobalKey);
|
|
}
|