Skip to content

Commit c37bf75

Browse files
authored
Implement replied/unreplied filter for tech review (#5006)
* Implement replied/unreplied filter for tech review * project status filter * wip: issue type filter * correct filter field * wip: break up tech review query * Improve tech review query * Get tech review working more properly * Add get single project reports endpoint
1 parent 7838008 commit c37bf75

13 files changed

Lines changed: 757 additions & 159 deletions

apps/labrinth/.sqlx/query-10e2a3b31ba94b93ed2d6c9753a5aabf13190a0b336089e6521022069813cf17.json

Lines changed: 52 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/labrinth/.sqlx/query-50d087248322373b2d5fc40e1c7b8a855b55d907d7fba0af0738c37366cb93e0.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/labrinth/.sqlx/query-632b79f51dd39a75ebff838ca4beab463f84aa32246288cc251881ec41d207f5.json

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/labrinth/.sqlx/query-6f5ec5cee9fc0007d11b4707b4442917689c31af7dd9a6baea4dbde99dc1a08e.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

apps/labrinth/.sqlx/query-80b52a09ca9a056251d1040936f768c266e5814c15638d455f569deed13ee7d0.json

Lines changed: 81 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/labrinth/.sqlx/query-8e38571ffae8bf246973d328c890a45b87c0f71d53cf46f390c4b286677b2b31.json

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/labrinth/.sqlx/query-e01fc27d68a5c41a56700508633881813c2bdb753e1afa5ca6072ca2b04c09d5.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/labrinth/.sqlx/query-f10a09a0fb0774dad4933e78db94bfb231020b356edbc58bdb6c5a11ad0fb4ac.json

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/labrinth/src/database/models/delphi_report_item.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ impl DBDelphiReport {
6161
Copy,
6262
PartialEq,
6363
Eq,
64+
PartialOrd,
65+
Ord,
6466
Hash,
6567
sqlx::Type,
6668
utoipa::ToSchema,

apps/labrinth/src/routes/internal/delphi.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ pub async fn run(
327327
.send()
328328
.await
329329
.and_then(|res| res.error_for_status())
330-
.map_err(ApiError::Delphi)?;
330+
.map_err(ApiError::delphi)?;
331331

332332
Ok(HttpResponse::NoContent().finish())
333333
}
@@ -411,10 +411,10 @@ async fn issue_type_schema(
411411
.send()
412412
.await
413413
.and_then(|res| res.error_for_status())
414-
.map_err(ApiError::Delphi)?
414+
.map_err(ApiError::delphi)?
415415
.json::<serde_json::Map<String, serde_json::Value>>()
416416
.await
417-
.map_err(ApiError::Delphi)?,
417+
.map_err(ApiError::delphi)?,
418418
Instant::now(),
419419
))
420420
.0,

0 commit comments

Comments
 (0)