Skip to content

Latest commit

 

History

History
112 lines (75 loc) · 9.96 KB

CHANGELOG.md

File metadata and controls

112 lines (75 loc) · 9.96 KB

Changelog

0.2.1 (2023-09-03)

Documentation

  • README: update roadmap in README.md (731234c)
  • README: use relative path for screenshot1.png (bb52e66)

0.2.0 (2023-09-03)

Features

  • dnote_lib: add summary field on DnotePage. update FromStr impl & tests (08c0757)
  • ui: use new summary field from DnotePage to display truncated page content besides page id in pages section (3683ecf)

Documentation

  • README: update documentation url in README.md (34b9292)

0.1.1 (2023-09-03)

Bug Fixes

  • deps: update rust crate tui to 0.23.0 (0f988e4)

Continuous Integration

  • release: add publish to crates.io job in release.yml to auto-publish on release please pr merge (c915ff5)

0.1.0 (2023-08-20)

Features

  • app: add page_info state to app, add get_page_content method (a8b08a9)
  • app: add stateful pages list, add getters for books & pages (a99f23f)
  • app: add StatefulList, add books list to App, load books from dnote in constructor (1df5378)
  • app: add TuiChunk enum, add selected_chunk property to app, add select_next_chunk & select_prev_chunk methods (38ee7e8)
  • app: remove test counter & related methods from app (5e83ed0)
  • bin: add dnote_client_test binary w/ test usage from main (3d4b380)
  • cargo: set default-run to dnote-tui (47da791)
  • deps: add tui using ratatui & crossterm deps, update lockfile (d0a6622)
  • dnote_lib: comment print statements in DnoteClient methods (e425914)
  • handler: add keybindings for navigating through books list (40305e5)
  • handler: handle navigation using selected_chunk & helper methods (1b7e5f8)
  • init with binary project (6cbeb5f)
  • lib: add DnoteClient, DnoteClientError, add funcs for DnoteClient (c737810)
  • lib: add DnotePageInfo struct (00b85d7)
  • lib: add lib.rs (56e7c63)
  • lib: implement FromStr for DnotePage, remove uuid & content fields from struct (554f602)
  • lib: implement FromStr for DnotePageInfo (1823c2c)
  • lib: implement FromStr trait for DnoteBook to parse string into struct (68c4af8)
  • lib: implement view_page_info func for DnoteClient (0cdd126)
  • lib: implement view_pages func for DnoteClient, format file (5554887)
  • lib: improve DnoteClientError enum, use ? shorthand for view_books (f06b3e8)
  • main: test out DnoteClient in main fn (25fdb48)
  • setup: use rust-tui-template to setup files & mods (3ebf5c4)
  • src: add dnote_lib mod w/ DnoteBook & DnotePage public structs (7ca9652)
  • ui: adjust areas for chunks (7808385)
  • ui: render books list in books_block chunk from stateful list of books in app's instance (85cd6de)
  • ui: render page content in page_content chunk using page_content state (b7ab6e5)
  • ui: setup layout for books, pages, & content (9e1d769)
  • ui: use get_books, render pages list for currently selected book (1635055)

Bug Fixes

  • app: don't allow next selection when on pages section (54ed8ff)
  • deps: update rust crate crossterm to 0.27.0 (7e25972)
  • deps: update rust crate tui to 0.22.0 (a85cd3b)
  • handler: deselect page before selecting books chunk (e615765)
  • handler: select page on right key handler and then select chunk (0741da7)
  • ui: remove redundant clone call in ui.rs (e520072)

Documentation

Code Refactoring

  • dnote_lib: change fn names in DnoteClient (5d7c1e6)
  • dnote_lib: use ? for handling errors instead of nested match statements (d7796ca)
  • fix git blame ignore revs filename (24a5cf0)
  • lib: use vector collect to improve parsing cmd output to DnoteBook vector (68f9bed)
  • rename TuiChunk to TuiSection (7e03f92)
  • replace vars + methods with chunk text to section as it makes more sense (c824b9b)
  • ui: store chunks in vars & use them to render widget (71cf60f)

Tests

  • lib: add test for parsing FromStr implementation of DnotePageInfo (e9860c6)
  • lib: add tests for parsing implementations for DnoteBook & DnotePage (c578273)

Continuous Integration

  • main: add main workflow for build, lint & test (708c61b)
  • release: add release please action in release.yml (aae525f)
  • release: allow workflow_dispatch to trigger release workflow (9055233)