Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
quality:
runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","arko","typetype"]') }}
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1

- uses: oven-sh/setup-bun@v2.2.0
with:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
needs: quality
runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","arko","typetype"]') }}
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1

- uses: oven-sh/setup-bun@v2.2.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
coverage:
runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-24.04' || fromJSON('["self-hosted","Linux","X64","arko","typetype"]') }}
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1

- uses: oven-sh/setup-bun@v2.2.0
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
metadata-json: ${{ steps.meta.outputs.json }}
version: ${{ steps.info.outputs.version }}
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1

- uses: oven-sh/setup-bun@v2.2.0
with:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Extract image metadata
id: meta
uses: docker/metadata-action@v6.0.0
uses: docker/metadata-action@v6.2.0
with:
images: ${{ steps.info.outputs.image }}
tags: |
Expand All @@ -84,28 +84,28 @@ jobs:
- platform: linux/arm64
arch: arm64
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1

- name: Isolate Docker credentials
run: echo "DOCKER_CONFIG=$RUNNER_TEMP/docker-config" >> "$GITHUB_ENV"

- uses: docker/login-action@v4.1.0
- uses: docker/login-action@v4.5.2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: docker/setup-qemu-action@v4.1.0
- uses: docker/setup-qemu-action@v4.2.0
if: matrix.arch == 'arm64'
with:
platforms: arm64
cache-image: false

- uses: docker/setup-buildx-action@v4.0.0
- uses: docker/setup-buildx-action@v4.2.0

- name: Build and push platform image
id: build
uses: docker/build-push-action@v7.1.0
uses: docker/build-push-action@v7.3.0
with:
context: .
build-args: |
Expand Down Expand Up @@ -158,13 +158,13 @@ jobs:
pattern: frontend-digest-*-${{ github.run_id }}-${{ github.run_attempt }}
merge-multiple: true

- uses: docker/login-action@v4.1.0
- uses: docker/login-action@v4.5.2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: docker/setup-buildx-action@v4.0.0
- uses: docker/setup-buildx-action@v4.2.0

- name: Publish manifest list
id: manifest
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ RUN bun install --frozen-lockfile
COPY apps/web ./apps/web

RUN bun run --cwd apps/web build
RUN find apps/web/dist -type f \
\( -name '*.css' -o -name '*.html' -o -name '*.js' -o -name '*.json' -o -name '*.svg' \) \
-exec gzip -9 -k '{}' \;

FROM nginx:1.31.0-alpine AS runner
FROM nginx:1.31.3-alpine AS runner
ARG BUILD_VERSION=0.1.0
ARG BUILD_REVISION=development
ARG BUILD_TIME=unknown
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@typetype/web",
"private": true,
"version": "1.2.4",
"version": "1.3.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Binary file removed apps/web/public/import-cooking-chef.gif
Binary file not shown.
Binary file removed apps/web/public/import-dudu-cooking.gif
Binary file not shown.
Binary file removed apps/web/public/member-only.gif
Binary file not shown.
5 changes: 1 addition & 4 deletions apps/web/src/components/embed-player-shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { useWatchVttAssets } from "../hooks/use-watch-layout-assets";
import { useWatchSponsorBlock } from "../hooks/use-watch-sponsorblock";
import { getOriginalAudioLocale } from "../lib/audio-track";
import { resolveEmbedAutoplay } from "../lib/embed-playback";
import type { PlaybackMode } from "../lib/playback-mode";
import { toPublicWatchParam } from "../lib/watch-url";
import type { VideoStream } from "../types/stream";
import { EmbedError, PLAYBACK_FAILED_MESSAGE } from "./embed-error";
Expand All @@ -20,7 +19,6 @@ type Props = {
startTime: number;
autoplay: boolean;
sessionEnabled: boolean;
playbackMode: PlaybackMode;
};

export function EmbedPlayerShell({
Expand All @@ -29,13 +27,12 @@ export function EmbedPlayerShell({
startTime,
autoplay,
sessionEnabled,
playbackMode,
}: Props) {
const { settings, settingsReady, update } = useSettings({
forceAnonymous: !sessionEnabled,
});
const isLive = stream.streamType === "live_stream" || stream.streamType === "audio_live_stream";
const player = usePlayerError(stream, isLive, playbackMode);
const player = usePlayerError(stream, isLive);
const handleVolumeChange = useVolumeSync(update.mutate);

const positionRef = useRef(0);
Expand Down
26 changes: 0 additions & 26 deletions apps/web/src/components/navbar-playback-mode.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions apps/web/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { useUiStore } from "../stores/ui-store";
import { NavbarAccountControls } from "./navbar-account-controls";
import { NavbarLeadingControl } from "./navbar-leading-control";
import { NavbarNotifications } from "./navbar-notifications";
import { NavbarPlaybackMode } from "./navbar-playback-mode";
import { NavbarSearch } from "./navbar-search";
import { Toast } from "./toast";

Expand Down Expand Up @@ -90,7 +89,6 @@ export function Navbar() {
{canOpenSearch && !isMobile && <NavbarSearch />}

<div className="ml-auto flex shrink-0 items-center gap-1 sm:gap-2">
<NavbarPlaybackMode />
<NavbarNotifications />
<NavbarAccountControls
status={status}
Expand Down
165 changes: 0 additions & 165 deletions apps/web/src/components/playback-transition-notice.tsx

This file was deleted.

Loading