fix(xtream): scroll to the selected category (#1663)

This commit is contained in:
Kate Markson authored and GitHub committed 2026-09-26 21:59:09 +02:00
1 parent e39c854a41
commit e619a2be86
7 files changed
+224 -8

No files matched your search

+5
View File
@@ -87,6 +87,11 @@ ALTER TABLE categories ADD COLUMN hidden INTEGER DEFAULT 0
- **No content deletion**: Hiding a category only affects sidebar visibility; the category and its content remain in the database
- **Display order**: The sidebar defaults to server order. Users can switch the
category panel to `A-Z` or `Z-A` from the sort menu next to category search.
- **Selection scrolling**: The panel centers the rendered selected row after
selection changes. Electron selects by local SQLite category ID; the row's
`data-category-id` can contain its provider ID. Those IDs are not
interchangeable when locating the scroll target, including after filtering
hidden categories or sorting.
- **All-hidden recovery**: Once the selected Xtream type is loaded, the manage
categories button remains available even if every visible category has been
hidden. The sidebar category list is filtered, but the dialog reads all