Commit graph

6469 commits

Author SHA1 Message Date
erik
e65c023772 Handle macOS media controls 2026-05-02 18:24:44 +02:00
Timothy Z.
01e728bd84
Merge pull request #1230 from Sanjays2402/fix/lithuanian-iso-code
Some checks failed
Build / build (push) Has been cancelled
Dev: Fix correct Lithuanian ISO 639-2 code from 'ltu' to 'lit'
2026-05-01 19:53:07 +03:00
Timothy Z.
607826388a
Merge pull request #1247 from Stremio/fix/spacebar-click-hold-behaviour
Player: Fix spacebar hold recognision
2026-05-01 19:42:28 +03:00
Timothy Z.
b249f27143 fix: spacebar hold recognision 2026-05-01 19:39:37 +03:00
Timothy Z.
17f0ee0f62
Merge pull request #1246 from Stremio/fix/gamepad-modal-overflow
GamePad: Fix modal overflow
2026-05-01 19:37:38 +03:00
Timothy Z.
69a11bd25d fix: correctly scroll only content in modal 2026-05-01 19:33:46 +03:00
Timothy Z.
e6078f6822 fix: gamepad modal overflow 2026-05-01 19:07:42 +03:00
Timothy Z.
dcf5173b22
Merge pull request #1244 from Stremio/refactor/player-offload-subtitles-logic
Dev: Offload all subtitles logic from Player to dedicated hook
2026-05-01 18:50:09 +03:00
Timothy Z.
6fc21e314d
Merge pull request #1237 from AKnassa/fix/fullscreen-state-desync-on-route-change
App: Correctly display fullscreen status
2026-05-01 18:41:19 +03:00
Timothy Z.
42579ce297 cleanup 2026-05-01 18:37:19 +03:00
AK
5686019587 fix(fullscreen): use settings hook for escape behavior
Wrap the fullscreen provider with the core suspender so it can read escExitFullscreen through useSettings instead of manually parsing core event payloads.
2026-04-30 15:29:56 -04:00
AK
fa3cd0f5b2 fix(fullscreen): ignore shortcut in editable fields 2026-04-30 12:23:15 -04:00
Timothy Z.
a1d42f686e Player: offload all subtitles logic to hook 2026-04-30 15:31:02 +03:00
Timothy Z.
856f612f23
Merge pull request #1243 from Stremio/fix/subtitles-selection-improvements
Some checks are pending
Build / build (push) Waiting to run
Player: improve auto selection of subs
2026-04-30 14:45:34 +03:00
Timothy Z.
02d7a0a7a6 Merge branch 'development' into fix/subtitles-selection-improvements 2026-04-30 14:16:24 +03:00
Timothy Z.
2b7746b6a2
Merge pull request #1242 from Stremio/feat/redesign-player-controls
Player: redesign player controls
2026-04-30 14:14:17 +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
AK
dfe0d08a78 chore(fullscreen): drop inline rationale comments, bump copyright to 2026
Addresses review feedback: the explanatory block comments in
FullscreenProvider (source-of-truth rationale, CoreTransport typing
note) were noise — the same context already lives in the PR
description and commit history. Copyright headers on the four new
files were carried over from the template at 2023; bumped to 2026.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 17:20:54 -04:00
Timothy Z.
a83788ef67 bump: release v5.0.0-beta.36
Some checks are pending
Build / build (push) Waiting to run
2026-04-29 17:38:18 +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.
2c578bf40a
Merge pull request #1239 from Stremio/refactor/gamepad-detection
GamePad: support auto controller detection
2026-04-29 16:55:11 +03:00
AK
9412bb004c fix(build): update gamepad nav useFullscreen import path
The merge of development into this branch combined two incompatible
changes: development's new GamepadNavigation files (#882) imported
useFullscreen from the old 'stremio/common/useFullscreen' path, while
this branch removed that file in b7f7a3d2e and moved the hook to
'stremio/common/Fullscreen'. Webpack failed to resolve the module on
CI even though git auto-merged without conflict markers.

Update the single stale import in useHorizontalNavGamepadNavigation.tsx
to point at the new module. The new index.ts exports useFullscreen as
default, so the import shape is unchanged.

Verified locally with `pnpm build` (passes with only pre-existing
bundle-size warnings).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 09:52:42 -04:00
Timothy Z.
73a02564b3 refactor: make sure the gamepad modal focus is respected 2026-04-29 16:48:53 +03:00
AK
b2eec31114 Merge branch 'development' into fix/fullscreen-state-desync-on-route-change
Resolves a conflict in src/App/App.js between the new GamepadProvider
(landed via #882 on development) and FullscreenProvider on this branch.
Both wrap parts of the app tree at the same point.

Resolution: nest as <GamepadProvider> > <ShortcutsProvider> >
<FullscreenProvider>. FullscreenProvider stays innermost so it remains
inside ShortcutsProvider — required for the onShortcut('fullscreen', ...)
subscription added in 35b100767. Both ShortcutsModal and GamepadModal
render as siblings inside FullscreenProvider. NavBar conflict
auto-merged cleanly (kept useFullscreen import, added gamepad-nav hook).

Lint and types clean on App.js, HorizontalNavBar.js, FullscreenProvider.tsx.
2026-04-29 09:45:59 -04: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.
971d75e6c2 bump: stremio-translations to v1.52.0
Some checks are pending
Build / build (push) Waiting to run
2026-04-29 14:15:35 +03:00
Timothy Z.
2075b1c521
Merge pull request #882 from Stremio/feat/gamepad-support
Feat: Gamepad Support in Web v5
2026-04-29 14:06:23 +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