Commit graph

5201 commits

Author SHA1 Message Date
Timothy Z.
a1d42f686e Player: offload all subtitles logic to hook 2026-04-30 15:31:02 +03:00
Timothy Z.
02d7a0a7a6 Merge branch 'development' into fix/subtitles-selection-improvements 2026-04-30 14:16:24 +03:00
Timothy Z.
e2c5c43dad fix: improve auto selection of subs 2026-04-30 11:54:20 +03:00
Timothy Z.
aa84737299 feat: redesign player controls 2026-04-30 00:31:06 +03:00
Timothy Z.
12af0e1d5e refactor: correct the gamepad lock id 2026-04-29 17:33:31 +03:00
Timothy Z.
7637620ac5 gamepad: add lock unlock on dom 2026-04-29 17:25:35 +03:00
Timothy Z.
73a02564b3 refactor: make sure the gamepad modal focus is respected 2026-04-29 16:48:53 +03:00
Timothy Z.
7c3f79ac1a refactor: correctly getActiveScope when on modal 2026-04-29 16:37:51 +03:00
Timothy Z.
b7655e658f refactor: correctly focus player buttons 2026-04-29 16:28:39 +03:00
Timothy Z.
f70af4efda fix: stuck on board issue 2026-04-29 16:27:02 +03:00
Timothy Z.
c47a06c667 refactor: correctl change layout xbox controller 2026-04-29 16:18:12 +03:00
Timothy Z.
5079af1c8d refactor: support auto controller detection 2026-04-29 15:57:40 +03:00
Timothy Z.
e5570f94a3 correct code indentation 2026-04-29 13:23:49 +03:00
Timothy Z.
a649ef696a correct types for dir analog btns 2026-04-29 13:23:15 +03:00
Timothy Z.
4756a959e8 code style improvements 2026-04-29 13:21:22 +03:00
Timothy Z.
aac69c43db typing improvements 2026-04-29 13:21:09 +03:00
Timothy Z.
4b6b0058fa refactor: code quality improvments 2026-04-29 13:20:14 +03:00
Timothy Z.
12f3138341 add diagram animation 2026-04-29 00:16:38 +03:00
Timothy Z.
831222f812 improve algo for finding items 2026-04-29 00:07:16 +03:00
Timothy Z.
5abe361d00 refactor: improve player navigation 2026-04-28 23:52:59 +03:00
Timothy Z.
70e14c4871 refactor: improve navigation 2026-04-28 23:49:46 +03:00
Timothy Z.
972bd23991 add actiongroup focus 2026-04-28 23:41:30 +03:00
Timothy Z.
4b92d9dd4f correct tab indexes for buttons 2026-04-28 23:38:59 +03:00
Timothy Z.
a9ff0f6365 add search route 2026-04-28 23:32:05 +03:00
Timothy Z.
0b601010e2 fix: tests + stale callbacks 2026-04-28 22:57:33 +03:00
Timothy Z.
f95273b8ce feat: add controller guide 2026-04-28 22:31:33 +03:00
Timothy Z.
d62ba32363 fix: imports 2026-04-28 17:14:07 +03:00
Timothy Z.
93833d0cd1 fixes
1. Player.js — Added optional chaining (gamepad?.on/gamepad?.off) to prevent null crash
  2. GamepadProvider.tsx — Toast messages now use t('GAMEPAD_CONNECTED') / t('GAMEPAD_DISCONNECTED') via i18next, added keys to en-US.json
  3. useVerticalNavGamepadNavigation.tsx — Fixed event.nativeEvent?.spatialNavigationPrevented → event.spatialNavigationPrevented (native DOM events don't have nativeEvent)
  4. GamepadProvider.tsx — Changed connectedGamepads from useState to useRef to avoid rAF effect restart cycle, removed it from effect deps, simplified the enabled guard
2026-04-28 17:09:02 +03:00
Timothy Z.
0c1af71aa9 Merge remote-tracking branch 'origin/development' into feat/gamepad-support
# Conflicts:
#	package-lock.json
#	package.json
#	src/App/App.js
#	src/routes/Player/Player.js
#	src/routes/Settings/General/General.tsx
2026-04-28 16:47:48 +03:00
Timothy Z.
ba45c7f47f
Merge pull request #1235 from mrcanelas/fix/pwa-metadetails-safe-area
Some checks are pending
Build / build (push) Waiting to run
Details: Fix respect PWA safe area
2026-04-28 15:25:57 +02:00
Timothy Z.
450229a40f restore 2026-04-28 11:48:06 +03:00
Timothy Z.
4107366094 Merge branch 'br-img' of https://github.com/dav1312/stremio-web into pr/1231 2026-04-28 11:40:36 +03:00
mrcanelas
a20640d87f fix: respect PWA safe area in metadetails 2026-04-27 18:42:18 -03:00
dav1312
55904da5f0 style(ui): update background image alignment 2026-04-27 23:01:10 +02:00
Timothy Z.
233049cf6d fix: sidedrawer bug on webkit browsers 2026-04-27 14:55:17 +03:00
Timothy Z.
0925cb0939 Player: subtitle improvements 2026-04-27 14:50:06 +03:00
Timothy Z.
3d9b403cb8 fix(player): derive subtitles toggle state from live track selection
The C shortcut tracked enabled/disabled via a ref that was never reset
on stream change and was not updated when the user picked tracks via
the menu, so the toggle could become inverted or no-op until pressed
twice. Read selectedSubtitlesTrackId / selectedExtraSubtitlesTrackId
directly instead.
2026-04-27 13:57:56 +03:00
Timothy Z.
21620c81e0
Merge pull request #1233 from Stremio/player/fix-shortcuts-hold-repeat-throttle
Player: Correctly throttle holding shortcut actions
2026-04-27 10:24:53 +02:00
Timothy Z.
2730444445 correct throttle ms 2026-04-27 11:20:42 +03:00
Timothy Z.
5f6ff99cb6 Revert "Update Shortcuts.tsx"
This reverts commit 136b3b24d2.
2026-04-27 11:20:03 +03:00
Timothy Z.
136b3b24d2 Update Shortcuts.tsx 2026-04-27 10:36:26 +03:00
Timothy Z.
e805fef88c fix: throttle repeat actions 2026-04-27 10:27:57 +03:00
Timothy Z.
95ee640813 Player: fix subtitles size shortcut 2026-04-27 10:11:52 +03:00
FrigoDev
5611a36783
Merge branch 'Stremio:development' into feat/meta-preview-action-buttons-tooltips 2026-04-25 13:07:00 -05:00
David
4e66a60e11
style(ui): adjust side panel border-radii and center main background image
- Remove border-radius from side panels where they meet the screen edges to ensure a flush, "docked" appearance against the viewport wall.
- Center the main background image for better visual placement on small screens.
2026-04-25 13:58:32 +02:00
FrigoDev
e136770d7e detail: add tooltips for rating like and rating love 2026-04-24 16:59:43 -05:00
FrigoDev
fc7dc45a54 Revert "feat: add styled tooltips to trailer and rating actions"
This reverts commit 204d9afc8f.
2026-04-24 16:55:39 -05:00
Timothy Z.
ea9edc292c
Merge pull request #1223 from Stremio/feat/add-subtiles-menu-options-context-menu
Some checks are pending
Build / build (push) Waiting to run
Player: Add context menu on subtitle choice
2026-04-23 20:50:50 +03:00
Timothy Z.
0d1358d6cb fix: correctly use track for selection 2026-04-23 19:47:32 +02:00
Timothy Z.
3c417a3306 fix: correctly show the variant label instead 2026-04-23 19:40:37 +02:00