Add button and custom modal flow implemented

This commit is contained in:
adilallo
2026-05-07 21:15:27 -06:00
parent dee2dd800e
commit 26bcd61ea3
43 changed files with 1444 additions and 81 deletions
@@ -1,5 +1,10 @@
{
"title": "Add a photo to identify your group",
"description": "This photo be used as a profile picture for your group and will be editable later. If possible, try to use a simple logo or graphic.",
"hintText": "Add image from your device"
"hintText": "Add image from your device",
"signInToUploadNote": "Your photo will upload after you sign in (use Save progress from the next step, or Log in from the header).",
"uploadingLabel": "Uploading your photo…",
"previewAlt": "Selected community photo preview",
"clearPendingUploadAriaLabel": "Remove uploaded photo",
"clearPendingUploadTooltip": "Remove photo"
}
@@ -19,8 +19,12 @@
"description": "Configure a custom data structure for this policy by adding fields for text, proportions, multi-select options, or file uploads. This creates a reusable template with placeholders that allows your group to standardize how policy definitions are edited in the future."
}
},
"step3BlocksList": {
"listLabel": "Fields added to this policy",
"dragHandleAriaLabel": "Drag to reorder this field"
},
"footer": {
"finalize": "Finalize policy"
"finalize": "Finalize"
},
"editModal": {
"placeholderBody": "This policy uses the title and description you set when you created it. Extra section fields from preset templates are hidden here so you are not shown empty boxes that do not match what you configured.",
@@ -64,7 +68,10 @@
"blockTitleLabel": "Upload Block Title",
"blockTitlePlaceholder": "Add your upload block title",
"uploadFileInputAriaLabel": "Choose file for this upload block",
"uploadHint": "Add images, PDFs, and other files to the policy"
"uploadHint": "Add images, PDFs, and other files to the policy",
"uploadPreviewImageAlt": "Preview of uploaded file",
"clearPendingUploadAriaLabel": "Remove uploaded file",
"clearPendingUploadTooltip": "Remove file"
},
"proportion": {
"title": "Add proportion block",
+7 -2
View File
@@ -1,4 +1,9 @@
{
"title": "How should conflicts be resolved?",
"description": "Upload supporting materials or examples that help describe how your community handles conflict."
"errors": {
"generic": "Something went wrong while uploading. Try again.",
"tooLarge": "That file is too large. Try a smaller image or PDF.",
"unauthorized": "Sign in to upload files. Use Save progress if you started without an account.",
"misconfigured": "Uploads are not available on this server yet."
},
"uploading": "Uploading…"
}
+2
View File
@@ -53,6 +53,7 @@ import createFooter from "./create/footer.json";
import createTopNav from "./create/topNav.json";
import createDraftHydration from "./create/draftHydration.json";
import createTemplateReview from "./create/templateReview.json";
import createUpload from "./create/upload.json";
export default {
common,
@@ -107,6 +108,7 @@ export default {
topNav: createTopNav,
draftHydration: createDraftHydration,
templateReview: createTemplateReview,
upload: createUpload,
},
navigation,
metadata,