docs: update README, CHANGELOG for slides/ restructure and binary refactor

- README.md: add slides/ directory, src/bin/slides_test.rs, src/lib.rs
  to project tree; add slides_test usage example
- README_en.md: same changes in English
- CHANGELOG.md: add v4.0.5 entry (slide migration, slides_test, rsync
  progress refactor, auto-install CLI output, edit dialog fixes)
- CHANGELOG_en.md: same in English
This commit is contained in:
Erkan IŞIK
2026-07-10 02:05:35 +03:00
parent 62000b7c87
commit 1e920e0717
4 changed files with 70 additions and 2 deletions
+23
View File
@@ -1,5 +1,28 @@
# Changelog — [Türkçe](CHANGELOG.md)
## [4.0.5] — 2026-07-10
### Added
- `slides/slides_tr.toml`, `slides/slides_en.toml` — language-specific slide content files (direct file paths instead of `[icons]` mapping)
- `src/bin/slides_test.rs` — standalone slideshow test binary (args: `[desktop] [lang]`)
- `default-run = "yali-rs"` (`Cargo.toml`) — fixes `cargo run` ambiguity
### Changed
- Slide images moved from `assets/*.png``slides/img/`
- `[slides]` section removed from `branding.toml`/`branding_tr.toml`/`branding_en.toml`; content moved to `slides/slides_{lang}.toml`
- `branding.rs::load_for_lang()` — loads slides from `slides/slides_{lang}.toml` (fallback: `slides/slides.toml`)
- `slideshow.rs` — if `slide.icon` contains a file path, converts it to `file://` URI directly (no `[icons]` mapping needed)
- `CopyFilesJob` — rsync output format `--info=progress2``--out-format=%n`, progress calculated via `find` total file count
- Auto-install CLI output now shows sub-progress and current file name
### Fixed
- Edit dialog window growing every frame (`default_size` + min/max width)
- TextEdit field width using `desired_width()` instead of `available_width * 0.90`
- `cargo run -- --demo` ambiguity (dual binary)
- `locales/tr.toml` "Hoş Geldiniz12" typo
---
## [4.0.4] — 2026-06-25
### Added