feat(ui): stream search results and show real download progress

Search now publishes provider results in small batches as they arrive, so
the first matches appear in the table while slower providers keep running.

The bottom status-bar bar is now a determinate indicator: pacman output is
streamed live and its (n/Total) package counter is parsed into a percentage
that fills the bar during install/update, instead of an indeterminate spinner.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
BlackAngelTV committed 2026-08-29 20:17:45 +02:00
1 parent 26ca0e4d88
commit cd5bed0f4d
8 files changed
+246 -112

No files matched your search

+4 -10
View File
@@ -34,18 +34,12 @@ public:
bool isAvailable() const override { return true; }
std::vector<PackageInfo> search(const std::string&) override { return {}; }
bool install(const std::string&, std::function<void(const std::string&)>) override {
return false;
}
bool remove(const std::string&, std::function<void(const std::string&)>) override {
return false;
}
bool update(const std::string&, std::function<void(const std::string&)>) override {
return false;
}
bool install(const std::string&, ProgressCallback) override { return false; }
bool remove(const std::string&, ProgressCallback) override { return false; }
bool update(const std::string&, ProgressCallback) override { return false; }
std::vector<PackageInfo> listInstalled() override { return {}; }
std::vector<PackageInfo> listUpdates() override { return {}; }
bool refresh(std::function<void(const std::string&)>) override { return false; }
bool refresh(ProgressCallback) override { return false; }
};
FWS_PROVIDER_PLUGIN(SampleProvider, "sample", "Sample Provider", "0.1.0",