feat(web): Update shared FormModalBuilder with Zod validation and new field types#37
feat(web): Update shared FormModalBuilder with Zod validation and new field types#37PenguinzTech wants to merge 10 commits intomainfrom
Conversation
- Entity modal: Change entity_sub_type to sub_type to match backend - Organizations: Add tenant_id field to Pydantic models, merge redundant organization files (organizations.py + organizations_pydal.py), add tenant cascade logic on update - Identity modal: Extend IdentityType to include all frontend options, add tenant_id, is_portal_user, portal_role, permission_scope fields - Issues modal: Add entity_ids and label_ids to CreateIssueRequest, support entity-based issue creation with automatic tenant derivation These fixes address 400 errors caused by extra="forbid" rejecting fields the frontend was sending but backend models didn't accept. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Date inputs were not visible on dark backgrounds. Added CSS to: - Set color-scheme: dark for date inputs - Invert calendar picker indicator for visibility - Support both WebKit and Firefox browsers Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Modals with scrollable content were causing input fields to be unclickable when scrolled. Fixed by restructuring modal layout: - Card: Use flex flex-col instead of overflow-y-auto - CardHeader: Add flex-shrink-0 to keep header fixed - CardContent: Add flex-1 overflow-y-auto for scrollable content Files fixed: - ModalFormBuilder.tsx (main form modal component) - GroupMembershipManager.tsx (2 modals) - Certificates.tsx, IAM.tsx, Keys.tsx (3 modals) - OrganizationDetail.tsx, Secrets.tsx (2 modals), Webhooks.tsx Also added reusable Modal.tsx component for future use. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Integrate shared react_libs FormModalBuilder component - Fixed footer with buttons outside scroll area resolves click issues - Auto-tab generation for forms with 8+ fields - Navy/gold dark theme styling - Add clickable dashboard stat tiles for navigation - Various modal scroll/focus improvements Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
… field types Update the shared library copy with latest upstream features: - Zod-based automatic type validation - password_generate field type with generate button - file and file_multiple with drag & drop support - multiline field type (returns string[] array) - helpText support for all fields - Add zod dependency Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Test SummaryJob Results
Note: Integration tests temporarily disabled during PyDAL migration Commit: 786c977 |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Trivy ecosystem supply chain attack (GHSA-69fq-xp46-6x23, March 19-20 2026): - aquasecurity/trivy-action @master and v0.0.1-v0.34.0 force-pushed with malware - Pinning to clean aquasecurity/trivy-action@v0.35.0 (uses trivy v0.69.3) - Pinning direct trivy binary to 0.69.3 (safe version) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
password_generate,file,file_multiple,multilinehelpTextsupport for all fieldsTest plan
🤖 Generated with Claude Code