Compare commits

..

9 Commits

Author SHA1 Message Date
e8b8a4073e ci: fix ENOSPC by clearing docker builder cache before build
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 5s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 10m18s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 1s
🚀 Build & Deploy / 🧪 QA (push) Successful in 2m34s
2026-04-23 22:58:23 +02:00
5821a5dee4 fix: resolve vitest alias override bug breaking the QA test suite
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Successful in 2m42s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 10m25s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-04-23 14:28:29 +02:00
dfc7536268 fix: commit missing eslint-disable and lockfile to unblock pipeline
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 5s
🚀 Build & Deploy / 🧪 QA (push) Successful in 2m28s
🚀 Build & Deploy / 🏗️ Build (push) Successful in 14m26s
🚀 Build & Deploy / 🚀 Deploy (push) Successful in 12s
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 3m34s
🚀 Build & Deploy / 🔔 Notify (push) Successful in 1s
Nightly QA / call-qa-workflow (push) Failing after 41s
2026-04-22 11:04:42 +02:00
9f26a179fa chore: bump version to 1.3.19 to deploy linter fix
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 5s
🚀 Build & Deploy / 🧪 QA (push) Failing after 45s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 12m49s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-04-22 10:43:40 +02:00
5043058660 fix: exclude scripts from tsconfig compilation and fix msg type to resolve pipeline build error
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Failing after 52s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 13m25s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-04-22 10:27:26 +02:00
a37091ad71 chore: bump version to 1.3.17
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 5s
🚀 Build & Deploy / 🧪 QA (push) Successful in 1m33s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 12m20s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 1s
2026-04-22 10:01:01 +02:00
9539aa35eb fix: move second 'Stand' mention to the bottom of the page
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Successful in 2m15s
🚀 Build & Deploy / 🚀 Deploy (push) Has been cancelled
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
🚀 Build & Deploy / 🔔 Notify (push) Has been cancelled
🚀 Build & Deploy / 🏗️ Build (push) Has been cancelled
2026-04-22 10:00:51 +02:00
3ad24ef615 chore: bump version to 1.3.16
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 5s
🚀 Build & Deploy / 🧪 QA (push) Successful in 1m33s
🚀 Build & Deploy / 🏗️ Build (push) Successful in 15m20s
🚀 Build & Deploy / 🚀 Deploy (push) Failing after 1m22s
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 1s
2026-04-22 09:26:44 +02:00
3018ae5412 fix: ensure 'Stand' is correctly detected and displayed in the main text body
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Successful in 2m15s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 12m23s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 1s
2026-04-22 09:26:30 +02:00
8 changed files with 812 additions and 29 deletions

View File

@@ -185,6 +185,8 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: 🐳 Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: 🧹 Pre-Build Cache Cleanup
run: docker builder prune -f --filter "until=24h"
- name: 🔐 Registry Login
run: echo "${{ secrets.REGISTRY_PASS }}" | docker login registry.infra.mintel.me -u "${{ secrets.REGISTRY_USER }}" --password-stdin
- name: 🏗️ Build and Push

View File

@@ -12,14 +12,17 @@ export default function AVB() {
.map((b) => b.trim())
.filter((b) => b !== "");
const title = rawBlocks[0]?.replace(/^#\s+/, "") || "Allgemeine Verkaufsbedingungen";
const stand = rawBlocks[1] || "Stand: April 2026";
// Extract title and stand more robustly
const title = rawBlocks.find(b => b.startsWith("# "))?.replace(/^#\s+/, "") || "Allgemeine Verkaufsbedingungen";
const stand = rawBlocks.find(b => b.toLowerCase().startsWith("stand:")) || "Stand: April 2026";
const sections: { title: string; content: string[] }[] = [];
let currentSection: { title: string; content: string[] } | null = null;
// Skip title and stand
rawBlocks.slice(2).forEach((block) => {
// Process sections, skipping title and stand blocks
rawBlocks.forEach((block) => {
if (block.startsWith("# ") || block.toLowerCase().startsWith("stand:")) return;
if (block.startsWith("##")) {
// New section header: e.g. "## 1. Geltungsbereich"
if (currentSection) sections.push(currentSection);
@@ -28,9 +31,7 @@ export default function AVB() {
content: []
};
} else if (currentSection) {
// Content block: might be multiple paragraphs if not split by double newline,
// but here each block is one "paragraph" due to our split logic.
// We clean up bold markers for better display if they are just numbering.
// Clean up bold markers for better display
const cleanedBlock = block.replace(/\*\*(.*?)\*\*/g, "$1");
currentSection.content.push(cleanedBlock);
}
@@ -94,8 +95,9 @@ export default function AVB() {
</div>
))}
<div className="pt-8 border-t border-slate-100">
<p className="font-bold text-primary">{footer}</p>
<div className="pt-8 border-t border-slate-100 flex justify-between items-center text-slate-400 text-sm italic">
<p>{footer}</p>
<p>{stand}</p>
</div>
</div>
</div>

2
next-env.d.ts vendored
View File

@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -1,6 +1,6 @@
{
"name": "mb-grid-solutions.com",
"version": "1.3.15",
"version": "1.3.22",
"type": "module",
"packageManager": "pnpm@10.18.3",
"scripts": {

799
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -90,7 +90,8 @@ async function main() {
});
// Listen for console.error and console.warn messages (like Next.js Image warnings, hydration errors, CSP blocks)
page.on('console', (msg) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
page.on('console', (msg: any) => {
const type = msg.type();
if (type === 'error' || type === 'warn') {
const text = msg.text();

View File

@@ -14,5 +14,5 @@
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": ["node_modules", "tests", "tests_bak"]
"exclude": ["node_modules", "tests", "tests_bak", "scripts"]
}

View File

@@ -1,5 +1,6 @@
import { defineConfig } from 'vitest/config';
import react from '@vitejs/plugin-react';
import { fileURLToPath } from 'url';
export default defineConfig({
plugins: [react()],
@@ -16,11 +17,11 @@ export default defineConfig({
},
globals: true,
setupFiles: ['./tests/setup.tsx'],
alias: {
'next/server': 'next/server.js',
'@payload-config': new URL('./tests/__mocks__/payload-config.ts', import.meta.url).pathname,
'@': new URL('./', import.meta.url).pathname,
},
alias: [
{ find: 'next/server', replacement: 'next/server.js' },
{ find: '@payload-config', replacement: fileURLToPath(new URL('./tests/__mocks__/payload-config.ts', import.meta.url)) },
{ find: '@', replacement: fileURLToPath(new URL('./', import.meta.url)) },
],
exclude: ['**/node_modules/**', '**/.next/**'],
server: {
deps: {