Skip to content

[refactor] Modernize Astro 6 migration and loader-driven UI initialization#27

Merged
nxdun merged 9 commits intomainfrom
nadun/performance-improve
Apr 7, 2026
Merged

[refactor] Modernize Astro 6 migration and loader-driven UI initialization#27
nxdun merged 9 commits intomainfrom
nadun/performance-improve

Conversation

@nxdun
Copy link
Copy Markdown
Owner

@nxdun nxdun commented Apr 7, 2026

Description

Refactors the portfolio app to complete an Astro 6 and Cloudflare adapter upgrade while simplifying page initialization flows and modernizing loading states across the UI. It also replaces the old image and search bootstrapping patterns with more direct loader-based behavior to improve maintainability and navigation stability. [file:1]

Key additions:

  • Refactor Astro and Cloudflare configuration to use Astro 6, updated adapter settings, and promoted font configuration from experimental to top-level config. [file:1]
  • Update package and CI tooling versions, including pnpm and Pagefind, and remove the @resvg/resvg-js dependency in favor of sharp for OG image generation. [file:1]
  • Add a reusable multi-mode Loader component that supports background, overlay, attached, and skeleton states with spotlight, sweep, and edge effects. [file:1]
  • Refactor project gallery image loading to use per-image skeleton loaders and fade out loaders after each image resolves. [file:1]
  • Fix search and tools page initialization by using direct astro:page-load hooks and removing retry-heavy or duplicate boot logic. [file:1]
  • Update homepage and layout structure to include global/background loader visuals, expanded navigation layout, and related styling changes. [file:1]

Types of Changes

  • Refactor

Checklist

  • Updated ChangeLog
  • Added unit tests
  • Backward compatible
  • Updated documentation
  • Improved code maintainability

nxdun added 7 commits April 7, 2026 10:31
…y refactoring search and tools initialization
…improved performance and flexibility

fix: update README to remove outdated Cloudflare rocket loader note
style: refine global styles for better text visibility and layout consistency
…ndling in YtdlpUiController

refactor: replace @resvg/resvg-js with sharp for PNG conversion in generateOgImages utility

This comment was marked as outdated.

@nxdun nxdun changed the title [build(deps)] Upgrade Astro 5→6, Vite 6→7, and related ecosystem packages [refactor] Modernize Astro 6 migration and loader-driven UI initialization Apr 7, 2026
@nxdun nxdun merged commit aa68d59 into main Apr 7, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants