Fix FAQFull: Use isDraft boolean for draft filtering, fix Kontakt ID override

This commit is contained in:
MichalC
2026-09-16 12:31:19 +02:00
parent 437e1e4823
commit 9043301da6
140 changed files with 23337 additions and 724 deletions
+62
View File
@@ -0,0 +1,62 @@
[
{
"antipattern": "line-length",
"name": "Line length too long",
"description": "Text lines wider than ~80 characters are hard to read. The eye loses its place tracking back to the start of the next line. Add a max-width (65ch to 75ch) to text containers.",
"severity": "warning",
"category": "quality",
"file": "http://localhost:3000/pl",
"line": 0,
"snippet": "~85 chars/line (aim for <80)"
},
{
"antipattern": "justified-text",
"name": "Justified text",
"description": "Justified text without hyphenation creates uneven word spacing (\"rivers of white\"). Use text-align: left for body text, or enable hyphens: auto if you must justify.",
"severity": "warning",
"category": "quality",
"file": "http://localhost:3000/pl",
"line": 0,
"snippet": "text-align: justify without hyphens: auto"
},
{
"antipattern": "nested-cards",
"name": "Nested cards",
"description": "Cards inside cards create visual noise and excessive depth. Flatten the hierarchy — use spacing, typography, and dividers instead of nesting containers.",
"severity": "warning",
"category": "slop",
"file": "http://localhost:3000/pl",
"line": 0,
"snippet": "Card inside card"
},
{
"antipattern": "nested-cards",
"name": "Nested cards",
"description": "Cards inside cards create visual noise and excessive depth. Flatten the hierarchy — use spacing, typography, and dividers instead of nesting containers.",
"severity": "warning",
"category": "slop",
"file": "http://localhost:3000/pl",
"line": 0,
"snippet": "Card inside card"
},
{
"antipattern": "text-occlusion",
"name": "Text occluded by an overlapping element",
"description": "Text is painted under an opaque element or a second text run, so part of it cannot be read. A decorative box, a stacked layer, or an inline element with leaked padding lands on the words instead of beside them. Give overlapping layers room, or move the text out from under the layer above it.",
"severity": "warning",
"category": "quality",
"file": "http://localhost:3000/pl",
"line": 0,
"snippet": "span.text-xs.uppercase.tracking-widest.text-background/80.font-medium \"Lat doświadczenia\" is 100% covered by an opaque element (div.w-full.h-full.flex.flex-col.items-center.justify-center.text-border.gap-4.p-8.text-center.border.border-border)"
},
{
"antipattern": "cream-palette",
"name": "Cream / beige palette",
"description": "A warm cream or beige page background has become the default \"tasteful\" AI surface, reached for by reflex. Choose a background that comes from a deliberate palette, not the safe warm off-white.",
"severity": "warning",
"category": "slop",
"file": "http://localhost:3000/pl",
"line": 0,
"snippet": "cream/beige page background rgb(247, 245, 241)"
}
]