Commit graph

154 commits

Author SHA1 Message Date
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.
fcd85bdcf4 feat: handle http/magnets from search bar 2026-03-30 18:40:24 +03:00
Christian
a0615bda42 Complete addition of cause argument
As mentioned in #296 error cast are now added with cause argument.

Signed-off-by: Christian <chr.korber@gmail.com>
2025-10-07 19:57:29 +02:00
Botzy
ddf842b0c7 Merge branch 'development' into feat/gamepad-support 2025-08-28 12:08:03 +03:00
Tim
1c1163888e refactor(service): remove init shell logic 2025-06-20 12:11:34 +02:00
Tim
7ec7e8eb03 refactor: rewrite settings route 2025-06-18 09:48:12 +02:00
Botzy
45ffc79b1b Merge branch 'development' into feat/gamepad-support 2025-06-10 16:34:38 +03:00
Tim
2b44367a26 feat: toggle fullscreen with F key with shell 2025-05-27 10:28:02 +02:00
Botzy
39bfd7cc22 fix: issue with hook imports 2025-04-02 13:46:46 +03:00
Botzy
d84e0f849f fix: added copyright 2025-04-01 16:29:45 +03:00
Botzy
8c612d951f fix(GamepadProvider): fix issue with getting latest event handler array element for older node versions 2025-04-01 16:18:44 +03:00
Botzy
1474d18c83 fix: linting & errors 2025-04-01 15:45:02 +03:00
Botzy
8cee08a008 fix(useContentGamepadNavigation): align moving left and right with v4 behaviour 2025-04-01 15:44:31 +03:00
Botzy
bc81bd1fc8 fix(GamepadProvider): prevent emitting more than one event handler at a time 2025-04-01 15:22:48 +03:00
Botzy
9c34a23888 fix(GamepadSupport): disable vertical nav gamepad support on meta details and player 2025-03-31 20:26:52 +03:00
Botzy
96164511b5 feat(GamepadSupport): added support for HorizontalNavBar 2025-03-28 15:24:38 +02:00
Botzy
c302adc815 fix(GamepadSupport): disable click on dropdowns 2025-03-28 15:22:41 +02:00
Botzy
4f3105f354 feat(Gamepad): Add gamepad spatial navigation on main screens content 2025-03-27 17:46:55 +02:00
Botzy
70653adc6f fix(useVerticalSpatialNavigation): fix issue with race condition removing all handlers 2025-03-27 12:45:12 +02:00
Botzy
476f2f8551 feat(useVerticalSpatialNav): added hook for enabling spatial nav on vertical navigation 2025-03-26 19:00:55 +02:00
Botzy
41865276d5 fix(GamepadSupport): fix issue with multiple handler events being fired 2025-03-25 19:07:01 +02:00
Botzy
b36ebcb4c6 feat(GamesupportProvider): improve logic for enabling gamepad support 2025-03-24 17:10:37 +02:00
Botzy
5927b17e87 feat(GamesupportProvider): add enabled prop to start/stop gamepad support 2025-03-24 17:09:09 +02:00
Botzy
4617d030aa feat(GamepadProvider): added Gamepad context and provider 2025-03-24 13:37:39 +02:00
Tim
9d18a1bb61 fix: drop srt file with shell 2025-02-06 18:10:34 +01:00
Tim
3df8eb65d0 feat: allow to drop local subtitles 2025-01-08 20:41:55 +01:00
Tim
77ce94673d Merge branch 'development' of https://github.com/Stremio/stremio-web into feat/calendar 2024-10-09 10:52:08 +02:00
Tim
e51e6f415e chore: update eslint 2024-10-07 12:17:33 +02:00
Tim
8a79058d1c feat: calendar 2024-06-18 12:07:34 +02:00
kKaskak
86a62fa797 update: shortcuts 2023-12-25 15:30:23 +02:00
Tim
32aee9de6a refactor: update copyright header year 2023-06-09 19:16:32 +02:00
Tim
3e3e97ee76 refactor: add typings 2023-03-14 05:02:16 +01:00
Nikola Hristov
78a2898367
Merge pull request #320 from zafar-hussain/zh-branch
Add cause argument to the custom errors #296
2022-11-26 13:59:08 +02:00
nklhrstv
eae061d997 new chromecast message protocol 2022-11-18 19:57:15 +02:00
zafar-hussain
b0fcfce24a Add cause argument to the custom errors #296 2022-11-08 14:05:05 +05:00
nklhrstv
4cec766e7e remove onDrop toast 2022-10-19 15:22:04 +03:00
nklhrstv
da1db50108 show notifications while processing a dropped torrent file 2022-10-18 13:39:02 +03:00
nklhrstv
418782e596 Merge branch 'development' of github.com:Stremio/stremio-web into core-async-api 2022-09-12 20:00:06 +03:00
nklhrstv
1d43da60c2 change the bridge api 2022-08-05 08:48:01 +03:00
nklhrstv
7657bad07c worker & bridge moved to core-web 2022-08-04 17:07:00 +03:00
Vladimir Borisov
e20207b1ef
Cast shell message to error 2022-07-29 13:55:05 +03:00
Vladimir Borisov
16aa087021
Throw an error if the Qt API is not found 2022-07-29 12:41:40 +03:00
Vladimir Borisov
c535a200e1
Move the business logic to ShellTransport 2022-07-27 12:22:51 +03:00
Vladimir Borisov
1ba83f42bb
Implement shell IPC and pass it to the player 2022-07-26 13:40:54 +03:00
nklhrstv
62ae99282f copytight header added 2022-07-10 10:12:45 +03:00
nklhrstv
de9577efe5 core ran in a worker thread 2022-07-09 23:16:43 +03:00
nklhrstv
11be6d8f8c use async api of getState 2022-07-06 17:16:33 +03:00
nklhrstv
03b5f1fa9b use decode_stream instead of pako 2022-06-27 17:07:58 +03:00
nklhrstv
24a8cbcab4 fix chromecast transport for large messages 2022-06-10 18:30:47 +03:00