From 3aaf328511fbded6f3dd8b0213d047ee25ab8675 Mon Sep 17 00:00:00 2001 From: Vishesh 'ironeagle' Bangotra Date: Tue, 18 Nov 2025 17:55:01 +0530 Subject: [PATCH] feat(router): migrate to declarative view-based navigation system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Introduce unified View hierarchy (VIEW_TREE) with parent/child relationships - Add useViewRouter for navigate(), goBack(), openArticle(), and dynamic child navigation - Replace legacy boolean-based view flags with single ui.view state - Implement dynamic component rendering via VIEW_COMPONENTS map - Add HomeView wrapper and integrate dynamic navigation props - Update ArticleView to use open_editor and new ArticleViewProps - Adjust ArticleEditor props type to accept null article - Normalize navigation prop naming (open_* passed as onBack/onEdit via router) - Enforce validation: prevent article updates without logged-in user - Remove old conditional rendering/switch blocks and simplify Blog.tsx - Version bump: 0.2.3 → 0.2.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 964ebd5..133e072 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aetoskia-blog-app", - "version": "0.2.3", + "version": "0.2.4", "private": true, "scripts": { "dev": "vite",