feat(lesereisen): data model + Flyway migration — GeschichteType, JourneyItem, migrate geschichten_documents #787

Merged
marcel merged 213 commits from feat/issue-750-lesereisen-data-model into main 2026-06-12 14:04:04 +02:00
Showing only changes of commit 3572de487a - Show all commits

View File

@@ -100,11 +100,12 @@ describe('JourneyItemCard', () => {
expect(document.body.textContent).not.toContain('✎'); expect(document.body.textContent).not.toContain('✎');
}); });
it('link meets 44px touch-target (min-h-[44px] class)', async () => { it('link meets 44px touch-target minimum height', async () => {
render(JourneyItemCard, { props: { item: baseItem() } }); render(JourneyItemCard, { props: { item: baseItem() } });
const link = document.querySelector('a'); const link = document.querySelector('a');
expect(link?.className).toContain('min-h-[44px]'); const rect = link?.getBoundingClientRect();
expect(rect?.height).toBeGreaterThanOrEqual(44);
}); });
it('XSS: note is rendered as plaintext — injected payload does not execute', async () => { it('XSS: note is rendered as plaintext — injected payload does not execute', async () => {