diff --git a/CHANGELOG.md b/CHANGELOG.md index a3d0e06..952d441 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Changed +- **Home, navigation and shared-parameters polish.** The Home page leads with a + full-bleed hero banner (drop `Assets/HomeHero.png` to supply the image), the + CLI launcher is a horizontal carousel that overlaps the banner, and a centred + pill selector switches between Most used / Recent / Favourites. The navigation + pane toggle (hamburger) moved to the title bar (Home is the first nav item), + and the footer destinations (Shared parameters / Tags / Trash / Settings) now + show the selected indicator like the other nav items. Clicking Home also + clears the search. Shared parameters — global and per-CLI (reached from the CLI + view header) — now have a read-only card view with an edit modal, instead of + inline editing; the Tags and Shared-parameters panes are left-aligned. Settings + is grouped into "Appearance & behaviour" and "About"; the About expander + shows the version and copyright, with links to clone the repo and file issues. +- **Shell layout: CLI switcher and search moved to the title bar.** The CLI + switcher and a snip search box now live in the custom title bar. Search is + snip-only with name autocomplete, scoped to the selected CLI; each suggestion + shows its CLI in a badge so identically-named snips are distinguishable, and + choosing one filters the list to it. The left navigation now leads with + **Home** and **Documentation** entries, followed by a **Tags** heading with an + **All** entry and the scoped tags; the footer actions (Shared parameters, + Tags, Trash, Settings) are left-aligned. +- **Polished cards, dialogs and destructive actions.** Snip cards now size the + Copy button to its content and group Edit/Delete immediately beside it. + Destructive actions (Delete CLI, and the delete confirmations) use a subtle + red treatment. Dialogs have rounded corners, all dialog buttons share rounded + corners with more breathing room between them, and the snip editor is wider so + its content fills the available space. The snip editor's "Command template" + heading no longer inherits the monospace font. - **JSON stores moved to System.Text.Json source generation.** `JsonSnipStore` and `JsonSettingsStore` now serialise via a generated `JsonSerializerContext` instead of the reflection-based serializer, removing the IL2026 trim warnings. @@ -17,6 +44,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 IL2104 on the WinAppSDK/WinRT/Jdenticon assemblies, which aren't trim-safe. ### Added +- **Redesigned Home page.** A gradient hero banner heads the page, the CLI + launcher uses landscape tiles (232×172) showing each CLI's description, and a + segmented selector below switches between **Most used**, **Recent** and + **Favourites** snips (drawn from every CLI) shown as a card grid. +- **CLI descriptions.** A CLI can carry a short description, edited in the CLI + editor and shown on its Home card. (Store schema is now v4; an older build + refuses a v4 store rather than dropping descriptions.) +- **Tag icons in the navigation.** Tags can carry a Segoe Fluent Icons glyph, + shown beside the tag in the left navigation (new tags default to a tag glyph). A new + "Tags" entry in the left-pane footer lets you set each tag's icon. Icons are + nav-only — snip tag chips are unchanged. (Store schema is now v3; an older + build refuses a v3 store rather than dropping tag icons.) - **Shared parameter definitions.** Define a parameter once and reuse it across snips, at two scopes: **CLI-scoped** (in the CLI editor — inherited by every snip under that CLI) and **global** (a new "Shared parameters" entry in diff --git a/src/Snipdeck.App/App.xaml b/src/Snipdeck.App/App.xaml index 5797699..fc25777 100644 --- a/src/Snipdeck.App/App.xaml +++ b/src/Snipdeck.App/App.xaml @@ -3,14 +3,59 @@ x:Class="Snipdeck.App.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:local="using:Snipdeck.App"> + xmlns:local="using:Snipdeck.App" + xmlns:views="using:Snipdeck.App.Views"> - + + + + + + + + + + + + + + + + + +