Alex Pasmantier
22f1b4dc33
feat(ui): decouple preview title position from input bar position and make it configurable ( #144 )
...
fixes #143
## example
```toml
[ui]
input_bar_position = "top"
preview_title_position = "top"
```
<img width="2553" alt="Screenshot 2024-12-18 at 22 06 29"
src="https://github.com/user-attachments/assets/6c9ac842-e383-42a8-bdf4-d48c7a826df3 "
/>
2024-12-18 22:30:10 +01:00
Alexandre Pasmantier
18c5213e83
feat(channels): new channel for directories and associated transitions ( #130 )
2024-12-15 18:04:26 +01:00
Alexandre Pasmantier
a8e3ea5f89
chore(version): bump workspace to 0.7.0 ( #127 )
2024-12-15 14:30:25 +01:00
Alexandre Pasmantier
37b2dda729
refactor(help): enable help bar by default and add help keybinding ( #122 )
2024-12-15 00:54:14 +01:00
Alexandre Pasmantier
11da96d7fb
feat(themes): add support for global themes background colors ( #120 )
2024-12-15 00:29:10 +01:00
Alexandre Pasmantier
ea752b13e6
fix(previewers): handle crlf sequences when parsing ansi into ratatui objects ( #119 )
2024-12-15 00:17:09 +01:00
Alexandre Pasmantier
913aa85af0
feat(themes): add support for ui themes ( #114 )
...
fixes #80
### examples
| gruvbox | solarized |
| :-: | :-: |
| <img width="1792" alt="gruvbox"
src="https://github.com/user-attachments/assets/c0c168a5-5c95-4113-93fd-24b34a9344d8 "
/> | 
|
2024-12-13 14:54:38 +01:00
Bertrand Chardon
a4d15af694
perf: optimize entry ranges ( #110 )
2024-12-09 23:39:06 +01:00
Alexandre Pasmantier
758bfc290a
perf(ui): improve merging of continuous name match ranges ( #109 )
...
### main
```
results_list time: [17.800 µs 17.836 µs 17.869 µs]
change: [-0.7235% -0.4176% -0.1185%] (p = 0.01 < 0.05)
Change within noise threshold.
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild
```
### this branch
```
results_list time: [12.780 µs 12.789 µs 12.798 µs]
change: [-28.381% -28.218% -28.059%] (p = 0.00 < 0.05)
Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
1 (1.00%) high mild
4 (4.00%) high severe
```
2024-12-09 14:08:28 +01:00
Bertrand Chardon
c0db566a48
perf: add bench for build results list ( #107 )
...
This PR adds a benchmark for performance-critical function
`build_results_list` from `television_screen::results`
This should allows `television` to track performances improvements or
regressions across time for that function (and other in the future)
---------
Co-authored-by: alexpasmantier <alex.pasmant@gmail.com>
2024-12-08 18:43:38 +01:00
Alexandre Pasmantier
54399e3777
refactor(screen): extract UI related code to separate crate ( #106 )
...
Co-authored-by: Bertrand Chardon <bertrand.chardon@doctrine.fr>
2024-12-08 13:46:30 +01:00