diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a3b43b..8ee017d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,20 +13,29 @@ All notable changes to this project will be documented in this file. - *(input)* Bind ctrl-w to delete previous word (#150) - *(ux)* Print current query to stdout on Enter if no entry is selected (#151) - *(cli)* Allow passing --input to prefill input prompt (#153) +- *(cable)* Make preview optional for cable channels (#155) +- *(cable)* Using builtin previewers inside cable channel prototypes (#156) ### 🚜 Refactor - *(ui)* More compact general layout and make preview panel optional (#148) +- Update default configuration and simplify channel enum conversions (#157) +- *(cable)* Use tail instead of tac for zsh and bash command history channels (#161) ### 📚 Documentation - *(readme)* Make channel names consistent everywhere (#138) +- Rearrange README, add a features section, and move more technical stuff to separate files (#159) +- Update readme (#160) +- Replace top image with a screenshot of the application (#163) +- Update README with more legible screenshot of the files channel (#164) ### ⚙️ Miscellaneous Tasks - *(changelog)* Update changelog (auto) (#131) - *(changelog)* Update changelog (auto) (#141) - *(changelog)* Update changelog (auto) (#146) +- *(changelog)* Update changelog (auto) (#154) ## [0.7.1] - 2024-12-15 diff --git a/Cargo.lock b/Cargo.lock index 916ade5..e369efd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2988,7 +2988,7 @@ dependencies = [ [[package]] name = "television" -version = "0.7.1" +version = "0.8.0" dependencies = [ "better-panic", "clap", @@ -3021,7 +3021,7 @@ dependencies = [ [[package]] name = "television-channels" -version = "0.0.12" +version = "0.0.14" dependencies = [ "clap", "color-eyre", @@ -3043,7 +3043,7 @@ dependencies = [ [[package]] name = "television-derive" -version = "0.0.12" +version = "0.0.14" dependencies = [ "proc-macro2", "quote", @@ -3052,7 +3052,7 @@ dependencies = [ [[package]] name = "television-fuzzy" -version = "0.0.12" +version = "0.0.14" dependencies = [ "nucleo", "parking_lot", @@ -3060,7 +3060,7 @@ dependencies = [ [[package]] name = "television-previewers" -version = "0.0.12" +version = "0.0.14" dependencies = [ "color-eyre", "devicons", @@ -3081,7 +3081,7 @@ dependencies = [ [[package]] name = "television-screen" -version = "0.0.12" +version = "0.0.14" dependencies = [ "color-eyre", "ratatui", @@ -3094,7 +3094,7 @@ dependencies = [ [[package]] name = "television-utils" -version = "0.0.12" +version = "0.0.14" dependencies = [ "bat", "color-eyre", diff --git a/Cargo.toml b/Cargo.toml index 7d2ee14..443d255 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "television" -version = "0.7.1" +version = "0.8.0" edition = "2021" description = "The revolution will be televised." license = "MIT" @@ -10,18 +10,18 @@ repository = "https://github.com/alexpasmantier/television" homepage = "https://github.com/alexpasmantier/television" keywords = ["search", "fuzzy", "preview", "tui", "terminal"] categories = [ - "command-line-utilities", - "command-line-interface", - "concurrency", - "development-tools", + "command-line-utilities", + "command-line-interface", + "concurrency", + "development-tools", ] include = [ - "LICENSE", - "README.md", - "themes/**/*.toml", - "crates/television/**/*.rs", - "build.rs", - ".config/config.toml", + "LICENSE", + "README.md", + "themes/**/*.toml", + "crates/television/**/*.rs", + "build.rs", + ".config/config.toml", ] rust-version = "1.81" @@ -38,12 +38,18 @@ repository = "https://github.com/alexpasmantier/television" homepage = "https://github.com/alexpasmantier/television" keywords = ["search", "fuzzy", "preview", "tui", "terminal"] categories = [ - "command-line-utilities", - "command-line-interface", - "concurrency", - "development-tools", + "command-line-utilities", + "command-line-interface", + "concurrency", + "development-tools", +] +include = [ + "LICENSE", + "README.md", + "crates/television/**/*.rs", + "build.rs", + "shell/**/*.sh", ] -include = ["LICENSE", "README.md", "crates/television/**/*.rs", "build.rs"] rust-version = "1.81" readme = "README.md" @@ -56,12 +62,12 @@ name = "tv" [dependencies] # workspace dependencies -television-fuzzy = { path = "crates/television-fuzzy", version = "0.0.12" } -television-derive = { path = "crates/television-derive", version = "0.0.12" } -television-screen = { path = "crates/television-screen", version = "0.0.12" } -television-channels = { path = "crates/television-channels", version = "0.0.12" } -television-previewers = { path = "crates/television-previewers", version = "0.0.12" } -television-utils = { path = "crates/television-utils", version = "0.0.12" } +television-fuzzy = { path = "crates/television-fuzzy", version = "0.0.14" } +television-derive = { path = "crates/television-derive", version = "0.0.14" } +television-screen = { path = "crates/television-screen", version = "0.0.14" } +television-channels = { path = "crates/television-channels", version = "0.0.14" } +television-previewers = { path = "crates/television-previewers", version = "0.0.14" } +television-utils = { path = "crates/television-utils", version = "0.0.14" } # external dependencies better-panic = "0.3.0" diff --git a/README.md b/README.md index bd67082..d6046bf 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,8 @@ It is inspired by the neovim [telescope](https://github.com/nvim-telescope/teles ```bash - curl -LO https://github.com/alexpasmantier/television/releases/download/0.7.0/television_0.7.0-1_amd64.deb - sudo dpkg -i television_0.7.0-1_amd64.deb + curl -LO https://github.com/alexpasmantier/television/releases/download/0.8.0/television_0.8.0-1_amd64.deb + sudo dpkg -i television_0.8.0-1_amd64.deb ``` diff --git a/crates/television-channels/Cargo.toml b/crates/television-channels/Cargo.toml index 9921afd..dd765db 100644 --- a/crates/television-channels/Cargo.toml +++ b/crates/television-channels/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "television-channels" -version = "0.0.12" +version = "0.0.14" description.workspace = true authors.workspace = true repository.workspace = true @@ -13,9 +13,9 @@ edition.workspace = true rust-version.workspace = true [dependencies] -television-fuzzy = { path = "../television-fuzzy", version = "0.0.12" } -television-utils = { path = "../television-utils", version = "0.0.12" } -television-derive = { path = "../television-derive", version = "0.0.12" } +television-fuzzy = { path = "../television-fuzzy", version = "0.0.14" } +television-utils = { path = "../television-utils", version = "0.0.14" } +television-derive = { path = "../television-derive", version = "0.0.14" } devicons = "0.6.11" tracing = "0.1.40" eyre = "0.6.12" diff --git a/crates/television-derive/Cargo.toml b/crates/television-derive/Cargo.toml index 2047e3e..af0703a 100644 --- a/crates/television-derive/Cargo.toml +++ b/crates/television-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "television-derive" -version = "0.0.12" +version = "0.0.14" description.workspace = true authors.workspace = true repository.workspace = true diff --git a/crates/television-fuzzy/Cargo.toml b/crates/television-fuzzy/Cargo.toml index 8e17f50..0533faf 100644 --- a/crates/television-fuzzy/Cargo.toml +++ b/crates/television-fuzzy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "television-fuzzy" -version = "0.0.12" +version = "0.0.14" description.workspace = true authors.workspace = true repository.workspace = true diff --git a/crates/television-previewers/Cargo.toml b/crates/television-previewers/Cargo.toml index 9f945b5..0f4181f 100644 --- a/crates/television-previewers/Cargo.toml +++ b/crates/television-previewers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "television-previewers" -version = "0.0.12" +version = "0.0.14" description.workspace = true authors.workspace = true repository.workspace = true @@ -14,8 +14,8 @@ rust-version.workspace = true [dependencies] syntect = "5.2.0" -television-channels = { path = "../television-channels", version = "0.0.12" } -television-utils = { path = "../television-utils", version = "0.0.12" } +television-channels = { path = "../television-channels", version = "0.0.14" } +television-utils = { path = "../television-utils", version = "0.0.14" } tracing = "0.1.40" parking_lot = "0.12.3" tokio = "1.41.1" diff --git a/crates/television-screen/Cargo.toml b/crates/television-screen/Cargo.toml index 51e4b80..b51961a 100644 --- a/crates/television-screen/Cargo.toml +++ b/crates/television-screen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "television-screen" -version = "0.0.12" +version = "0.0.14" description.workspace = true authors.workspace = true repository.workspace = true @@ -15,8 +15,8 @@ rust-version.workspace = true [dependencies] ratatui = "0.29.0" serde = "1.0.215" -television-utils = { path = "../television-utils", version = "0.0.12" } -television-channels = { path = "../television-channels", version = "0.0.12" } -television-previewers = { path = "../television-previewers", version = "0.0.12" } +television-utils = { path = "../television-utils", version = "0.0.14" } +television-channels = { path = "../television-channels", version = "0.0.14" } +television-previewers = { path = "../television-previewers", version = "0.0.14" } color-eyre = "0.6.3" syntect = "5.2.0" diff --git a/crates/television-utils/Cargo.toml b/crates/television-utils/Cargo.toml index ea5a15d..9a0408c 100644 --- a/crates/television-utils/Cargo.toml +++ b/crates/television-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "television-utils" -version = "0.0.12" +version = "0.0.14" description.workspace = true authors.workspace = true repository.workspace = true @@ -17,7 +17,9 @@ ignore = "0.4.23" lazy_static = "1.5.0" tracing = "0.1.40" color-eyre = "0.6.3" -bat = { version = "0.24.0", default-features = false, features = ["regex-onig"] } +bat = { version = "0.24.0", default-features = false, features = [ + "regex-onig", +] } directories = "5.0.1" syntect = "5.2.0" gag = "1.0.0" diff --git a/shell/completion.zsh b/crates/television-utils/shell/completion.zsh similarity index 100% rename from shell/completion.zsh rename to crates/television-utils/shell/completion.zsh diff --git a/crates/television-utils/src/shell.rs b/crates/television-utils/src/shell.rs index 46ef950..692f228 100644 --- a/crates/television-utils/src/shell.rs +++ b/crates/television-utils/src/shell.rs @@ -9,7 +9,7 @@ pub enum Shell { Cmd, } -const COMPLETION_ZSH: &str = include_str!("../../../shell/completion.zsh"); +const COMPLETION_ZSH: &str = include_str!("../shell/completion.zsh"); pub fn completion_script(shell: Shell) -> Result<&'static str> { match shell {