fix(ui): align contextual documentation with headings
Verified with the coordinated workspace changes by devkit full run 2026-09-08T225814-186389-0000-3e3ed7cd (all seven phases passed). This shared UI pass does not mark the individual module reviews complete.
This commit is contained in:
@@ -338,7 +338,9 @@ export default function TicketsPage({ settings, auth }: PlatformRouteContext) {
|
||||
</label>
|
||||
<span className="tickets-count">{total} tickets</span>
|
||||
</>}
|
||||
helpAction={<DocumentationHelpLink reference={{ topicId: "tickets.operational-workflow", documentationType: "user" }} label="Open Tickets documentation" />}
|
||||
title="Tickets"
|
||||
titleLevel={1}
|
||||
titleHelp={<DocumentationHelpLink reference={{ topicId: "tickets.operational-workflow", documentationType: "user" }} label="Open Tickets documentation" />}
|
||||
createAction={canReport ?
|
||||
<Button type="button" variant="primary" onClick={() => {
|
||||
setEditing(null);
|
||||
@@ -450,7 +452,7 @@ function TicketDetail({ record, availability, history, canTriage, canAssign, can
|
||||
<header className="ticket-detail-header">
|
||||
<div>
|
||||
<span className="ticket-eyebrow">{record.ticket_number} · {humanize(record.ticket_type)}</span>
|
||||
<h1>{record.title}</h1>
|
||||
<h2>{record.title}</h2>
|
||||
</div>
|
||||
<div className="ticket-detail-badges">
|
||||
<StatusBadge status={priorityTone(record.priority)} label={humanize(record.priority)} />
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
import type { PlatformTranslations } from "@govoplan/core-webui";
|
||||
|
||||
/** Module-owned translations for contextual headings. */
|
||||
export const generatedTranslations: PlatformTranslations = {
|
||||
en: {
|
||||
"Tickets": "Tickets",
|
||||
},
|
||||
de: {
|
||||
"Tickets": "Tickets",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
import { createElement, lazy } from "react";
|
||||
import type { PlatformWebModule } from "@govoplan/core-webui";
|
||||
import { generatedTranslations } from "./i18n/generatedTranslations";
|
||||
import "./styles/tickets.css";
|
||||
|
||||
|
||||
const TicketsPage = lazy(() => import("./features/tickets/TicketsPage"));
|
||||
|
||||
export const ticketsModule: PlatformWebModule = {
|
||||
translations: generatedTranslations,
|
||||
id: "tickets",
|
||||
label: "Tickets",
|
||||
version: "0.1.20",
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.ticket-detail-header h1 {
|
||||
.ticket-detail-header h2 {
|
||||
margin: 4px 0 0;
|
||||
font-size: 1.4rem;
|
||||
letter-spacing: 0;
|
||||
|
||||
Reference in New Issue
Block a user