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:
@@ -304,6 +304,9 @@ manifest = ModuleManifest(
|
|||||||
"permission-aware interface."
|
"permission-aware interface."
|
||||||
),
|
),
|
||||||
body=(
|
body=(
|
||||||
|
"Documentation books sit immediately beside the visible heading or contextual label for "
|
||||||
|
"Search and Search index, not among operational action buttons. Field help remains beside its "
|
||||||
|
"label. "
|
||||||
"Search works with the built-in database index and can aggregate "
|
"Search works with the built-in database index and can aggregate "
|
||||||
"optional providers. Source modules announce searchable types, "
|
"optional providers. Source modules announce searchable types, "
|
||||||
"context scopes, and ACL-aware index entries. External engines "
|
"context scopes, and ACL-aware index entries. External engines "
|
||||||
@@ -379,6 +382,9 @@ manifest = ModuleManifest(
|
|||||||
"berechtigungsbewusste Oberfläche finden."
|
"berechtigungsbewusste Oberfläche finden."
|
||||||
),
|
),
|
||||||
"body": (
|
"body": (
|
||||||
|
"Dokumentationsbücher stehen unmittelbar neben der sichtbaren Überschrift oder "
|
||||||
|
"Kontextbezeichnung für Suche und Suchindex, nicht zwischen ausführbaren "
|
||||||
|
"Aktionsschaltflächen. Feldhilfe bleibt neben der Feldbezeichnung. "
|
||||||
"Search verwendet den eingebauten Datenbankindex und kann optionale Anbieter "
|
"Search verwendet den eingebauten Datenbankindex und kann optionale Anbieter "
|
||||||
"zusammenführen. Quellmodule melden durchsuchbare Typen, Kontextbereiche und "
|
"zusammenführen. Quellmodule melden durchsuchbare Typen, Kontextbereiche und "
|
||||||
"berechtigungsgeprüfte Indexeinträge. Externe Suchmaschinen bleiben optionale "
|
"berechtigungsgeprüfte Indexeinträge. Externe Suchmaschinen bleiben optionale "
|
||||||
|
|||||||
@@ -194,7 +194,10 @@ export default function GlobalSearch({ settings, auth }: GlobalSearchProps) {
|
|||||||
|
|
||||||
<Dialog
|
<Dialog
|
||||||
open={open && Boolean(layout)}
|
open={open && Boolean(layout)}
|
||||||
title="Search"
|
title="Search" titleHelp={<DocumentationHelpLink
|
||||||
|
reference={{ topicId: "search.global-and-contextual", documentationType: "user" }}
|
||||||
|
label="Open search documentation"
|
||||||
|
/>}
|
||||||
helpContextId="search.results"
|
helpContextId="search.results"
|
||||||
onClose={closeOverlay}
|
onClose={closeOverlay}
|
||||||
showCloseButton={false}
|
showCloseButton={false}
|
||||||
@@ -280,10 +283,7 @@ export default function GlobalSearch({ settings, auth }: GlobalSearchProps) {
|
|||||||
hideModules={Boolean(context)} onModulesChange={setModules}
|
hideModules={Boolean(context)} onModulesChange={setModules}
|
||||||
onResourceTypesChange={setResourceTypes} onClear={clearFilters} />
|
onResourceTypesChange={setResourceTypes} onClear={clearFilters} />
|
||||||
{loading && <LoadingIndicator size="sm" label="Searching" />}
|
{loading && <LoadingIndicator size="sm" label="Searching" />}
|
||||||
<DocumentationHelpLink
|
|
||||||
reference={{ topicId: "search.global-and-contextual", documentationType: "user" }}
|
|
||||||
label="Open search documentation"
|
|
||||||
/>
|
|
||||||
<IconButton
|
<IconButton
|
||||||
label="Close search"
|
label="Close search"
|
||||||
icon={<X size={17} />}
|
icon={<X size={17} />}
|
||||||
|
|||||||
@@ -192,7 +192,10 @@ export default function SearchAdminPanel({ settings }: Props) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<AdminPageLayout
|
<AdminPageLayout
|
||||||
title="Search index"
|
title="Search index" titleHelp={<DocumentationHelpLink
|
||||||
|
reference={DOCUMENTATION}
|
||||||
|
label="Open Search administration documentation"
|
||||||
|
/>}
|
||||||
description="Inspect source coverage, process durable changes, and reconcile the tenant's derived index from authoritative modules."
|
description="Inspect source coverage, process durable changes, and reconcile the tenant's derived index from authoritative modules."
|
||||||
loading={loading}
|
loading={loading}
|
||||||
error={error}
|
error={error}
|
||||||
@@ -225,10 +228,7 @@ export default function SearchAdminPanel({ settings }: Props) {
|
|||||||
>
|
>
|
||||||
<RotateCw size={16} /> Reconcile modules
|
<RotateCw size={16} /> Reconcile modules
|
||||||
</Button>
|
</Button>
|
||||||
<DocumentationHelpLink
|
|
||||||
reference={DOCUMENTATION}
|
|
||||||
label="Open Search administration documentation"
|
|
||||||
/>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { ChevronDown, ExternalLink, Search } from "lucide-react";
|
import { ChevronDown, ExternalLink, Search } from "lucide-react";
|
||||||
import { useEffect, useMemo, useState, type FormEvent } from "react";
|
import { useEffect, useMemo, useState, type FormEvent } from "react";
|
||||||
import { useSearchParams } from "react-router";
|
import { useSearchParams } from "react-router";
|
||||||
import { ActionToolbar, Button, DocumentationHelpLink, DismissibleAlert, LoadingIndicator,
|
import { ActionToolbar, Button, DocumentationHelpLink, DismissibleAlert, LoadingIndicator, PageTitle,
|
||||||
PageScrollViewport, useGuardedNavigate, usePlatformModules, type PlatformRouteContext
|
PageScrollViewport, useGuardedNavigate, usePlatformModules, type PlatformRouteContext
|
||||||
} from "@govoplan/core-webui";
|
} from "@govoplan/core-webui";
|
||||||
import SearchFilters from "../../components/SearchFilters";
|
import SearchFilters from "../../components/SearchFilters";
|
||||||
@@ -43,6 +43,10 @@ export default function SearchPage({ settings, auth }: PlatformRouteContext) {
|
|||||||
return (
|
return (
|
||||||
<main className="search-page">
|
<main className="search-page">
|
||||||
<ActionToolbar className="search-page-toolbar">
|
<ActionToolbar className="search-page-toolbar">
|
||||||
|
<PageTitle titleHelp={<DocumentationHelpLink
|
||||||
|
reference={{ topicId: "search.global-and-contextual", documentationType: "user" }}
|
||||||
|
label="Open search documentation"
|
||||||
|
/>}>Search</PageTitle>
|
||||||
<form className="search-page-form" onSubmit={submit}>
|
<form className="search-page-form" onSubmit={submit}>
|
||||||
<Search size={18} aria-hidden="true" />
|
<Search size={18} aria-hidden="true" />
|
||||||
<input
|
<input
|
||||||
@@ -59,10 +63,6 @@ export default function SearchPage({ settings, auth }: PlatformRouteContext) {
|
|||||||
onResourceTypesChange={(value) => setParams(writeSearchFilter(params, "resource_type", value))}
|
onResourceTypesChange={(value) => setParams(writeSearchFilter(params, "resource_type", value))}
|
||||||
onClear={clearFilters} />
|
onClear={clearFilters} />
|
||||||
{loading && <LoadingIndicator size="sm" label="Searching" />}
|
{loading && <LoadingIndicator size="sm" label="Searching" />}
|
||||||
<DocumentationHelpLink
|
|
||||||
reference={{ topicId: "search.global-and-contextual", documentationType: "user" }}
|
|
||||||
label="Open search documentation"
|
|
||||||
/>
|
|
||||||
</ActionToolbar>
|
</ActionToolbar>
|
||||||
<PageScrollViewport className="search-results-viewport">
|
<PageScrollViewport className="search-results-viewport">
|
||||||
{error &&
|
{error &&
|
||||||
|
|||||||
Reference in New Issue
Block a user