myYouTube/frontend
vrubelroman 906a142796 Add "Open on YouTube" button on the video page player
The embed (youtube-nocookie.com) player occasionally shows a bot-check
prompt that can't be resolved inside the privacy-mode iframe (no cookies,
no user session). Adds a compact button-quiet link with the youtube icon,
last in .video-page-actions (both the local-copy and YouTube branches share
the same seekButtons fragment), opening video.youtube_url in a new tab as
an escape hatch -- same pattern ShortsFeed already used.

Touch targets bumped to 44px for it in the existing narrow-screen and
pointer:coarse media queries alongside the seek buttons.

This was already built and deployed from a dirty working tree before being
committed; verified by diffing the live bundle hash (index-C0inGQPn.js)
against a fresh local build -- identical.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-20 19:46:39 +00:00
..
public Fix review findings and remove Uncategorized from sidebar 2026-09-17 17:22:22 +00:00
src Add "Open on YouTube" button on the video page player 2026-10-20 19:46:39 +00:00
.gitignore Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
.oxlintrc.json Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
index.html Redesign responsive MyTube interface 2026-09-16 21:40:32 +00:00
package-lock.json Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
package.json Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
README.md Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
tsconfig.app.json Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
tsconfig.json Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
tsconfig.node.json Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
vite.config.ts Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the Oxlint configuration

If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "plugins": ["react", "typescript", "oxc"],
  "options": {
    "typeAware": true
  },
  "rules": {
    "react/rules-of-hooks": "error",
    "react/only-export-components": ["warn", { "allowConstantExport": true }]
  }
}

See the Oxlint rules documentation for the full list of rules and categories.