Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: joshka/tui-widgets
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: tui-prompts-v0.5.0
Choose a base ref
...
head repository: joshka/tui-widgets
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 16 commits
  • 38 files changed
  • 4 contributors

Commits on Nov 23, 2024

  1. feat(tui-scrollview): add scrollbars visibility handling (#45)

    Scrollbars can now be set to never display, always display or automatically display (default).
    ulissesf authored Nov 23, 2024
    Copy the full SHA
    5c66f3e View commit details

Commits on Nov 24, 2024

  1. chore: release (#46)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Nov 24, 2024
    Copy the full SHA
    88e3bdd View commit details

Commits on Nov 27, 2024

  1. use ratatui modularized crates (#47)

    See <ratatui/ratatui#1388> for details
    
    For now this omits tui-prompts due to Frame not being available in -core
    see
    <ratatui/ratatui#1388 (comment)>
    
    Will do tui-popup in its own PR as it's a bit more complex due to
    reliance on WidgetRef.
    joshka authored Nov 27, 2024
    Copy the full SHA
    ebb8c96 View commit details

Commits on Nov 28, 2024

  1. chore!: Refactor popup (#49)

    These changes were done to relax the dependency on ratatui directly,
    instead aiming to depend on ratatui-core.
    To do this requires avoiding the unstable widget-ref feature. This is a
    preparatory change to support that effort (if it's possible and aligns
    to the ratatui modularization work going on in 0.30.0 (currently
    pointing at the alpha.0 release).
    
    BREAKING CHANGE: `SizedWidgetRef` is now `KnownSize`. It no longer
    requires you to implement `WidgetRef` (this requirement is on the popup
    now instead of in the trait). It also no longer requires you to
    implement Debug.
    
    `SizedWrapper` is now `KnownSizeWrapper`
    
    The popup no longer implements `WidgetRef` and `StatefulWidgetRef`
    directly, instead implements `{Stateful,}Widget for &Popup`
    
    ---
    
    - **refactor: Move sized widget code to modules**
      
    - **feat: impl SizeWidgetRef for String**
      
    - **feat: impl StatefulWidget instead of _Ref**
      - impl StatefulWidget for Popup and &Popup
      - add tests
      - add PartialEq for testing Popups
      - add bacon setup for unit tests
      - remove --color always from bacon.toml
      
    - **feat: impl Widget for Popup**
      impl Widget for &Popup and Popup Instead of WidgetRef (ratatui now has
      a blanket impl of WidgetRef for this.
      
      Remove the need for Widgets contained in the popup to implement debug.
      
    - **chore: test SizedWrapper, add setters and new()**
      
    - **feat!: Rename SizedWidgetRef to KnownSize**
    The trait no longer requires implementors to also implement WidgetRef as
      that requirement is moved to the Popup generic bounds.
      
    As a result, this means that a better name was needed. Sized is probably
    the right name for this, except there is a well known trait in rust with
      the same name and this would be confusing. Instead I went with
      `KnownSize`.
      
      BREAKING CHANGE: SizedWidgetRef is now named `KnownSize` and no longer
      requires implementing WidgetRef.
      
    
    - **feat: Rename SizedWrapper to KnownSizeWrapper.**
      
    
    - **refactor: remove unnecessary generic bounds**
      
    
    - **feat: implement KnownSize trait for Text**
      refactor popup rendering code, examples,
    joshka authored Nov 28, 2024
    Copy the full SHA
    c51ac3c View commit details
  2. Copy the full SHA
    58371fa View commit details
  3. Copy the full SHA
    83e45db View commit details

Commits on Feb 6, 2025

  1. Copy the full SHA
    1dbac4a View commit details

Commits on Feb 9, 2025

  1. Copy the full SHA
    920a0f3 View commit details
  2. chore: revert ratatui-0.30 changes (#58)

    Reverting the main branch back to tracking the release version of
    Ratatui so that I can release changes to stable widgets and work on the
    ratatui-0.30 widgets in another branch.
    https://github.com/joshka/tui-widgets/tree/ratatui-0.30
    joshka authored Feb 9, 2025
    Copy the full SHA
    f272002 View commit details
  3. Copy the full SHA
    8e13a8c View commit details
  4. chore: bump strum to 0.27

    joshka committed Feb 9, 2025
    Copy the full SHA
    21be071 View commit details
  5. docs: Add qrcode vhs tape

    joshka committed Feb 9, 2025
    Copy the full SHA
    feae019 View commit details
  6. Copy the full SHA
    307fad5 View commit details
  7. ci: fix release-plz workflow

    joshka committed Feb 9, 2025
    Copy the full SHA
    90145cf View commit details
  8. Copy the full SHA
    7965622 View commit details
  9. Copy the full SHA
    cad0d3e View commit details
Loading