Commit graph

8 commits

Author SHA1 Message Date
Toil
d41c3d7da0
feat: implement WEB_ABR strategy 2026-09-11 11:04:44 +03:00
Toil
2c61a877a1
build: improved DX with autobuild using bun
Some checks are pending
Build / node (22.x) (push) Waiting to run
Build / extension (22.x) (push) Waiting to run
Build / bun (push) Waiting to run
Release / Build Release (push) Waiting to run
Release / create_release (push) Blocked by required conditions
2026-08-03 00:17:41 +03:00
Toil
73ed08be1a
rafactor: added native ext store build & fixed env parsing 2026-07-22 17:33:44 +03:00
NullVerdict
749529c48e refactor: shared utilities and consolidate build configs
Some checks failed
Build / node (22.x) (push) Has been cancelled
Build / extension (22.x) (push) Has been cancelled
Build / bun (push) Has been cancelled
Release / Build Release (push) Has been cancelled
Release / create_release (push) Has been cancelled
Extract common extension utilities (runtime messages, DNR updates, transport validation) into reusable functions in webext.ts and transport.ts. Consolidate Vite configuration creation with new createBaseViteConfig() function to reduce duplication across build configs. Move headers.json from vite/lib/extension/ to src/ and improve build pipeline organization for Firefox and Chrome extension builds.
2026-07-05 19:54:50 +03:00
NullVerdict
2ff7985607 refactor: subtitles, mute logic and build tooling
Some checks are pending
Build / node (22.x) (push) Waiting to run
Build / extension (22.x) (push) Waiting to run
Build / bun (push) Waiting to run
Release / Build Release (push) Waiting to run
Release / create_release (push) Blocked by required conditions
Large refactor: improve subtitle parsing, tokenization and wrapping (displayModel, renderPlan, smartWrap, standards, widget) to handle HTML tags, punctuation, attached word/number cases and VTT/ASS edge cases. Simplify VideoManager/VideoHandler mute API (removed preserve option) and add logic to preserve YouTube volume storage where needed; update smart ducking usage and UI volume handling. Sanitize extension bridge/notifications errors and GM notification fields. Restructure Vite build helpers into vite/lib (paths, env, manifest/userscript tooling, chrome-postbuild) and update configs to use new utilities. Misc utils and filename trimming fixes.
2026-07-05 15:47:43 +03:00
NullVerdict
2f83d6458a refactor: reorganize code structure and improve extension bootstrap
Some checks are pending
Build / node (22.x) (push) Waiting to run
Build / extension (22.x) (push) Waiting to run
Build / bun (push) Waiting to run
Release / Build Release (push) Waiting to run
Release / create_release (push) Blocked by required conditions
Major code reorganization to improve maintainability and separation of concerns:

- Extract VideoHandler class to dedicated src/VideoHandler.ts file
- Move core utilities to src/core/ (authWindow, translateApis, fullscreenHelper, platformEvents, eventImpl)
- Move videoHandler-specific utilities (translationVolume, volumeLink)
- Move top-level utilities (VOTLocalizedError, notify)
- Extract ResponseCacheManager to src/utils/responseCache.ts
- Add new src/core/translationErrors.ts for error handling utilities
- Create IIFE entry point (src/extension/prelude.iife.ts) for CRXJS Chrome builds
- Simplify extension bootstrap flow - remove prelude readiness polling
- Update Chrome extension manifest generation to split prelude/content scripts
- Fix debug mode checks (invert conditionals)
- Update dependencies (@crxjs/vite-plugin, lefthook, npm-run-all2, sass, typescript, vite, rolldown, and related packages)
2026-07-04 15:57:37 +03:00
NullVerdict
01a7cfa7dd refactor: improve code quality and optimize builds
Some checks failed
Release / Build Release (push) Has been cancelled
Build / node (22.x) (push) Has been cancelled
Build / extension (22.x) (push) Has been cancelled
Build / bun (push) Has been cancelled
Release / create_release (push) Has been cancelled
- Simplify expressions and replace manual attribute manipulation with toggleAttribute
- Extract MountCache type and add LangOverride type for better type safety
- Parallelize file I/O operations in build scripts for improved performance
- Add caching for alt-URL match patterns to avoid redundant computations
- Fix type inconsistencies (xhrSessionId should be string)
- Cache country code lookups to eliminate duplicate function calls
- Convert locale header reading to async and reuse across build phases
- Add chunkSizeWarningLimit and CSS code split disable to build configs
- Change useLivelyVoice default from true to false
- Refactor function parameters to use options objects for better clarity
2026-06-30 00:50:49 +03:00
NullVerdict
623717c2ad refactor: crxjs integration & extension cleanup 2026-06-29 15:37:37 +03:00