65 Commits
Author SHA1 Message Date
nessar bf71d38ec1 fix: reorder ngx-translate dependencies in package.json and package-lock.json
refactor: update app.config.ts to use provideTranslateHttpLoader for translation configuration
2025-11-11 15:00:10 +01:00
Théophyl Hoguet a7418b5b02 Merge pull request #12 from THoguet/dependabot/npm_and_yarn/ngx-translate/http-loader-17.0.0
build(deps): Bump @ngx-translate/http-loader from 7.0.0 to 17.0.0
2025-11-11 14:54:40 +01:00
Théophyl Hoguet f8d416a842 Merge branch 'main' into dependabot/npm_and_yarn/ngx-translate/http-loader-17.0.0 2025-11-11 14:54:26 +01:00
Théophyl Hoguet aaaa0daa63 Merge pull request #13 from THoguet/dependabot/npm_and_yarn/ngx-translate/core-17.0.0
build(deps): Bump @ngx-translate/core from 14.0.0 to 17.0.0
2025-11-11 14:53:28 +01:00
Théophyl Hoguet ee339d616f Merge pull request #11 from THoguet/dependabot/npm_and_yarn/development-dependencies-63c8b45d9c
build(deps-dev): Bump jasmine-core from 5.9.0 to 5.12.1 in the development-dependencies group
2025-11-11 14:51:37 +01:00
Théophyl Hoguet 85d1c36a85 Merge pull request #10 from THoguet/dependabot/github_actions/actions/upload-artifact-5
build(deps): Bump actions/upload-artifact from 4 to 5
2025-11-11 14:51:10 +01:00
nessar b66acc21ef Refactor language management to use storedSignal for persistence and update related components 2025-11-11 14:42:55 +01:00
nessar c1c82b5311 Remove color styles from blacklist dialog component CSS for improved consistency 2025-11-10 19:43:15 +01:00
Théophyl Hoguet 08981472f1 Merge pull request #14 from THoguet/copilot/add-blacklist-champions-button
Add blacklist dialog showing banned champions by lane
2025-11-10 19:22:41 +01:00
copilot-swe-agent[bot]andTHoguet 272a2a2777 Fix all existing unit tests and linter errors by adding TranslateModule
Co-authored-by: THoguet <61246905+THoguet@users.noreply.github.com>
2025-11-10 18:19:50 +00:00
copilot-swe-agent[bot]andTHoguet 7b746f5249 Fix eslint error: add comment to empty catch block
Co-authored-by: THoguet <61246905+THoguet@users.noreply.github.com>
2025-11-10 18:09:23 +00:00
copilot-swe-agent[bot]andTHoguet 064cf1c218 Fix blacklist dialog component tests with provideZonelessChangeDetection
Co-authored-by: THoguet <61246905+THoguet@users.noreply.github.com>
2025-11-10 13:22:39 +00:00
copilot-swe-agent[bot]andTHoguet 2d64a02eba Add blacklist dialog component with per-lane champion display
Co-authored-by: THoguet <61246905+THoguet@users.noreply.github.com>
2025-11-10 13:20:29 +00:00
copilot-swe-agent[bot] 0d8cdc99e5 Initial plan 2025-11-10 13:06:49 +00:00
nessar 425bfb7840 feat: Add Chinese language support and update language options in settings 2025-11-10 13:46:24 +01:00
dependabot[bot] b5aa9d441d build(deps): Bump @ngx-translate/core from 14.0.0 to 17.0.0
Bumps [@ngx-translate/core](https://github.com/ngx-translate/core) from 14.0.0 to 17.0.0.
- [Release notes](https://github.com/ngx-translate/core/releases)
- [Commits](https://github.com/ngx-translate/core/compare/v14.0.0...v17.0.0)

---
updated-dependencies:
- dependency-name: "@ngx-translate/core"
  dependency-version: 17.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 06:47:02 +00:00
dependabot[bot] cfaa6608bc build(deps): Bump @ngx-translate/http-loader from 7.0.0 to 17.0.0
Bumps [@ngx-translate/http-loader](https://github.com/ngx-translate/core) from 7.0.0 to 17.0.0.
- [Release notes](https://github.com/ngx-translate/core/releases)
- [Commits](https://github.com/ngx-translate/core/compare/v7.0.0...v17.0.0)

---
updated-dependencies:
- dependency-name: "@ngx-translate/http-loader"
  dependency-version: 17.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 06:46:51 +00:00
dependabot[bot] 33c0456b2f build(deps-dev): Bump jasmine-core in the development-dependencies group
Bumps the development-dependencies group with 1 update: [jasmine-core](https://github.com/jasmine/jasmine).


Updates `jasmine-core` from 5.9.0 to 5.12.1
- [Release notes](https://github.com/jasmine/jasmine/releases)
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine/compare/v5.9.0...v5.12.1)

---
updated-dependencies:
- dependency-name: jasmine-core
  dependency-version: 5.12.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 06:46:41 +00:00
dependabot[bot] eeba543cbf build(deps): Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 06:45:59 +00:00
nessar 9f8167fc58 feat: Integrate ngx-translate for multilingual support and add English and French translations 2025-11-10 01:39:22 +01:00
nessar 36c98db93f refactor: Simplify mockStateService stubs in component tests and make HttpClient optional in ChampionDataService 2025-11-10 01:13:10 +01:00
nessar eebbdae93e feat: Add eslint-plugin-prettier for enhanced linting support 2025-11-10 00:58:26 +01:00
nessar fb4b494af1 feat: Add eslint-config-prettier for improved linting compatibility 2025-11-10 00:57:34 +01:00
nessar d5ddc17e0b feat: Add typescript-eslint package for improved TypeScript linting 2025-11-10 00:56:52 +01:00
nessar d8073bd26b refactor: Improve code formatting and add minimal stubs for testing in various components 2025-11-10 00:54:38 +01:00
nessar 581e7baf2f feat: Refactor ControlHeader and LaneCard components to use RandomizerStateService for state management
- Updated ControlHeaderComponent to inject RandomizerStateService and remove input/output properties.
- Integrated state management methods for rolling, retrying, and copying drafts.
- Refactored LaneCardComponent to utilize RandomizerStateService for lane and champion management.
- Removed unnecessary input properties and replaced them with computed properties derived from the service.
- Enhanced template rendering for lane cards based on the new state management approach.

feat: Implement SettingsDialog for user preferences

- Created SettingsDialogComponent to manage user settings for fearless draft.
- Added CSS styles for the settings dialog.
- Implemented functionality to toggle fearless draft and update the state immediately without save/cancel.

test: Add unit tests for SettingsDialog and RandomizerStateService

- Developed comprehensive tests for SettingsDialogComponent to ensure correct behavior on toggle changes.
- Created initial tests for RandomizerStateService to verify service creation and basic functionality.

chore: Introduce storedSignal utility for localStorage persistence

- Added storedSignal utility to manage signals with automatic localStorage persistence.
- Implemented debouncing for localStorage writes to optimize performance.
2025-11-10 00:47:01 +01:00
nessar 038dc3c6dd fix disabled lanes rerolls 2025-11-09 01:02:56 +01:00
Théophyl Hoguet 2ab21b747e Merge pull request #9 from THoguet/copilot/vscode1762644114203
Fix icon caching on first page load
2025-11-09 00:46:00 +01:00
nessar 617bd080d4 change key 2025-11-09 00:40:41 +01:00
copilot-swe-agent[bot]andTHoguet 45bbf39d2b Update caching documentation with immediate preload and SW registration
Co-authored-by: THoguet <61246905+THoguet@users.noreply.github.com>
2025-11-08 23:33:42 +00:00
copilot-swe-agent[bot]andTHoguet 87c614196d Fix icon caching on first load - immediate preload and SW registration
Co-authored-by: THoguet <61246905+THoguet@users.noreply.github.com>
2025-11-08 23:31:02 +00:00
nessar 8bcca7a294 andy le goat 2025-11-09 00:26:56 +01:00
nessar 47276ad6e6 Checkpoint from VS Code for coding agent session 2025-11-09 00:21:54 +01:00
nessar 2fb67a2021 fix money glitch 2025-11-09 00:01:47 +01:00
nessar b9c25369c7 prettier 2025-11-09 00:00:36 +01:00
nessar f46969549e tests 2025-11-08 23:57:36 +01:00
nessar 61f1d0de88 remove console log 2025-11-08 23:41:09 +01:00
nessar 9023c2b08b update global bank 2025-11-08 23:40:30 +01:00
nessar d2ce631e94 feat: Update canReRoll logic to use Map for lane assignments and add RandomNumber service 2025-11-08 22:46:05 +01:00
nessar 13c220878f feat: Refactor champion randomizer component and related services
- Removed the preload link directive as it is no longer needed.
- Added new styles for the champion randomizer component and control header.
- Implemented the champion randomizer component with lane assignments and champion selection logic.
- Created a control header component for managing actions like rolling champions and copying drafts.
- Developed lane card component to display champion details and handle re-rolls.
- Introduced image caching interceptor to optimize image loading for champion icons.
- Implemented champion data service to manage champion data fetching and caching.
- Added image preload service to preload and cache champion images for better performance.
- Updated data structures for champions and lanes to improve type safety and maintainability.
2025-11-08 17:17:45 +01:00
nessar 6de532cce7 change icon 2025-11-08 03:41:02 +01:00
nessar 97551c0bd7 roll reroll 2025-11-08 03:31:32 +01:00
Théophyl Hoguet f43e5a1d43 Merge pull request #8 from THoguet/dependabot/npm_and_yarn/types/node-24.10.0
Bump @types/node from 20.19.24 to 24.10.0
2025-11-08 03:11:41 +01:00
Théophyl Hoguet 82e646f2bd Merge pull request #6 from THoguet/dependabot/github_actions/codecov/codecov-action-5
Bump codecov/codecov-action from 4 to 5
2025-11-08 03:11:29 +01:00
Théophyl Hoguet 6887d15783 Merge pull request #4 from THoguet/dependabot/docker/node-25-alpine
Bump node from 20-alpine to 25-alpine
2025-11-08 03:11:19 +01:00
Théophyl Hoguet 49e70b9945 Merge pull request #5 from THoguet/dependabot/github_actions/github/codeql-action-4
Bump github/codeql-action from 3 to 4
2025-11-08 03:11:03 +01:00
Théophyl Hoguet 843e4d8307 Merge pull request #3 from THoguet/dependabot/github_actions/actions/setup-node-6
Bump actions/setup-node from 4 to 6
2025-11-08 03:10:53 +01:00
Théophyl Hoguet c694f5e256 Merge pull request #2 from THoguet/dependabot/github_actions/aquasecurity/trivy-action-0.33.1
Bump aquasecurity/trivy-action from 0.27.0 to 0.33.1
2025-11-08 03:10:41 +01:00
Théophyl Hoguet 481226ce4d Merge pull request #1 from THoguet/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-11-08 03:10:30 +01:00
nessar 48c6d4b16f prettier 2025-11-08 03:10:03 +01:00