Skip to content

feat(material/forms): restyle the form renderer - #456

Open
tulas75 wants to merge 2 commits into
gnucoop:masterfrom
tulas75:feature/formdata-restyle
Open

tulas75 wants to merge 2 commits into
gnucoop:masterfrom
tulas75:feature/formdata-restyle

Conversation

@tulas75

@tulas75 tulas75 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Move the field layout into a single row component and give the renderer a token-based style layer instead of a Material theme.

  • add AjfFieldRow, AjfSlideHeader and AjfRepStrip so the label/control/hint layout and the slide chrome each live in one place
  • add AjfFieldTypeLabelPipe plus the type-name translations in all eight dictionaries
  • add impure memoized slide/form stats pipes (ajfSlideCompletion, ajfFormIssues) and the ajfCurrentSlide pipe
  • replace mat-form-field wrappers with bare .ajf-control primitives and --ajf-* CSS custom properties, with light/dark palettes and an optional M2/M3 theming mixin shipped as an asset
  • update the dev-app, e2e-app and Cypress specs for the new markup

Move the field layout into a single row component and give the renderer a
token-based style layer instead of a Material theme.

- add AjfFieldRow, AjfSlideHeader and AjfRepStrip so the label/control/hint
  layout and the slide chrome each live in one place
- add AjfFieldTypeLabelPipe plus the type-name translations in all eight
  dictionaries
- add impure memoized slide/form stats pipes (ajfSlideCompletion,
  ajfFormIssues) and the ajfCurrentSlide pipe
- replace mat-form-field wrappers with bare .ajf-control primitives and
  --ajf-* CSS custom properties, with light/dark palettes and an optional
  M2/M3 theming mixin shipped as an asset
- update the dev-app, e2e-app and Cypress specs for the new markup

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@tulas75
tulas75 requested review from robzan8 and sara-gnucoop and removed request for robzan8 August 24, 2026 09:27
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.

2 participants