feat(10-03): open, edit and save a record with toast and 422 feedback
- The SPA loads the backend::lang bundle before /auth/me, sets the document language from meta.locale and renders plural messages with Intl.PluralRules; interpolate mirrors phrasebook for :name/:Name/:NAME - Create and record routes; mapWinterUrl maps recordUrl and redirects onto the controller's list, create and record routes only - List rows open their record; FormView loads the form schema and the record, shows context-allowed fields in the span grid, saves values keyed by field name and toasts the resolved saved message - A 422 puts each message under its field (aria-invalid, aria-describedby), shows the plural banner, focuses the first invalid field in schema order and clears a field's error on change - The D-05 registry maps text, textarea, number and dropdown; any other type renders the unsupported-field box with the type in DM Mono - The admin OpenAPI document declares the write request bodies (AdminRecord, AdminIDsRequest) and the list filter query as a deepObject, so the typed client can send them - New backend::lang form.load_failed key; boardwalk/dist rebuilt
This commit is contained in:
1
boardwalk/dist/assets/index-BB795npz.js
vendored
Normal file
1
boardwalk/dist/assets/index-BB795npz.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
boardwalk/dist/assets/index-BD2QIjGC.js
vendored
1
boardwalk/dist/assets/index-BD2QIjGC.js
vendored
File diff suppressed because one or more lines are too long
1
boardwalk/dist/assets/index-UTAit0wB.css
vendored
1
boardwalk/dist/assets/index-UTAit0wB.css
vendored
File diff suppressed because one or more lines are too long
1
boardwalk/dist/assets/index-VVVgyQoR.css
vendored
Normal file
1
boardwalk/dist/assets/index-VVVgyQoR.css
vendored
Normal file
File diff suppressed because one or more lines are too long
4
boardwalk/dist/index.html
vendored
4
boardwalk/dist/index.html
vendored
@@ -6,8 +6,8 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="summer-admin-base" content="__SUMMER_ADMIN_BASE__" />
|
||||
<title>SummerCMS</title>
|
||||
<script type="module" crossorigin src="./assets/index-BD2QIjGC.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-UTAit0wB.css">
|
||||
<script type="module" crossorigin src="./assets/index-BB795npz.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-VVVgyQoR.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user