Commit Graph

  • 4f289d1075 chore: Upgrade to Ratatui v0.30.0 main Alex Clarke 2026-01-07 17:07:14 -07:00
  • 45523fa08e chore: Updated the README to have more detailed instructions on how to use the widget Alex Clarke 2024-11-18 14:46:19 -07:00
  • 6a324736e5 chore: Updated the README to have installation instructions since this crate is not published to crates.io Alex Clarke 2024-11-18 13:14:33 -07:00
  • b0d8d9f0bf feat(TreeItem): Added PartialEq and Eq constraints to the types that can be passed to the TreeItem struct Alex Clarke 2024-11-15 14:40:44 -07:00
  • 959b60de32 style: Applied formatting to all files Alex Clarke 2024-11-15 12:50:14 -07:00
  • 6baef469c8 Fixed a typo in the README Alex Clarke 2024-11-14 18:39:10 -07:00
  • 6c10db760d fix: Changed the implementation to not require the direct use of identifiers, and to instead generate them using the hashes of the contents of each tree item Alex Clarke 2024-11-14 17:35:40 -07:00
  • 8a91f662dd fix: Changed the type constraints to use the ToText Ratatui trait Alex Clarke 2024-11-14 16:38:38 -07:00
  • 37d7b77f90 fix: Corrected doctests to pass Alex Clarke 2024-11-14 16:04:39 -07:00
  • 3e23a73f6b feat: Updated the Ratatui Tree Widget to allow the tree to story any data type that implements Into<Text>, so that users can also easily fetch data from within the tree based on what's selected for non-text data types. Alex Clarke 2024-11-14 15:38:37 -07:00
  • 735f111866 feat: Changed the tree to accept any type that implements Into<Text> so I can use the tree to fully store structs in the TUI as well as listing them Alex Clarke 2024-11-13 13:06:15 -07:00
  • 6e66e3e398 feat: Added the ability to get the text of any given TreeItem Alex Clarke 2024-11-11 18:00:49 -07:00
  • c6d1a5c7e5 build: v0.23.0 EdJoPaTo 2024-10-31 13:32:59 +01:00
  • 422b3ce260 build: bump ratatui to 0.29 (#44) Terakomari 2024-10-31 20:31:25 +08:00
  • 78bfd653b3 ci(rust): improve workflow EdJoPaTo 2024-10-24 12:18:14 +02:00
  • e6694060ed style: add rustfmt.toml EdJoPaTo 2024-10-24 12:09:33 +02:00
  • b913dcda77 build(cargo): update unicode-width requirement from 0.1 to 0.2 (#43) dependabot[bot] 2024-10-01 11:22:32 +02:00
  • f777df7015 build: v0.22.0 EdJoPaTo 2024-08-07 16:23:34 +02:00
  • e9ac48dba1 build: update ratatui to v0.28 (#41) Justin Restivo 2024-08-07 09:46:20 -04:00
  • 84066758ef fixup! build: update ratatui to v0.27 (#40) EdJoPaTo 2024-07-09 22:36:27 +02:00
  • a4ad85bd7a build: v0.21.0 EdJoPaTo 2024-06-28 16:13:23 +02:00
  • 42910cb919 build: update ratatui to v0.27 (#40) Justin Restivo 2024-06-28 09:55:36 -04:00
  • b5fc5ca693 fix(example): exit on Ctrl+C EdJoPaTo 2024-06-08 17:21:00 +02:00
  • d676f66504 fix: must_use the structs EdJoPaTo 2024-05-23 12:03:02 +02:00
  • 136599257a build(cargo): include examples and benches EdJoPaTo 2024-05-22 21:59:35 +02:00
  • 569043ebfd build: v0.20.0 EdJoPaTo 2024-05-22 21:14:55 +02:00
  • 051f49fd72 refactor(state)!: use same naming pattern for getters EdJoPaTo 2024-05-22 14:52:57 +02:00
  • d23f55b2ad feat(state): click_at (#36) EdJoPaTo 2024-05-22 08:35:06 +02:00
  • c2b2340ef4 feat(tree_item): add method to expose identifier (#38) wenqian 2024-05-22 11:53:06 +08:00
  • b07b537067 perf: take Tree::new items by reference (#32) sandercm 2024-05-16 10:21:38 +02:00
  • fc2495396f fixup! refactor: improve lifetime names EdJoPaTo 2024-05-15 17:08:35 +02:00
  • 2fd909aa0f refactor(flatten): improve variable/test names EdJoPaTo 2024-05-15 14:45:01 +02:00
  • 2811a79713 perf(state): less clones on handling the selection EdJoPaTo 2024-05-15 12:48:53 +02:00
  • bba94dcf88 perf(state): const get_open EdJoPaTo 2024-05-14 15:21:33 +02:00
  • fa85e7bb56 test: check rendered results EdJoPaTo 2024-05-13 15:20:02 +02:00
  • 9dcccba31d refactor: improve lifetime names EdJoPaTo 2024-05-13 00:33:34 +02:00
  • 04ecf5388f docs(state): improve comments EdJoPaTo 2024-05-13 00:49:03 +02:00
  • a20134bdcd feat(example): debounce, top right corner performance info and update on resize EdJoPaTo 2024-05-06 17:20:42 +02:00
  • 65fd1c04ed refactor!: reuse text style of tree item EdJoPaTo 2024-05-06 10:24:41 +02:00
  • 775e5cc4ef refactor(TreeItem): simplify with Self EdJoPaTo 2024-05-04 16:13:17 +02:00
  • 202e8d874c style: split import groups correctly EdJoPaTo 2024-05-01 18:32:53 +02:00
  • be05a341f4 test: basic tests to ensure render doesnt panic EdJoPaTo 2024-05-01 18:24:53 +02:00
  • e9656f82d1 test(flatten): ensure depth works EdJoPaTo 2024-05-01 18:06:14 +02:00
  • 537dc8021e perf(flatten): fewer clones EdJoPaTo 2024-05-01 16:39:39 +02:00
  • fdd2c5436a feat!: cache last tree structure to simplify events EdJoPaTo 2024-05-01 01:45:54 +02:00
  • 701be9315d test(bench): add benchmark EdJoPaTo 2024-04-30 22:38:16 +02:00
  • 37ade72330 refactor(item): use keyword Self EdJoPaTo 2024-03-23 10:07:55 +01:00
  • 68d19b0a58 ci(rust): improve workflow EdJoPaTo 2024-05-15 12:49:29 +02:00
  • d7415f40c7 build(cargo): specify lints in Cargo.toml EdJoPaTo 2024-03-15 03:17:52 +01:00
  • a60eb5266b refactor: simplify docs and LSP hints with names exactly as exported EdJoPaTo 2024-03-14 11:55:10 +01:00
  • d5f3635613 build: v0.19.0 EdJoPaTo 2024-02-26 21:12:44 +01:00
  • a2f8100fe7 refactor!: remove get_identifier_without_leaf EdJoPaTo 2024-02-26 20:49:21 +01:00
  • ed9a54a55a feat(state)!: return true when something changed EdJoPaTo 2024-02-26 18:42:14 +01:00
  • 0a5c7d6cfb refactor(example): move draw to App::draw EdJoPaTo 2024-02-26 18:09:26 +01:00
  • 15f05be46c fix: do not move offset on unselect EdJoPaTo 2024-02-26 18:05:17 +01:00
  • d3386fe016 build: v0.18.0 EdJoPaTo 2024-02-24 18:39:38 +01:00
  • 83dd95b87f fix(scrollbar): calculate area margin from inside and outside of border areas EdJoPaTo 2024-02-24 18:38:52 +01:00
  • 9a0b26f5c9 refactor(scrollbar): use variable names over unnamed pair content EdJoPaTo 2024-02-24 11:21:48 +01:00
  • 49bfa7e5f0 refactor(example): restructure import / use EdJoPaTo 2024-02-24 11:18:09 +01:00
  • b31a599a37 refactor(scrollbar): experimental prefix over feature EdJoPaTo 2024-02-24 11:08:30 +01:00
  • 98b53e448f fix(scrollbar): workaround overscroll EdJoPaTo 2024-02-24 03:07:23 +01:00
  • ce3b2b530e fix(scrollbar): change margin to individual start/end EdJoPaTo 2024-02-24 03:05:05 +01:00
  • 86458ffc39 perf: prefer into_iter() over clone() EdJoPaTo 2024-02-24 01:03:04 +01:00
  • 4130a800b8 perf: get item.height() less often on render EdJoPaTo 2024-02-24 00:36:32 +01:00
  • 2781a2d146 refactor: deconstruct Flattened for more speakable variables EdJoPaTo 2024-02-24 00:28:41 +01:00
  • 4e00f07c74 fix(scrollbar): use current height rather than available height EdJoPaTo 2024-02-24 00:04:39 +01:00
  • 85bfecc568 fix!: remove start_corner EdJoPaTo 2024-02-23 23:51:37 +01:00
  • 9e93b3ecd1 fixup! feat: support for a scrollbar EdJoPaTo 2024-02-23 23:42:41 +01:00
  • 355d18bf41 ci: add workflow_dispatch for manual trigger EdJoPaTo 2024-02-23 23:29:28 +01:00
  • ed9d91f58c fix(example): show state in bottom title EdJoPaTo 2024-02-22 19:41:23 +01:00
  • 8806c105ec docs(readme): link to ratatui and mention use case of mqttui EdJoPaTo 2024-02-22 19:32:23 +01:00
  • 92466615b1 feat: support for a scrollbar EdJoPaTo 2024-02-22 19:20:27 +01:00
  • 27cf513eeb feat(example): add more items EdJoPaTo 2024-02-22 19:05:31 +01:00
  • ec359d513b refactor: use multi character variable name EdJoPaTo 2024-02-22 18:38:52 +01:00
  • 5d750b13b0 build(lint): warn on clippy::pedantic or clippy::nursery EdJoPaTo 2024-02-22 18:32:46 +01:00
  • 766d4f1d58 refactor: one struct per file EdJoPaTo 2024-02-22 18:32:35 +01:00
  • 3cafeaef0a ci: update actions EdJoPaTo 2024-02-03 03:26:49 +01:00
  • 5104ec582e build: v0.17.0 EdJoPaTo 2024-02-03 03:16:45 +01:00
  • 01726df5ed feat: scroll independently from selection EdJoPaTo 2024-02-03 02:24:44 +01:00
  • 14b9e42cb2 refactor(example): merge into single file EdJoPaTo 2024-02-03 02:15:36 +01:00
  • 4cbe932332 build: update to ratatui 0.26 EdJoPaTo 2024-02-03 01:05:47 +01:00
  • 969b78ab06 feat: select_*() returns whether it changed EdJoPaTo 2024-01-26 05:24:17 +01:00
  • 632a95f853 perf(key_left): remove clones EdJoPaTo 2024-01-26 05:22:20 +01:00
  • d1a241266f perf!: flatten -> TreeState::flatten EdJoPaTo 2024-01-15 15:49:57 +01:00
  • 4545b9039b build: v0.16 for ratatui v0.25 EdJoPaTo 2023-12-18 14:42:15 +01:00
  • 6c437375d1 build: v0.15.0 EdJoPaTo 2023-10-30 13:25:50 +01:00
  • b914819283 feat: generic identifier (#27) EdJoPaTo 2023-10-30 13:18:58 +01:00
  • 58a80b64a7 docs: improve doc comments EdJoPaTo 2023-10-26 16:46:50 +02:00
  • 9a47f5e0a9 feat: add TreeState::select_visible_index and relative EdJoPaTo 2023-10-26 00:39:14 +02:00
  • 89cb1dd6d9 docs: improve example code EdJoPaTo 2023-10-25 15:02:17 +02:00
  • bc24ad2aa4 docs: add missing word EdJoPaTo 2023-10-25 14:59:11 +02:00
  • cf67025aff build: v0.14.0 EdJoPaTo 2023-10-24 19:35:58 +02:00
  • b4d0c302b0 perf!: accept Vec explicitly EdJoPaTo 2023-10-24 19:34:01 +02:00
  • 87e1bb4b2f build: update to ratatui 0.24 EdJoPaTo 2023-10-24 19:19:57 +02:00
  • 3a720d293a ci(rust): improve workflow EdJoPaTo 2023-10-24 19:09:08 +02:00
  • 0d9d132a67 perf: use more const functions EdJoPaTo 2023-09-04 14:17:35 +02:00
  • 18bc19abaf build: v0.13.0 EdJoPaTo 2023-09-04 12:48:32 +02:00
  • 3f30effd19 feat: migrate to ratatui (#26) EdJoPaTo 2023-09-04 12:44:30 +02:00
  • 100a8166a3 build(cargo): update crossterm requirement from 0.25 to 0.27 (#25) dependabot[bot] 2023-08-12 09:42:11 +02:00
  • 17de58e239 build: ignore msrv EdJoPaTo 2023-07-17 14:00:48 +02:00