Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 25 additions & 6 deletions app/src/app/app/changelog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,40 @@

return (
<div className="flex flex-col gap-4">
<Day heading="2. Januar 2026">
<DayItem
heading="Neuer Avatar-Rahmen"
badges={["Änderung", "Avatar Creator"]}
>
<p>
Der Rahmen im Avatar Creator wurde durch ein neues Design
ausgetauscht.
</p>

<p>
Du findest den Avatar Creator unter{" "}
<Link
href="/app/avatar-creator"
className="text-interaction-500 hover:text-interaction-300 focus-visible:text-interaction-300"
>
Apps &gt; Avatar Creator
</Link>
.
</p>
</DayItem>
</Day>

<Day heading="6. Dezember 2025">
{showGlobalStatistics ? (
<DayItem
heading="Neue Statistiken"
badges={["Neu", "Statistiken"]}
>
<DayItem heading="Neue Statistiken" badges={["Neu", "Statistiken"]}>
<p>
Die Statistiken zeigen nun auch, wie viel neue SILC an einem Tag
verteilt wurden. Zusätzlich gibt es Verläufe für die Anzahl an
registrierten Nutzern, Citizens und Organisationen.
</p>

<p>
Alle Diagramme enthalten nun einen direkten Vergleich zum
Vortag.
Alle Diagramme enthalten nun einen direkten Vergleich zum Vortag.
</p>

<p>
Expand Down Expand Up @@ -289,10 +308,10 @@
Verlauf aller Änderungen an den Rollen dieses Citizen.
</p>

<Link href={image20251013rolesHistory.src}>

Check failure on line 311 in app/src/app/app/changelog/page.tsx

View workflow job for this annotation

GitHub Actions / lint

Unsafe member access .src on an `error` typed value

Check failure on line 311 in app/src/app/app/changelog/page.tsx

View workflow job for this annotation

GitHub Actions / lint

Unsafe assignment of an error typed value
<Image
quality={100}
src={image20251013rolesHistory}

Check failure on line 314 in app/src/app/app/changelog/page.tsx

View workflow job for this annotation

GitHub Actions / lint

Unsafe assignment of an error typed value
alt=""
loading="eager"
/>
Expand Down Expand Up @@ -342,10 +361,10 @@
</Link>
</p>

<Link href={image20251007sincome.src}>

Check failure on line 364 in app/src/app/app/changelog/page.tsx

View workflow job for this annotation

GitHub Actions / lint

Unsafe member access .src on an `error` typed value

Check failure on line 364 in app/src/app/app/changelog/page.tsx

View workflow job for this annotation

GitHub Actions / lint

Unsafe assignment of an error typed value
<Image
quality={100}
src={image20251007sincome}

Check failure on line 367 in app/src/app/app/changelog/page.tsx

View workflow job for this annotation

GitHub Actions / lint

Unsafe assignment of an error typed value
alt=""
loading="lazy"
/>
Expand Down
Binary file modified app/src/modules/avatar-creator/assets/avatar-frame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import clsx from "clsx";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";

const DEFAULT_SCALING_MULTIPLIER = 0.65;
const DEFAULT_SCALING_MULTIPLIER = 0.73;
const CANVAS_WIDTH = avatarFrame.width / 3;
const CANVAS_HEIGHT = avatarFrame.height / 3;
const CENTER_Y_OFFSET = 25;
const CLIP_MASK_RADIUS = 0.32;
const CENTER_Y_OFFSET = 0;
const CLIP_MASK_RADIUS = 0.37;

const getFrameCircle = (width: number, height: number) => {
const radius = Math.min(width, height) * CLIP_MASK_RADIUS;
Expand Down Expand Up @@ -168,13 +168,13 @@
const height =
canvasSize?.height ?? frameImage?.naturalHeight ?? CANVAS_HEIGHT;

if (canvas.width !== width || canvas.height !== height) {

Check warning on line 171 in app/src/modules/avatar-creator/components/AvatarCreatorClient.tsx

View workflow job for this annotation

GitHub Actions / lint

Avoid using state and effects as an event handler. Instead, call the event handling code directly when the event occurs
canvas.width = width;
canvas.height = height;
}

ctx.clearRect(0, 0, width, height);
if (backgroundColor) {

Check warning on line 177 in app/src/modules/avatar-creator/components/AvatarCreatorClient.tsx

View workflow job for this annotation

GitHub Actions / lint

Avoid using state and effects as an event handler. Instead, call the event handling code directly when the event occurs
const { centerX, centerY, radius } = getFrameCircle(width, height);
ctx.save();
ctx.beginPath();
Expand Down
1 change: 1 addition & 0 deletions terraform/midnight-automations.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module "midnight_automations" {
scheduler_state = "ENABLED"
event_bus = data.aws_cloudwatch_event_bus.default
runtime = "nodejs22.x"
memory_size = 256
parameters = [
"/database/connection_string",
]
Expand Down
Loading