From 1496adfa042e03b06b174fbc95a4cae36fd6975d Mon Sep 17 00:00:00 2001 From: linus saisi <42277372+saisilinus@users.noreply.github.com> Date: Wed, 28 Jan 2026 10:08:56 +0300 Subject: [PATCH 1/4] Create pull_request_template.md Add a template for documenting pull requests --- .github/pull_request_template.md | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..b7cbd03 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,34 @@ +# Pull Request + +## Description + +Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. + +Fixes # (issue) + +## Type of change + +Please delete options that are not relevant. + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] Documentation update + +## How Has This Been Tested? + +Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. + +- [ ] Test A +- [ ] Test B + +## Checklist: + +- [ ] My code follows the style guidelines of this project +- [ ] I have performed a self-review of my own code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] My changes generate no new warnings +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] New and existing unit tests pass locally with my changes +- [ ] Any dependent changes have been merged and published in downstream modules From 54fe5629edc125a479faffdf4f19c2c1537e79bb Mon Sep 17 00:00:00 2001 From: saisilinus Date: Wed, 28 Jan 2026 18:34:28 +0300 Subject: [PATCH 2/4] feat: add randomizer button --- assets/js/modules.js | 13 +++++++++++++ index.html | 1 + 2 files changed, 14 insertions(+) diff --git a/assets/js/modules.js b/assets/js/modules.js index 689dad2..569a7f8 100644 --- a/assets/js/modules.js +++ b/assets/js/modules.js @@ -27,6 +27,7 @@ this.addSorting(); this.addSearchFilter(); + this.addRandomizer(); } /** @@ -382,6 +383,18 @@ url.searchParams.delete('search'); sessionStorage.setItem(TRAINING_URL, url.href); } + + _randomize(evt){ + this.shuffle.sort({ randomize: true }); + } + + addRandomizer() { + const randomizeButton = document.getElementById('randomize'); + if (!randomizeButton) { + return; + } + randomizeButton.addEventListener('click', this._randomize.bind(this)); + } } document.addEventListener('DOMContentLoaded', function () { diff --git a/index.html b/index.html index 4851d99..4d25a5b 100644 --- a/index.html +++ b/index.html @@ -139,6 +139,7 @@

Create your custom training plan effortlessly.

+
From deb6bf71ca71fc0174486385c0b05ec248becd22 Mon Sep 17 00:00:00 2001 From: timmwille Date: Fri, 6 Feb 2026 21:53:48 +0100 Subject: [PATCH 3/4] add: changed button style and shuffle mode as easteregg --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index dc87e8c..c4fcbe0 100644 --- a/index.html +++ b/index.html @@ -139,7 +139,7 @@

Create your custom training plan effortlessly.

- +
From 93a7bd55d0dd3cc368d7247ec30f9018496ebf1a Mon Sep 17 00:00:00 2001 From: timmwille Date: Fri, 6 Feb 2026 22:01:28 +0100 Subject: [PATCH 4/4] add: improved PR template --- .github/pull_request_template.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index b7cbd03..0a6b228 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,31 +4,36 @@ Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -Fixes # (issue) +Fixes # (issue number) ## Type of change Please delete options that are not relevant. +- [ ] New Ressource +- [ ] New Module +- [ ] Content fix +- [ ] Documentation update - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) -- [ ] Documentation update + ## How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. -- [ ] Test A -- [ ] Test B +- [ ] Code Review +- [ ] Local execution +- [ ] other (please specify) ## Checklist: -- [ ] My code follows the style guidelines of this project +- [ ] My content is Open Source (see License) +- [ ] My code follows the Open Source guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas -- [ ] I have made corresponding changes to the documentation -- [ ] My changes generate no new warnings -- [ ] I have added tests that prove my fix is effective or that my feature works -- [ ] New and existing unit tests pass locally with my changes -- [ ] Any dependent changes have been merged and published in downstream modules +- [ ] I have made corresponding changes to the documentation where needed +- [ ] My changes generate no new warnings (double check during this pull request) +- [ ] I have added tests that prove my fix is effective or that my feature works (described above) +- [ ] Any dependent changes have been merged and published in downstream branches (development first)