fix: kein Platzhalter-Titel mehr für CustomUIElemente#29
Merged
Conversation
CustomUIElemente (generisch, SCANNER, ADDRESS, LOCATION, ADMIN_BOUNDARY) bekamen beim Anlegen einen Default-`title` (z. B. "Benutzerdefiniertes Element", "Scanner (Doorbit Studio)"). portal-applications rendert diese Widgets mit ihrer eigenen (i18n-)Überschrift und das Flow-Schema kennt für CustomUIElement kein `title` — der Platzhalter schlug daher als sinnlose Überschrift durch (Schema-Drift). Die Titel werden nicht mehr gesetzt; das aussagekräftige `short_title` (Navigation) bleibt erhalten. - createElement/createBillOfQuantitiesElement in UI-freies Modul src/utils/elementFactory.ts ausgelagert (isoliert testbar) - Titel-Pflicht in validateFlowStructure für CustomUIElement gelockert (konsistent zum portal-Schema) - Test src/utils/elementFactory.test.ts Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NUThyZwJzwBkEhiBGJZGp6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CustomUIElemente (generisch, SCANNER, ADDRESS, LOCATION, ADMIN_BOUNDARY)
bekamen beim Anlegen einen Default-
title(z. B. "BenutzerdefiniertesElement", "Scanner (Doorbit Studio)"). portal-applications rendert diese
Widgets mit ihrer eigenen (i18n-)Überschrift und das Flow-Schema kennt für
CustomUIElement kein
title— der Platzhalter schlug daher als sinnloseÜberschrift durch (Schema-Drift). Die Titel werden nicht mehr gesetzt;
das aussagekräftige
short_title(Navigation) bleibt erhalten.src/utils/elementFactory.ts ausgelagert (isoliert testbar)
(konsistent zum portal-Schema)
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01NUThyZwJzwBkEhiBGJZGp6