From 78587c61fc5a4e7895e837131b81561e8b667bea Mon Sep 17 00:00:00 2001 From: quexeky Date: Sat, 14 Dec 2024 22:42:57 +1100 Subject: [PATCH 1/3] refactor(downloads): Replaced static usage with const --- desktop/src-tauri/src/downloads/progress_object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src-tauri/src/downloads/progress_object.rs b/desktop/src-tauri/src/downloads/progress_object.rs index 143656dd..67f4b29d 100644 --- a/desktop/src-tauri/src/downloads/progress_object.rs +++ b/desktop/src-tauri/src/downloads/progress_object.rs @@ -44,7 +44,7 @@ impl ProgressHandle { } } -static PROGRESS_UPDATES: usize = 100; +pub const PROGRESS_UPDATES: usize = 100; impl ProgressObject { pub fn new(max: usize, length: usize, sender: Sender) -> Self { From 1242f954a588e373bf1e446d53753bc3bb7cf47f Mon Sep 17 00:00:00 2001 From: quexeky <6-quexeky@users.noreply.lab.deepcore.dev> Date: Sun, 19 Jan 2025 04:33:24 +0000 Subject: [PATCH 2/3] Update .gitlab-ci.yml file --- desktop/.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/.gitlab-ci.yml b/desktop/.gitlab-ci.yml index 7d0ff2c9..b9088a83 100644 --- a/desktop/.gitlab-ci.yml +++ b/desktop/.gitlab-ci.yml @@ -3,7 +3,7 @@ stages: build-linux: stage: build - image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/rust:1.81.0-bookworm + image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/rustlang/rust:nightly script: - apt-get update -y - apt-get install yarnpkg libsoup-3.0-0 libsoup-3.0-dev libatk-adaptor libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev -y From 9428f2a829f2efafbd6ba5bfda04ba94b53ad258 Mon Sep 17 00:00:00 2001 From: quexeky <116044207+quexeky@users.noreply.github.com> Date: Tue, 21 Jan 2025 09:56:00 +1100 Subject: [PATCH 3/3] Update issue templates --- desktop/.github/ISSUE_TEMPLATE/bug_report.md | 31 +++++++++++++++++++ .../.github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 desktop/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 desktop/.github/ISSUE_TEMPLATE/feature_request.md diff --git a/desktop/.github/ISSUE_TEMPLATE/bug_report.md b/desktop/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..1735f730 --- /dev/null +++ b/desktop/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,31 @@ +--- +name: Bug report +about: Create a report to help us improve +title: "[BUG]" +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. Arch Linux, Windows] + - App Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/desktop/.github/ISSUE_TEMPLATE/feature_request.md b/desktop/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..bbcbbe7d --- /dev/null +++ b/desktop/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here.