Summary:
- Exclude soft-deleted resources from the
/api/resourceslist response so destroyed apps disappear from the dashboard. - Reuse the list SQL through a helper and add a regression test that asserts destroyed resources are filtered out.
Test plan:
rustfmt --edition 2024 --check src/api/src/resources.rscargo test -p api resources::tests -- --nocapturecargo check -p api
Closes #307
Summary:
- Exclude soft-deleted resources from the `/api/resources` list response so destroyed apps disappear from the dashboard.
- Reuse the list SQL through a helper and add a regression test that asserts destroyed resources are filtered out.
Test plan:
- `rustfmt --edition 2024 --check src/api/src/resources.rs`
- `cargo test -p api resources::tests -- --nocapture`
- `cargo check -p api`
Closes #307