A third settings mode next to 'inline' and 'modal': a large dialog where every consent category is a card with its on/off control, description and an expandable list of the cookies it covers (name, provider, purpose, duration), taken from Cookie Settings → Cookies — the same rows as <CookieTable>. The developer picks the mode with one prop; the component default stays 'inline', so existing sites are unchanged. Cookie Settings gets a localized detailLabels group (list labels, English fallback); getConsentTexts passes texts.cookies and texts.details, sharing the row mapping with getCookieTable. New classNames slots and data-ipal handles for the cards and lists. Docs for devs and agents: consent.md (modes compared, which to pick — new projects default to 'detailed' when the cookie list is filled), AGENT.md, PROGRAMISTA §2.8/§2.11/§6, skills ipal-setup, ipal-site, ipal-upgrade, ipal-locale-add, ipal-consent-check. Postgres/SQLite projects need migrate:create for the new fields. Co-Authored-By: Claude Opus 5.5 <[email protected]>
44 lines
2.7 KiB
Markdown
44 lines
2.7 KiB
Markdown
# Dokumentacja @intecion/ipal-kit
|
|
|
|
| Kim jesteś | Czytaj |
|
|
|---|---|
|
|
| **Agent AI** pracujący w projekcie | [AGENT.md](./agent/AGENT.md) — reguły, struktura, budowa sekcji, kontrole przed „gotowe” |
|
|
| **Agent AI — skille** | [agent/skills/](./agent/skills) — 14 skilli `ipal-*` dla Antigravity/Claude Code, w tym `ipal-site` (strona od briefu do raportu) i skrypty kontrolne (kopiowane do projektu: `pnpm ipal:skills`, AGENT.md §14) |
|
|
| **Programista** | [PROGRAMISTA.md](./dev/PROGRAMISTA.md) — instalacja, nowy projekt, env, wdrożenie, aktualizacja, publikacja pluginu, Gitea |
|
|
| **Osoba prowadząca agenta AI** | [vibe.md](./dev/vibe.md) — tryb autonomiczny (`/ipal-site`) i gotowe polecenia krok po kroku |
|
|
|
|
Szczegóły API — jeden plik na moduł:
|
|
|
|
| Moduł | Plik |
|
|
|---|---|
|
|
| Role i dostęp do panelu | [access.md](./access.md) |
|
|
| Widget dostępności (opcjonalny) | [accessibility.md](./accessibility.md) |
|
|
| GA4, GTM, Meta Pixel, Clarity, LinkedIn, TikTok, `defer` | [analytics.md](./analytics.md) |
|
|
| Bloki, RenderBlocks, enhanceProps | [blocks.md](./blocks.md) |
|
|
| Zgoda cookies, baner, okno ustawień (w pasku / modal / duże ze szczegółami ciasteczek) | [consent.md](./consent.md) |
|
|
| Strona w budowie — blokada podstron z popupem (narzędzie deweloperskie) | [construction.md](./construction.md) |
|
|
| Routing, archiwa, redirecty, Markdown, wyszukiwarka | [content.md](./content.md) |
|
|
| Email SMTP / Graph | [email.md](./email.md) |
|
|
| Walidacja env | [env.md](./env.md) |
|
|
| Formularze, useForm, honeypot | [forms.md](./forms.md) |
|
|
| Hooki | [hooks.md](./hooks.md) |
|
|
| i18n, proxy, przełącznik języka | [i18n.md](./i18n.md) |
|
|
| Linki / CTA: buildLinkField, buildLinksField, resolveLinkHref, rowLabel | [links.md](./links.md) |
|
|
| Serwer MCP strony | [mcp.md](./mcp.md) |
|
|
| Komunikaty formularzy | [notifications.md](./notifications.md) |
|
|
| Strony systemowe, 404, generateStaticParams | [pages.md](./pages.md) |
|
|
| Helpery Payload | [payload-helpers.md](./payload-helpers.md) |
|
|
| Rich text, spis treści | [richtext.md](./richtext.md) |
|
|
| Nagłówki, CSP, 2FA | [security.md](./security.md) |
|
|
| SEO, metadata, sitemap, JSON-LD, llms.txt | [seo.md](./seo.md) |
|
|
| Statystyki w panelu (bez cookies; historia odwiedzającego za zgodą) | [stats.md](./stats.md) |
|
|
| Auto-slug | [slug.md](./slug.md) |
|
|
| Motyw jasny / ciemny, przełącznik | [theme.md](./theme.md) |
|
|
| Media, R2 | [storage.md](./storage.md) |
|
|
| Turnstile | [turnstile.md](./turnstile.md) |
|
|
| White-label panelu | [white-label.md](./white-label.md) |
|
|
|
|
Zasada utrzymania: zmiana API modułu → aktualizacja jego pliku w tym samym
|
|
commicie. Nowe reguły pracy → AGENT.md. Nowy krok procesu → PROGRAMISTA.md. Nowy etap budowy → vibe.md.
|
|
Nie dodawaj kolejnych plików ogólnych.
|