From 48cb66de574a561ba906879b05bc97c3c58bf445 Mon Sep 17 00:00:00 2001 From: phranck Date: Fri, 6 Feb 2026 10:56:55 +0100 Subject: [PATCH] Chore: Filter [skip ci] commits from dashboard --- README.md | 16 ++++++++-------- docs/app/hooks/useGitHubStats.ts | 24 +++++++++++++----------- plans/done/2026-02-05-progress-view.md | 17 ++++++++--------- 3 files changed, 29 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index a29c2601..d7006ef9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Tests](https://img.shields.io/badge/Tests-552_passing-brightgreen) ![Swift 6.0](https://img.shields.io/badge/Swift-6.0-F05138?logo=swift&logoColor=white) ![Platforms](https://img.shields.io/badge/Platforms-macOS%20%7C%20Linux-blue) -![License](https://img.shields.io/badge/License-CC--BY--NC--SA%204.0-lightgrey?style=flat) +![License](https://img.shields.io/badge/License-MIT-lightgrey?style=flat) ![TUIkit Banner](.github/assets/github-banner.png) @@ -82,7 +82,7 @@ struct ContentView: View { - **Text styling** — bold, italic, underline, strikethrough, dim, blink, inverted - **Full color support** — ANSI colors, 256-color palette, 24-bit RGB, hex values, HSL -- **Theming** — 7 predefined palettes (Green, Amber, White, Red, NCurses, Generated) +- **Theming** — 6 predefined palettes (Green, Amber, Red, Violet, Blue, White) - **Border styles** — rounded, line, double, thick, ASCII, and more ### Advanced @@ -136,12 +136,12 @@ struct MyApp: App { ``` Available palettes (all via `SystemPalette`): -- `.green` — Classic green CRT (default) -- `.amber` — Amber monochrome -- `.white` — White on black -- `.red` — Red terminal -- `.violet` — Retro sci-fi -- `.blue` — VFD displays +- `.green` — Classic P1 phosphor CRT (default) +- `.amber` — P3 phosphor monochrome +- `.red` — IBM 3279 plasma +- `.violet` — Retro sci-fi terminal +- `.blue` — VFD/LCD displays +- `.white` — DEC VT100/VT220 (P4 phosphor) ## Architecture diff --git a/docs/app/hooks/useGitHubStats.ts b/docs/app/hooks/useGitHubStats.ts index b35e8dbd..95671d11 100644 --- a/docs/app/hooks/useGitHubStats.ts +++ b/docs/app/hooks/useGitHubStats.ts @@ -407,17 +407,19 @@ export function useGitHubStats(options?: UseGitHubStatsOptions): UseGitHubStatsR const repo = repoResult.data; - const recentCommits: CommitEntry[] = commitsResult.data.map((commit) => { - const { title, body } = splitCommitMessage(commit.commit.message); - return { - sha: commit.sha.slice(0, 7), - title, - body, - author: commit.commit.author.name, - date: commit.commit.author.date, - url: commit.html_url, - }; - }); + const recentCommits: CommitEntry[] = commitsResult.data + .filter((commit) => !commit.commit.message.includes("[skip ci]")) + .map((commit) => { + const { title, body } = splitCommitMessage(commit.commit.message); + return { + sha: commit.sha.slice(0, 7), + title, + body, + author: commit.commit.author.name, + date: commit.commit.author.date, + url: commit.html_url, + }; + }); const result: GitHubStats = { stars: repo.stargazers_count, diff --git a/plans/done/2026-02-05-progress-view.md b/plans/done/2026-02-05-progress-view.md index fe1ed24e..c69ff11c 100644 --- a/plans/done/2026-02-05-progress-view.md +++ b/plans/done/2026-02-05-progress-view.md @@ -63,15 +63,14 @@ Downloading 50% ### Styles -6 built-in styles via `.progressBarStyle(_:)` modifier: +5 built-in styles via `.progressBarStyle(_:)` modifier: ``` -line: ████████████████░░░░░░░░░░░░░░░░ (whole blocks) -lineSmooth: ████████████████▍░░░░░░░░░░░░░░░ (sub-character precision via ▉▊▋▌▍▎▏) -thin: ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░ -half: ▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌──────────────── -braille: ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀ -dot: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●──────────────── (● head in accent color) +block: ████████████████░░░░░░░░░░░░░░░░ (whole blocks) +blockFine: ████████████████▍░░░░░░░░░░░░░░░ (sub-character precision via ▉▊▋▌▍▎▏) +shade: ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░ +bar: ▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌──────────────── +dot: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●──────────────── (● head in accent color) ``` ### Width @@ -102,7 +101,7 @@ dot: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●────── - [x] Implement all 4 initializers with SwiftUI-matching signatures - [x] Implement `Renderable` with bar rendering - [x] Add `Equatable` conformance -- [x] Implement 6 bar styles via `ProgressBarStyle` enum + `.progressBarStyle(_:)` modifier -- [x] Create tests in `Tests/TUIkitTests/ProgressViewTests.swift` (27 tests / 3 suites) +- [x] Implement 5 bar styles via `ProgressBarStyle` enum + `.progressBarStyle(_:)` modifier +- [x] Create tests in `Tests/TUIkitTests/ProgressViewTests.swift` (26 tests / 3 suites) - [x] Add to example app (ContainersPage — ProgressViewRow) - [x] `swift build` + `swiftlint` + `swift test`