git-cliff icon indicating copy to clipboard operation
git-cliff copied to clipboard

feat(tui): initialize TUI with Ratatui

Open orhun opened this issue 1 year ago • 1 comments

[!IMPORTANT]
I'm building this on livestream: https://www.youtube.com/@orhundev

Description

Heavily WIP

Motivation and Context

Why not?

How Has This Been Tested?

Screenshots / Logs (if applicable)

Types of Changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [x] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation (no code change)
  • [ ] Refactor (refactoring production code)
  • [ ] Other

Checklist:

  • [x] My code follows the code style of this project.
  • [x] I have updated the documentation accordingly.
  • [x] I have formatted the code with rustfmt.
  • [x] I checked the lints with clippy.
  • [x] I have added tests to cover my changes.
  • [x] All new and existing tests passed.

orhun avatar Sep 24 '24 21:09 orhun

Codecov Report

Attention: Patch coverage is 1.37931% with 286 lines in your changes missing coverage. Please review.

Project coverage is 37.45%. Comparing base (e85888f) to head (367d45a).

Files with missing lines Patch % Lines
git-cliff-tui/src/ui.rs 0.00% 86 Missing :warning:
git-cliff-tui/src/effect.rs 0.00% 55 Missing :warning:
git-cliff-tui/src/state.rs 0.00% 30 Missing :warning:
git-cliff-tui/src/logo.rs 0.00% 28 Missing :warning:
git-cliff/src/lib.rs 0.00% 23 Missing :warning:
git-cliff-tui/src/main.rs 0.00% 22 Missing :warning:
git-cliff-tui/src/event.rs 0.00% 20 Missing :warning:
git-cliff/src/main.rs 0.00% 19 Missing :warning:
git-cliff-core/src/changelog.rs 80.00% 1 Missing :warning:
git-cliff/src/bin/completions.rs 0.00% 1 Missing :warning:
... and 1 more

:exclamation: There is a different number of reports uploaded between BASE (e85888f) and HEAD (367d45a). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (e85888f) HEAD (367d45a)
unit-tests 3 1
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #884      +/-   ##
==========================================
- Coverage   42.85%   37.45%   -5.39%     
==========================================
  Files          21       27       +6     
  Lines        1734     1992     +258     
==========================================
+ Hits          743      746       +3     
- Misses        991     1246     +255     
Flag Coverage Δ
unit-tests 37.45% <1.38%> (-5.39%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Sep 24 '24 21:09 codecov-commenter