Compare commits

...

11 commits

Author SHA1 Message Date
cd098f717c Merge branch 'main' into styleguide
All checks were successful
CI / prettier (pull_request) Successful in 46s
CI / eslint (pull_request) Successful in 54s
CI / Checkstyle Main (pull_request) Successful in 1m4s
CI / test-build (pull_request) Successful in 1m3s
2025-03-12 18:53:16 +00:00
09fdd83192 Merge pull request 'Rename variables to non dom element names' (#71) from fix/rename-to-not-standard-dom-elements into main
All checks were successful
Release / Release (push) Successful in 1m44s
Reviewed-on: #71
2025-03-12 18:52:30 +00:00
8c9d7c498b
style(home): format HTML and TypeScript code for clarity
All checks were successful
CI / prettier (pull_request) Successful in 22s
CI / Checkstyle Main (pull_request) Successful in 31s
CI / eslint (pull_request) Successful in 37s
CI / test-build (pull_request) Successful in 44s
2025-03-12 19:26:07 +01:00
abc4277e84
refactor(deposit): rename close event emitter for clarity 2025-03-12 19:25:11 +01:00
a7d98e1150
feat: rename event emitter for confirmation modal closure
Some checks failed
CI / prettier (pull_request) Failing after 20s
CI / Checkstyle Main (pull_request) Successful in 31s
CI / eslint (pull_request) Successful in 37s
CI / test-build (pull_request) Successful in 42s
2025-03-12 19:20:51 +01:00
7bbabc46f3 Merge pull request 'chore(deps): update https://github.com/actions/cache action to v4' (#67) from renovate/https-github.com-actions-cache-4.x into main
All checks were successful
Release / Release (push) Successful in 1m8s
Reviewed-on: #67
Reviewed-by: Jan Gleytenhoover <jan@kjan.email>
2025-03-12 18:01:55 +00:00
ba1415e8b0 Merge pull request 'chore(deps): update actions/checkout action to v4' (#64) from renovate/actions-checkout-4.x into main
All checks were successful
Release / Release (push) Successful in 1m10s
Reviewed-on: #64
Reviewed-by: Jan Gleytenhoover <jan@kjan.email>
2025-03-12 17:46:48 +00:00
f7c344faa6 chore(deps): update https://github.com/actions/cache action to v4
All checks were successful
CI / eslint (pull_request) Successful in 19s
CI / test-build (pull_request) Successful in 27s
CI / prettier (pull_request) Successful in 57s
CI / Checkstyle Main (pull_request) Successful in 1m20s
2025-03-12 16:04:42 +00:00
910895ed82 chore(deps): update actions/checkout action to v4
All checks were successful
CI / eslint (pull_request) Successful in 27s
CI / prettier (pull_request) Successful in 40s
CI / test-build (pull_request) Successful in 1m25s
CI / Checkstyle Main (pull_request) Successful in 2m20s
2025-03-12 16:04:02 +00:00
1ad34b1ae1 Merge pull request 'chore(deps): update actions/cache action to v4' (#63) from renovate/actions-cache-4.x into main
All checks were successful
Release / Release (push) Successful in 1m8s
Reviewed-on: #63
Reviewed-by: Jan Gleytenhoover <jan@kjan.email>
2025-03-12 15:43:04 +00:00
79b83fc4c8 chore(deps): update actions/cache action to v4
All checks were successful
CI / Checkstyle Main (pull_request) Successful in 46s
CI / eslint (pull_request) Successful in 50s
CI / prettier (pull_request) Successful in 1m3s
CI / test-build (pull_request) Successful in 1m9s
2025-03-12 15:03:14 +00:00
4 changed files with 15 additions and 12 deletions

View file

@ -10,9 +10,9 @@ jobs:
image: "cimg/openjdk:23.0-node" image: "cimg/openjdk:23.0-node"
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: "Cache Gradle dependencies" - name: "Cache Gradle dependencies"
uses: https://github.com/actions/cache@v3 uses: https://github.com/actions/cache@v4
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches
@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install bun - name: Install bun
uses: oven-sh/setup-bun@v2 uses: oven-sh/setup-bun@v2
- uses: actions/cache@v3 - uses: actions/cache@v4
working-directory: ./frontend working-directory: ./frontend
with: with:
path: | path: |
@ -65,7 +65,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install bun - name: Install bun
uses: oven-sh/setup-bun@v2 uses: oven-sh/setup-bun@v2
- uses: actions/cache@v3 - uses: actions/cache@v4
working-directory: ./frontend working-directory: ./frontend
with: with:
path: | path: |
@ -91,7 +91,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install bun - name: Install bun
uses: oven-sh/setup-bun@v2 uses: oven-sh/setup-bun@v2
- uses: actions/cache@v3 - uses: actions/cache@v4
working-directory: ./frontend working-directory: ./frontend
with: with:
path: | path: |
@ -99,7 +99,7 @@ jobs:
key: ${{ runner.os }}-bun- key: ${{ runner.os }}-bun-
restore-keys: | restore-keys: |
${{ runner.os }}-bun- ${{ runner.os }}-bun-
- uses: actions/cache@v3 - uses: actions/cache@v4
working-directory: ./frontend working-directory: ./frontend
with: with:
path: | path: |

View file

@ -32,7 +32,7 @@ import gsap from 'gsap';
}) })
export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges { export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
@Input() isOpen = false; @Input() isOpen = false;
@Output() close = new EventEmitter<void>(); @Output() closeModalEmitter = new EventEmitter<void>();
@ViewChild('modalBg') modalBg!: ElementRef; @ViewChild('modalBg') modalBg!: ElementRef;
@ViewChild('modalCard') modalCard!: ElementRef; @ViewChild('modalCard') modalCard!: ElementRef;
protected form!: FormGroup; protected form!: FormGroup;
@ -110,7 +110,7 @@ export class DepositComponent implements OnInit, AfterViewInit, OnDestroy, OnCha
this.modalAnimationService.closeModal( this.modalAnimationService.closeModal(
this.modalCard.nativeElement, this.modalCard.nativeElement,
this.modalBg.nativeElement, this.modalBg.nativeElement,
() => this.close.emit() () => this.closeModalEmitter.emit()
); );
} }
} }

View file

@ -73,7 +73,10 @@
<h3 class="section-heading text-xl mb-4">Konto</h3> <h3 class="section-heading text-xl mb-4">Konto</h3>
<div class="space-y-4"> <div class="space-y-4">
<button class="button-primary w-full py-2" (click)="openDepositModal()">Einzahlen</button> <button class="button-primary w-full py-2" (click)="openDepositModal()">Einzahlen</button>
<app-deposit [isOpen]="isDepositModalOpen" (close)="closeDepositModal()"></app-deposit> <app-deposit
[isOpen]="isDepositModalOpen"
(closeModalEmitter)="closeDepositModal()"
></app-deposit>
<button class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded"> <button class="bg-deep-blue-light hover:bg-deep-blue-contrast w-full py-2 rounded">
Transaktionen Transaktionen
</button> </button>
@ -85,7 +88,7 @@
<app-confirmation <app-confirmation
[successful]="isDepositSuccessful" [successful]="isDepositSuccessful"
(close)="closeDepositConfirmationModal()" (closeConfirmation)="closeDepositConfirmationModal()"
></app-confirmation> ></app-confirmation>
<div class="card p-4"> <div class="card p-4">

View file

@ -19,7 +19,7 @@ import gsap from 'gsap';
}) })
export class ConfirmationComponent implements AfterViewInit, OnDestroy { export class ConfirmationComponent implements AfterViewInit, OnDestroy {
@Input() successful = true; @Input() successful = true;
@Output() close = new EventEmitter<void>(); @Output() closeConfirmation = new EventEmitter<void>();
@ViewChild('modalBg') modalBg!: ElementRef; @ViewChild('modalBg') modalBg!: ElementRef;
@ViewChild('modalCard') modalCard!: ElementRef; @ViewChild('modalCard') modalCard!: ElementRef;
@ -43,7 +43,7 @@ export class ConfirmationComponent implements AfterViewInit, OnDestroy {
this.modalAnimationService.closeModal( this.modalAnimationService.closeModal(
this.modalCard.nativeElement, this.modalCard.nativeElement,
this.modalBg.nativeElement, this.modalBg.nativeElement,
() => this.close.emit() () => this.closeConfirmation.emit()
); );
} }
} }