Skip to content

Migrate produce record to UI registry#2507

Draft
jvorcak wants to merge 15 commits into
masterfrom
migrate-produce-record-to-ui-registry
Draft

Migrate produce record to UI registry#2507
jvorcak wants to merge 15 commits into
masterfrom
migrate-produce-record-to-ui-registry

Conversation

@jvorcak

@jvorcak jvorcak commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Needs to merge #2486 first

jvorcak added 15 commits June 5, 2026 19:27
…wlink setup

startBackendServerWithConfig swallowed the real crash reason: when the
backend container exits during the testcontainers wait strategy, .start()
throws before containerId is assigned, so the diagnostic docker-logs block
was guarded out and only a bare 409 surfaced.

Recover the container ID from the error message (mirrors startBackendServer)
and dump exit code, state, and logs on failure.
…removal

The previous recovery found the crashed container ID but `docker logs` failed
because testcontainers removes a container once its wait strategy fails. Attach
a withLogConsumer that buffers output while the container is alive, and dump
that buffer on failure so the actual backend crash reason is visible.
Remove @redpanda-data/ui from the expanded-message chain:
expanded-message, message-meta-data, payload-component, and
troubleshoot-report-viewer now use registry components and Tailwind.
Replace useToast with sonner and useColorModeValue with theme tokens.
Behind the existing new-topic-page flag, render topic configs grouped by
category with a sidebar that filters to a category, an All/Modified scope
toggle (URL-backed) with a clear-able search, click-to-reveal descriptions,
and reset moved into the edit dialog. Show a modified-count badge on the
Configuration tab title and per category. Default enum/boolean editors to
their first option when a config has no value.
…dings)

The new-topic-page Configuration tab replaced the flat '.configGroupTitle'
list with a category sidebar and titled sections. Update the navigation spec
and topic-page helpers to match (navigation landmark + category buttons +
section headings).
The single-page guard (getPageCount() > 1) hid the 'Page X of Y'
indicator and nav controls for single-page tables, breaking the
AIAgentsListPage visual-regression test which asserts 'Page 1 of 1'.
DataTablePagination is a shared registry primitive; restore the
original always-visible footer to keep behavior consistent app-wide.
Replace legacy @redpanda-data/ui components with Registry equivalents
(Field, Select, Input, Button, Alert, typography) and react-hook-form +
Zod validation. Use standardized KeyValueField for Kafka headers. Convert
the PageComponent class to a functional component using setPageHeader and
useApiStoreHook for store reactivity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant