feat(tv): unify IPTV, Xtream, and Stalker portal setup into widescreen modal - #647
Merged
ProdigyV21 merged 9 commits intoSep 5, 2026
Merged
Conversation
Himanth-reddy
marked this pull request as draft
September 5, 2026 11:44
… modal - Introduce unified IptvPlaylistModal supporting M3U, Xtream Codes, and Stalker portals - Provide responsive two-column 10-foot layout with source tab switcher - Implement inline contextual paste buttons for URLs, credentials, and MAC addresses - Refine D-pad focus flow across tabs and input fields without accidental auto-selection - Prefill default playlist name (Playlist 1) and portal name (Portal 1) - Replace separate IPTV and Stalker modals in SettingsScreen
Himanth-reddy
force-pushed
the
feat/unified-tv-source-modal
branch
from
September 5, 2026 11:46
e65a714 to
1edf605
Compare
Himanth-reddy
marked this pull request as ready for review
September 5, 2026 12:09
…/pr647-playlist-fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Unifies all TV source setup workflows (M3U Playlists, Xtream Codes, and Stalker Portals) into a single cohesive modal, tailored for both TV and Mobile experiences:
InputModal) design language with full-width fields, touch subtitle"Tap to edit • Paste anywhere", and a dedicated full-width paste button.Changes
1. Mobile Experience (Matches Add Addons / InputModal)
• Adaptive Layout: On touchscreen devices (
isTouchDevice), uses the single-column centered dialog matchingInputModal.• Touch Subtitle: Includes
"Tap to edit • Paste anywhere"under the dialog title.• Full-Width Roomy Fields: Replaced crowded inline buttons with clean full-width input boxes and numbered badges
[1],[2],[3], etc.• Dedicated Full-Width Paste Button: Added
[ 📋 Paste into [Target] ]at the bottom of the fields that dynamically targets whichever field was tapped (or defaults to the URL field).• Pinned Action Buttons: Cancel and Save Playlist buttons (
weight(1f)) are anchored at the bottom.• URL Keyboard Optimization: Added
InputType.TYPE_TEXT_VARIATION_URIfor URL fields.2. TV Experience (10-Foot Widescreen Layout)
• Unified 3-Way Source Switcher: Combined M3U, Xtream, and Stalker setups under one "Add Playlist" modal in Settings.
• Left Sidebar: Provides source tabs and import content toggles (Live TV, Movies, Series).
• Right Pane: Provides input fields, contextual inline paste buttons, and action buttons.
• Fine-tuned TV Remote D-pad Navigation:
• Navigating across source tabs with arrow keys only moves focus and does not switch
sourceTypeuntil OK / Enter is pressed.• Symmetrical sequential D-pad flow:
[ M3U ]↔[ Xtream ]↔[ Stalker ]↔[ Playlist Name ].• Focused tabs feature an outer focus ring with a dark separation gap and 1.05x scale elevation for visibility on all backgrounds.
3. General Enhancements
• Prefilled Defaults: New M3U and Xtream playlists prefill with
"Playlist 1"; new Stalker portals prefill with"Portal 1".• Settings Screen Cleanup: Removed redundant "Add Stalker Portal" button in TV and mobile settings rows.