Commit Graph
15 Commits
Author SHA1 Message Date
objz 15d76c18a0 refactor: clarify content and tui ownership 2026-07-27 11:03:46 +02:00
objz 23c138dc32 feat(content): cache provider descriptions 2026-07-26 21:57:22 +02:00
objz 32a5868894 fix(content): stabilize indexing progress 2026-07-25 12:44:52 +02:00
objz fbf8142ea0 feat(content): add managed content metadata layout 2026-07-25 12:14:30 +02:00
objz a05b030862 feat(content): install Modrinth project versions 2026-07-23 00:29:05 +02:00
objz 725b52579b feat(content): refine discovery project metadata 2026-07-22 23:53:57 +02:00
objz a58e6fb76d style: apply rustfmt 2026-06-16 09:58:34 +02:00
objz cc0dde106a refactored: move public-API filesystem tests to tests/
Per Phase C of the test overhaul: tests that touch the filesystem and
exercise the public API surface (scan_screenshots, scan_shaders,
scan_worlds, scan_resource_packs, log_files) move from inline mod tests
into tests/. They now consume rmcl as an external crate, mirroring how
real callers would.

AccountStore::store_save_and_reload stays inline because the helper it
needs (constructing AccountStore directly with a tempdir path) requires
reaching into a private field; exposing that just for tests would leak
implementation detail. The other accounts tests are in-memory and stay
inline regardless.

The extract_description_* tests in resource_packs stay inline since
they are pure logic on serde_json::Value (no filesystem).

image is added to dev-dependencies so integration tests can fabricate
1x1 PNG fixtures (already a regular dep of the lib).
2026-05-26 21:11:38 +02:00
objz 82665bd4e6 merge: resolve conflicts keeping streaming load and notify watcher 2026-04-25 15:23:49 +02:00
objz 52747158e9 refactor(content): extract per-file scan functions for incremental updates
split scan_one_mod, scan_one_resource_pack, scan_one_shader, and
scan_one_world out of their directory-level scan functions. the
directory-level wrappers now delegate to these. this allows the file
watcher to scan individual new files without rescanning the entire
directory.
2026-04-25 15:19:43 +02:00
objz 5dbb2be873 no-mistakes(lint): fix(lint): rustfmt formatting in mods.rs 2026-04-25 14:25:04 +02:00
objz ea59e39159 added fallback icons for resource packs and worlds
resource packs and worlds without icons now show a placeholder "?"
pattern like mods already do. worlds use a larger 12x6 variant.
2026-04-20 19:25:05 +02:00
objz 52787b57c7 fix: switch default profile to terminal and fixed some comments 2026-04-18 19:44:59 +02:00
objz 971375bf1f fix: resolve clippy issues 2026-04-18 17:09:01 +02:00
objz 47dad69321 refactor: upgrade crates and restructure project 2026-04-18 16:59:27 +02:00