33 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
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
nessar 425bfb7840 feat: Add Chinese language support and update language options in settings 2025-11-10 13:46:24 +01: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
nessar 617bd080d4 change key 2025-11-09 00:40:41 +01: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
nessar 48c6d4b16f prettier 2025-11-08 03:10:03 +01:00
nessar 456a1fffdd repo name 2025-11-08 03:08:25 +01:00
nessar 50b2e80f69 dockerfile 2025-11-08 03:06:04 +01:00
nessar bc3d119f1b linter 2025-11-08 03:05:32 +01:00
nessar 0c9c8879db update for new proj 2025-11-08 03:01:33 +01:00
nessar fd74cbdfd5 cicd 2025-11-08 03:00:17 +01:00
nessar 21bc6a3974 reroll v1 2025-11-08 02:58:25 +01:00
nessar bde6bc5942 V1 2025-11-08 00:33:40 +01:00
nessar 5fd12506cf initial commit 2025-11-07 19:06:40 +01:00