UX Phase 4: Prominente, einheitliche Feld-ID in den Editoren#18
Merged
Conversation
Befund: Die Feld-ID war uneinheitlich editierbar — bei Number/Date/Boolean/
SingleSelection gar nicht, bei String als String statt {field_name}.
- Neue gemeinsame common/FieldIdField: prominent (eigener Block + Key-Icon),
Pflicht-Marker, Hilfetext, Leer-Warnung.
- Zentral im EnhancedElementEditorFactory oberhalb des Typ-Editors für alle
wertführenden Typen (Boolean/String/Number/Date/SingleSelection) gerendert
und einheitlich als {field_name} geschrieben (robustes Lesen auch von
Alt-String-Form).
- Redundantes Feld-ID-Feld + ungenutzten SettingsIcon-Import in
StringElementEditor entfernt.
https://claude.ai/code/session_01D2Pc4cAexeqUFrM1YonaJL
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.
Macht die Feld-ID in den Element-Editoren prominent und einheitlich — bisher war sie versteckt, uneinheitlich oder gar nicht editierbar, obwohl genau dort der erfasste Wert landet.
Sauber von
main(kein Stacking).Kernlogik
{ field_name }(Schema-Drift gegen portal).common/FieldIdField: eigener hervorgehobener Block mit Schlüssel-Icon, Pflicht-Marker (*), Hilfetext und Leer-Warnung (Fehlerzustand: „ohne Feld-ID wird der Wert nicht gespeichert").EnhancedElementEditorFactory, oberhalb des typ-spezifischen Editors, für alle wertführenden Typen — eine Stelle statt fünf bespoke Felder (geringes Regressionsrisiko). Schreibt einheitlich{ field_name }und liest robust auch die alte String-Form.StringElementEditorentfernt.Topic
Feature / Fix
Labels
PWA (Website-UI)
Testen
field_id.field_name.Offen (Phase 4, Folge-PRs)
useElementUpdate-Hook (Handler-Boilerplate über die Editoren deduplizieren).Verifikation
tsc --noEmitok,npm testgrün (117),npm run build(CI) erfolgreich.https://claude.ai/code/session_01D2Pc4cAexeqUFrM1YonaJL
Generated by Claude Code