feat(wiki): Kategoriebeschreibungen, Kacheldesign und Migration

- Migrationsskript: Teaser/Content getrennt (kc_teaser id=55 → teaser,
  kc_article id=58 → content), Gemini-Summaries mit thinkingBudget=0,
  Retry-Logik für 503/429-Fehler
- Berechtigungsfehler behoben: AND active=1 aus main_contact_department-
  Abfrage entfernt (Middleware + Ajax)
- Kategoriebeschreibungen: neues description-Feld in
  knowledgecenter_category_translations, aus kc.tags befüllt
- Kacheln: Hauptebene erhält post_wiki-Klasse für einheitliches Design,
  Beschreibungstext in Grid-Ansicht, in Listenansicht ausgeblendet
- Buttons: Beitrag-erstellen nutzt --clr-mandant, alle vier Toolbar-
  Buttons auf gleiche Höhe normiert (line-height: 1 + SVG 1em)
- Platzhalterpfade für Kategorien und Beiträge korrigiert
- Zusammenfassung in Beitragsansicht angezeigt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 10:00:17 +02:00
parent ee966de174
commit 8ff44a407e
6 changed files with 544 additions and 19 deletions

View File

@@ -36,10 +36,17 @@
}
.card_title {
padding: 1rem;
padding: 1rem 1rem 0.25rem;
font-weight: bold;
}
.card_description {
padding: 0 1rem 0.75rem;
font-size: 0.82rem;
color: var(--text-secondary, #666);
line-height: 1.4;
}
.post-aside-section .collection_content.accept_certificate {
float: unset;
}
@@ -96,7 +103,10 @@
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}
.categories_grid.list_view .card_description {
display: none;
}
.titl .version_selected {
@@ -164,6 +174,14 @@
align-items: center;
justify-content: center;
cursor: pointer;
line-height: 1;
margin-bottom: 1em;
}
div#changeCategoryGridView svg {
width: 1em;
height: 1em;
display: block;
}
.categories_grid.list_view {
@@ -325,6 +343,9 @@
.titlebar .searchbar {
flex: 1;
max-width: 500px;
display: flex;
align-items: center;
gap: 8px;
}
.titlebar .searchbar input {
@@ -335,6 +356,7 @@
display: flex;
align-items: center;
gap: 10px;
box-sizing: border-box;
}
div#filesDisplayContainer object {
@@ -728,6 +750,12 @@
border-bottom: 1px solid var(--border);
}
.post-summary {
font-size: 0.9rem;
color: var(--text-secondary, #555);
line-height: 1.5;
}
.post-meta-item {
display: flex;
align-items: center;
@@ -930,8 +958,17 @@
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
form#categories_posts_listform .promoted {
list-style: none;
display: flex;
align-items: center;
}
form#categories_posts_listform .promoted a {
padding: 7px 10px;
line-height: 1;
display: flex;
align-items: center;
background: var(--bg-light);
border-radius: var(--br);
border: 1px solid var(--border);
@@ -1253,10 +1290,24 @@
color: white;
}
.titlebar-actions {
display: flex;
align-items: center;
gap: 10px;
}
a[role="button"].green {
background: #14b814;
border: 1px solid #14b814;
padding: 7px 10px;
background: var(--clr-mandant);
border: 1px solid var(--clr-mandant);
color: #fff;
padding: 7px 14px;
border-radius: 4px;
font-weight: 600;
white-space: nowrap;
display: flex;
align-items: center;
line-height: 1;
margin-bottom: 1em;
}
.post-action-btn.red {