Skip to content

Commit b0ed55b

Browse files
authored
Workout enhancements (#940)
* fix(frontend): use react query to get exercise details * refactor(frontend): remove mostly duplicated workouts component * feat(frontend): hide exercise details when not required * build(ts): upgrade dependencies * chore(frontend); set correct index * chore(frontend): add a new prop * fix(frontend): add id to outer details * fix(frontend): set correct key for set * build(backend): upgrade deps * fix(backend): log when job is running * chore(backend): allow dead code * build(backend): remove unused dep
1 parent 2b40a68 commit b0ed55b

10 files changed

+294
-368
lines changed

Cargo.lock

+39-104
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/backend/Cargo.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "GPL-3.0"
88
[dependencies]
99
anyhow = { workspace = true }
1010
apalis = { version = "=0.5.3", features = ["cron", "limit"] }
11-
argon2 = "=0.6.0-pre.0"
11+
argon2 = "=0.6.0-pre.1"
1212
askama = "0.12.1"
1313
async-graphql = { workspace = true }
1414
async-graphql-axum = "=7.0.7"
@@ -43,15 +43,14 @@ http = "=1.1.0"
4343
isolang = { version = "=2.4.0", features = ["list_languages"] }
4444
itertools = "=0.13.0"
4545
jsonwebtoken = { version = "=9.3.0", default-features = false }
46-
kinded = "=0.3.0"
4746
lettre = "=0.11.7"
4847
markdown = "=1.0.0-alpha.18"
4948
mime_guess = "=2.0.5"
5049
nanoid = { workspace = true }
5150
openidconnect = "=3.5.0"
5251
paginate = "=1.1.11"
5352
radarr-api-rs = "=3.0.1"
54-
rand = "=0.9.0-alpha.1"
53+
rand = "=0.9.0-alpha.2"
5554
regex = "=1.10.5"
5655
# FIXME: Upgrade once https://github.com/seanmonstar/reqwest/pull/1620 is merged
5756
reqwest = { git = "https://github.com/thomasqueirozb/reqwest", branch = "base_url", features = [
@@ -75,12 +74,11 @@ slug = "=0.1.5"
7574
sonarr-api-rs = "=3.0.0"
7675
strum = { workspace = true }
7776
struson = { version = "=0.5.0", features = ["serde"] }
78-
tokio = { version = "=1.38.1", features = ["full"] }
77+
tokio = { version = "=1.39.2", features = ["full"] }
7978
tokio-util = { version = "=0.7.11", features = ["codec"] }
8079
tower = { version = "=0.4.13", features = ["buffer"] }
8180
tower-http = { version = "=0.5.2", features = ["catch-panic", "cors", "trace"] }
8281
tracing = { workspace = true }
8382
tracing-subscriber = "=0.3.18"
8483
logs-wheel = "=0.3.1"
85-
unkey = "=0.4.0"
8684
uuid = { version = "=1.10.0", features = ["v4"], default-features = false }

apps/backend/src/background.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ impl Job for ScheduledJob {
3434
}
3535

3636
pub async fn background_jobs(
37-
_information: ScheduledJob,
37+
information: ScheduledJob,
3838
misc_service: Data<Arc<MiscellaneousService>>,
3939
) -> Result<(), Error> {
40+
tracing::debug!("Running job at {:#?}", information.0);
4041
misc_service.perform_background_jobs().await.unwrap();
4142
Ok(())
4243
}

apps/backend/src/traits.rs

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ pub trait DatabaseAssetsAsUrls {
106106

107107
#[async_trait]
108108
pub trait AuthProvider {
109+
#[allow(dead_code)]
109110
fn is_mutation(&self) -> bool {
110111
false
111112
}

0 commit comments

Comments
 (0)