Skip to content

feat: ship dashboard presets (home_splash / home_daily / home_github / project_github_activity) #77

Closed

Description

@unhappychoice

Tracks #76 (0.x release scope).

Background

For the 0.x release, ship four dashboard presets so users experience a "really good-looking dashboard" out of the box. Each preset is designed as a polished design composition (not just widgets stacked vertically).

Distribution: embed into src/templates/ via include_str!, selectable from splashboard install --template <name> (#58) — the subcommand itself lands in #58.

Depends on

Some parts of the presets can't be written until the above land. Once they're in place, everything else uses existing building blocks (no new renderer / fetcher family required).

Design vocabulary (shared across all 4 presets)

  1. hero — focal point. Giant ASCII (figlet or blocks) ± postfx animation.
  2. subtitle / attribution — small secondary line under the hero (text_dim).
  3. section divider — attach border = "top" + title = "..." to the body row that follows. No static decorative widget (requires BorderSpec::Top from feat(render): layout border-sides + renderer option polish for 0.x presets #79).
  4. typography hierarchy — bright (hero) / normal (body) / dim (subtitle, caption).
  5. breathing room — empty-line rows between sections (height = { length = 1 }).
  6. 2–4 column symmetric layout — body rows favor left/right symmetry and even splits.

home_splash — hero = terminal name in giant ASCII + postfx



          ██╗  ██╗██╗████████╗████████╗██╗   ██╗
          ██║ ██╔╝██║╚══██╔══╝╚══██╔══╝╚██╗ ██╔╝
          █████╔╝ ██║   ██║      ██║    ╚████╔╝ 
          ██╔═██╗ ██║   ██║      ██║     ╚██╔╝  
          ██║  ██╗██║   ██║      ██║      ██║   
          ╚═╝  ╚═╝╚═╝   ╚═╝      ╚═╝      ╚═╝   

              terminal · powered by macOS 14.3


      ──────  23 April 2026 · Thursday · 23:47  ──────

      Tokyo  ·  🌦 18°C cloudy  ·  🌅 06:12 ↗ 17:38
      moon: waxing gibbous
      year: ▓▓▓▓▓▓▓▓░░░░░░░░░░░░  32%


role implementation
hero system (kind=terminal) → text_ascii figlet banner wrapped in animated_postfx (effect=hsl_shift)
attribution static "terminal · powered by" + system (kind=os_version), two widgets side by side, text_plain dim
date bar clock (format="%e %B %Y · %A · %H:%M") → text_plain (combined with static em-dash decoration)
ambient static "Tokyo" + weather + clock_sunrise side by side → text_plain
moon static "moon:" + clock_derived (kind=moon) → text_plain
year clock_ratio (period=year) → gauge_line (label="year", value_format="percent")

home_github — hero = contributions grid (full width) + avatar image


  ┌──────────┐
  │          │      @ U N H A P P Y C H O I C E
  │ [avatar] │
  │          │      github profile · member since 2013
  └──────────┘


     ═══  contributions · last year  ═══════════════════

     ░░▒▒▓▓██▓▒░░▒▓█▒░░▒▓▓█░░▒▓█▒▓░░▒▓█▒░░▒▓▓░░▒▓█▒▒▓█
     ▒▒▓▓██▓▒░░▒▓█▒▒░░░▒▓█▒▓▒░▒▓█▒░░░▒▓█▒▒▓▓░░▒▓█▒▒▓▓█
     ░▒▓▓██▓▒░░░▒▓█▒░░▒▓▓█▒░░▒▓█▒░░▒▓▓█▒░░▒▓▓░░▒▓█▒▓▓█


     ───  attention  ───────────────────────────────────

          my PRs                  review queue
          • #42 feat: theme       • #128 fix: render
          • #41 fix: grid         • #127 chore: bump
          • #40 chore: deps       • #126 fix: style


     ───  recent  ──────────────────────────────────────

          ● 2h ago   opened #42 feat(theme): add nord
          ● 6h ago   reviewed #38 chore: bump deps
          ● 1d ago   merged  #41 fix(render): grid align


role implementation
avatar github_avatar → media_image (fit=contain, max_width=14, max_height=7, align=left)
hero static "unhappychoice" (user overwrites) → text_ascii figlet (style=small / standard)
subtitle static "github profile · member since ..." → text_plain dim
divider static "═══ contributions · last year ═══" → text_plain center
contributions github_contributions → grid_heatmap (full width)
attention github_my_prs + github_review_requests → list_plain (bullet="•", max_items=3) in 2 columns
recent github_notifications → list_timeline (bullet="●", date_format="relative")

home_daily — hero = large clock (ambient focus, no postfx)



     today


        ████████╗██╗  ██╗██╗   ██╗      ██████╗  ██████╗ 
        ╚══██╔══╝██║  ██║██║   ██║     ╚════██╗ ╚════██╗
           ██║   ███████║██║   ██║      █████╔╝  █████╔╝
           ██║   ██╔══██║██║   ██║      ╚═══██╗  ╚═══██╗
           ██║   ██║  ██║╚██████╔╝     ██████╔╝ ██████╔╝
           ╚═╝   ╚═╝  ╚═╝ ╚═════╝      ╚═════╝  ╚═════╝ 

               23 April 2026  ·  Thursday


     ───  outside  ─────────────────────────────────────

          🌦 cloudy 18°C         🌅 sunrise 06:12
          💨 wind 4 m/s          🌇 sunset  17:38
          💧 humidity 67%        🌙 waxing gibbous


     ───  time  ────────────────────────────────────────

          year    ████████░░░░░░░░░░   32%
          month   ███████████████░░░   79%
          week    ██████░░░░░░░░░░░░   60%
          day     █████████████░░░░░   72%


role implementation
label static "today" → text_plain dim
hero clock (format="%H:%M") → text_ascii (style=blocks, pixel_size=quadrant)
date clock (format="%e %B %Y · %A") → text_plain dim center
outside (left) weather → grid_table (cloudy / wind / humidity)
outside (right) clock_sunrise + clock_derived (kind=moon) → grid_table
time ratios four clock_ratio widgets (year / month / week / day) → gauge_line (label + value_format=percent)

project_github_activity — hero = giant repo-name ASCII + logo image


  ┌──────────┐  
  │          │  ███████╗██████╗ ██╗      █████╗ ███████╗██╗  ██╗
  │  [logo]  │  ██╔════╝██╔══██╗██║     ██╔══██╗██╔════╝██║  ██║
  │ .splb/   │  ███████╗██████╔╝██║     ███████║███████╗███████║
  │ logo.png │  ╚════██║██╔═══╝ ██║     ██╔══██║╚════██║██╔══██║
  │          │  ███████║██║     ███████╗██║  ██║███████║██║  ██║
  └──────────┘  ╚══════╝╚═╝     ╚══════╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝

                unhappychoice/splashboard · ★ 1.2k · MIT


     ───  branch  ──────────────────────────────────────

          main  ✓ clean  ↑3 ↓0  ·  1 stash  ·  v0.2.0


     ───  activity · last 30 days  ─────────────────────

          commits   ▁▂▃▇█▅▃▁▁▂▃▅▇▆█▅▃▁▂▃▅▇▆█▅▃
          CI runs   ▂▅█▆█▅█▆█   ✓ passing (main @ 2h ago)


     ───  open  ────────────────────────────────────────

          PRs                       review queue
          • #42 feat: theme         • #128 fix: render
          • #41 fix: grid           • #127 chore: bump


     ───  released  ────────────────────────────────────

          ● v0.2.0  3 days ago  · 42 commits since v0.1.9
          ● v0.1.9  2 weeks ago · 15 commits since v0.1.8
          ● v0.1.8  1 month ago


role implementation
logo image media_image → ./.splashboard/logo.png (optional — skipped if absent)
hero project_name → text_ascii figlet banner
subtitle project (Entries slug / stars / license) → grid_table inline layout, dim
branch git_status → grid_table inline layout
commits git_commits_activity → chart_sparkline (label="commits")
CI github_action_history → chart_sparkline (label="CI runs") + github_action_status → status_badge
PR / review github_repo_prs + github_review_requests → list_plain (bullet="•") in 2 columns
releases github_recent_releases → list_timeline (bullet="●", date_format="relative")

Implementation notes

Definition of Done

Out of scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    featwidget

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions