14 Commits

Author SHA1 Message Date
0e022fabef Update Rust crate turf to 0.10.0
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/audit Pipeline was successful
2025-05-03 00:01:45 +00:00
66179ba858 Merge pull request '🐛 Versions are always displayed with the "-modified" suffix (step 2)' (#16) from fix/versions-always-modified into develop
All checks were successful
ci/woodpecker/push/dockerize Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/cron/dependencies Pipeline was successful
Reviewed-on: #16
2025-05-02 19:37:03 +00:00
63f82eab07 🔇 Undo temporary logs
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/audit Pipeline was successful
2025-05-02 21:08:36 +02:00
f00adf9276 🔨 Add profile section to the Cargo.toml file 2025-05-02 20:56:18 +02:00
216b4cee80 🔊 Add another logs to the Dockerfile 2025-05-02 20:23:57 +02:00
cdc02a601d 🔊 Deploy web app on commit on this branch (TEMP !!!)
All checks were successful
ci/woodpecker/push/dockerize Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/audit Pipeline was successful
2025-05-02 20:04:50 +02:00
8bcb479b57 Add logs
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/audit Pipeline was successful
2025-05-02 19:47:01 +02:00
b9d5c25137 Merge pull request '🐛 Versions are always displayed with the "-modified" suffix' (#15) from fix/versions-always-modified into develop
All checks were successful
ci/woodpecker/push/dockerize Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
Reviewed-on: #15
2025-05-02 16:20:32 +00:00
e9fb20ad6e 🐛 Install git-lfs
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/audit Pipeline was successful
2025-05-02 17:46:35 +02:00
d98222cd4a Merge pull request '🐛 Hide the preloader once the app loaded' (#14) from fix/hide-preloaded-once-the-app-loaded into develop
All checks were successful
ci/woodpecker/push/dockerize Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
Reviewed-on: #14
2025-05-02 13:05:49 +00:00
c6effdfa15 🐛 Hide preloader once the app loaded
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/audit Pipeline was successful
2025-05-02 14:51:57 +02:00
f17986fa16 Merge pull request '🐛 404 error returned on js loading' (#13) from fix/404-on-js-loading into develop
All checks were successful
ci/woodpecker/push/dockerize Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
Reviewed-on: #13
2025-05-02 12:02:34 +00:00
cc65e7d5ff 🐛 Let dioxus add the preload script during the building process
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/audit Pipeline was successful
2025-05-02 13:29:52 +02:00
1f42eaa37c Merge pull request 'Ensure that the linters and builds pass before merging a PR' (#7) from ci/add-checks-on-mr into develop
All checks were successful
ci/woodpecker/push/dockerize Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
Reviewed-on: #7
2025-05-02 07:41:57 +00:00
4 changed files with 19 additions and 22 deletions

View File

@@ -44,7 +44,7 @@ tracing = "0.1.40"
tracing-forest = "0.1.6" tracing-forest = "0.1.6"
# SCSS -> CSS + usage in rust code # SCSS -> CSS + usage in rust code
turf = "0.9.3" turf = "0.10.0"
# Dioxus # Dioxus
dioxus-free-icons = { version = "0.9", features = ["ionicons", "font-awesome-solid"] } dioxus-free-icons = { version = "0.9", features = ["ionicons", "font-awesome-solid"] }
@@ -78,6 +78,18 @@ matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", rev =
[build-dependencies] [build-dependencies]
regex = "1.10.3" regex = "1.10.3"
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"
[package.metadata.turf] [package.metadata.turf]
minify = true minify = true

View File

@@ -9,7 +9,7 @@ WORKDIR /usr/src/beau-gosse-du-92
# git is required by the git-version crate # git is required by the git-version crate
RUN apt update \ RUN apt update \
&& apt install -y --no-install-recommends git \ && apt install -y --no-install-recommends git git-lfs \
&& apt clean && apt clean
COPY . . COPY . .

View File

@@ -220,25 +220,5 @@
</div> </div>
</div> </div>
</div> </div>
<script type="module" async>
import init from "{base_path}/wasm/beau-gosse-du-92.js";
// Ensure that everything needed to render preloader has been downloaded
// before fetching the wasm bundle.
window.onload=function() {
init("{base_path}/wasm/beau-gosse-du-92_bg.wasm").then(
wasm => {
const preloader = document.getElementById("preloader");
if (preloader !== undefined) {
preloader.style.display = 'none';
}
if (wasm.__wbindgen_start == undefined) {
wasm.main();
}
}
);
}
</script>
</body> </body>
</html> </html>

View File

@@ -214,6 +214,11 @@ input {
font-family: inherit; font-family: inherit;
} }
// Hide the preloader as soon as the application is loaded and ready to be rendered
#preloader {
display: none;
}
#main { #main {
height: 100%; height: 100%;
width: 100%; width: 100%;