From e22676bebd06fddfc504ff706757d350138c3c44 Mon Sep 17 00:00:00 2001 From: Martin Trapp <94928215+martrapp@users.noreply.github.com> Date: Sat, 2 May 2026 19:08:59 +0200 Subject: [PATCH] Remove unused HTML output generation and delete rss.html file --- bin/rss-update.ts | 38 ----- public/rss.html | 298 ------------------------------------ src/components/vtbag-bar.ts | 2 - 3 files changed, 338 deletions(-) delete mode 100644 public/rss.html diff --git a/bin/rss-update.ts b/bin/rss-update.ts index b942003..abdc035 100644 --- a/bin/rss-update.ts +++ b/bin/rss-update.ts @@ -127,44 +127,6 @@ fs.writeFileSync(OUTPUT, rss.trim() + '\n'); console.log(`RSS written to ${OUTPUT}`); -const HTML_OUTPUT = 'public/rss.html'; -const buildDate = rfc822(new Date()); - -const htmlItems = items.map(item => ` -
-

${item.title}

-

- - ${item.author ? ` — ${item.author}` : ''} -

- ${item.description ? `

${item.description}

` : ''} -
`).join('\n'); - -const html = ` - - - - - @vtbag: The Bag of Tricks for View Transitions - - - - -
-

@vtbag: The Bag of Tricks for View Transitions

-

Tools, Tips, and Tricks to Enhance your Dev Skills with the View Transition API!

-

Last updated: ${buildDate}

-
-
-${htmlItems} -
- - -`; - -false && fs.writeFileSync(HTML_OUTPUT, html); -// console.log(`HTML written to ${HTML_OUTPUT}`); - const MARKDOWN_OUTPUT = 'src/content/docs/rss.md'; diff --git a/public/rss.html b/public/rss.html deleted file mode 100644 index 06b94b1..0000000 --- a/public/rss.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - @vtbag: The Bag of Tricks for View Transitions - - - - -
-

@vtbag: The Bag of Tricks for View Transitions

-

Tools, Tips, and Tricks to Enhance your Dev Skills with the View Transition API!

-

Last updated: Tue, 28 Apr 2026 13:27:41 GMT

-
-
- -
-

The View Transition API

-

- - -

-

Basics information about the View Transition browser API

-
- -
-

View Transition Names and Generated Pseudo-Elements

-

- - -

-

What are those pseudo-elements of the View Transition API and how can I style and animate them?

-
- -
-

Where to Place CSS for Cross-Document View Transitions?

-

- - -

-

Your CSS rules are ignored by the View Transition API? Maybe you put them in the wrong place.

-
- -
-

View Transitions: What Could Possibly Go Wrong?

-

- - -

-

Most of the time, View Transitions just work. This page is for the exceptions: the quirks, the caveats, the things that quietly cancel your animations. Learn how to detect them and bring transitions back to life.

-
- -
-

API Levels and Implications

-

- - -

-

What are those levels of the View Transition API, and what does that mean for me as a dev?

-
- -
-

View Transition JavaScript API

-

- - -

-

How to interact with view transitions using JavaScript

-
- -
-

Automatically Assigned View Transition Names

-

- - -

-

Explore current methods for automatically generating view transition names.

-
- -
-

Retain Control While Transitioning

-

- - -

-

Normally, you cannot interact with a page while view transition animations are running. Here is why that happens, and how to fix it.

-
- -
-

Add Native View Transitions to Your Starlight Site

-

- - -

-

Let your Starlight site twinkle in a smooth new light. Learn how to sprinkle some view transition magic on your existing setup.

-
- -
-

Playing Hide and Seek

-

- - -

-

How to control stacking and clipping of view transition images.

-
- -
-

Ladies and Gentlemen, Start Your Engines!

-

- - -

-

How to enable browser-native cross-document view transitions on your multi-page site.

-
- -
-

The Turn-Signal

-

- - -

-

@vtbag/turn-signal simplifies directional view transitions for intuitive history traversal navigation.

-
- -
-

Test Your Browser's View Transition Capabilities

-

- - -

-

Check what part of the View Transition API is supported by your browser

-
- -
-

Styling View Transitions

-

- - -

-

Styling view transitions including :active-view-transition-type and view-transition-class

-
- -
-

Flickering during Cross-Fade Animations?

-

- - -

-

Why custom fade animations for view transitions might flash.

-
- -
-

The Utensil Drawer

-

- - -

-

A growing collection of lightweight utilities to help you craft polished view transitions.

-
- -
-

The Cam-Shaft

-

- - -

-

Bump your view transition images into position to avoid that unexpected pseudo-smooth-scrolling.

-
- -
-

The Element Crossing

-

- - -

-

@vtbag/element-crossing allows you carry over state to the next page when using cross-document view transitions

-
- -
-

The Inspection Chamber

-

- - -

-

@vtbag/inspection-chamber allows you to examine, judge & optimize all aspects of your view transitions

-
- -
-

@vtbag: Overview

-

- - -

-

What are those Bags of Tricks?

-
- -
-

Playing Tower of Hanoi

-

- - -

-

Fun With View Transitions, Episode 7: Tips, tricks, and fresh ideas to spark your own view transition magic!

-
- -
-

Why View Transitions Might Break on Mobile

-

- - -

-

Figure out why view transitions might fail on mobile for no clear reason.

-
- -
-

Check and Control the Image Animations!

-

- - -

-

How to override the defaults animations for the ::view-transition-old and ::view-transition-new pseudo-elements.

-
- -
-

On a Trip to the Text Morphology Clinic

-

- - -

-

Join Dr. Bag on patient rounds as we explore text-morph animations crafted with the View Transition API. Discover common issues, explore diagnostic techniques, and apply effective treatments.

-
- -
-

Hello, and welcome to Fun with View Transitions!

-

- - -

-

Embark on a journey into the marvelous land of the View Transition API.

-
- -
-

Default View Transition Animations

-

- - -

-

Mastering the fundamentals is key to creating seamless animations with the View Transition API. Here's a quick guide to get you started.

-
- -
-

Make Your Images Glide Across the Screen

-

- - -

-

Let's add the morph animations that have made the View Transition API so renowned.

-
- -
-

Support in Web Frameworks

-

- - -

-

What is special when using React's

-
- -
-

Pseudo-Smooth-Scrolling

-

- - -

-

Instant scrolling on a page with view transition might lead to an unexpected smooth-scrolling effect.

-
- -
-

View Transition Examples

-

- - -

-

Basic examples on how to use the View Transition API for same-document and cross-document view transitions.

-
- -
-

Pointer Flickering

-

- - -

-

Your cursor can be a tricky shape-shifter during view transitions. Here's how to keep it in line.

-
-
- - diff --git a/src/components/vtbag-bar.ts b/src/components/vtbag-bar.ts index 74b49db..e67eccf 100644 --- a/src/components/vtbag-bar.ts +++ b/src/components/vtbag-bar.ts @@ -39,9 +39,7 @@ export function addBar(first:number) { const storedWidth = () => ~~sessionStorage.getItem("vtbag-bar")!; -// @ts-expect-error (window.navigation as EventTarget)?.addEventListener("navigate", (event) => { - // @ts-expect-error const e = event as NavigateEvent; console.log("event:", "navigate", e); -- knotmirror 0.0.1