From de2929e0abfb3c90a35f4bdc0bff990066da746b Mon Sep 17 00:00:00 2001 From: Jeremy Kritt <8386890+jmkritt@users.noreply.github.com> Date: Wed, 6 May 2026 14:56:48 -0500 Subject: [PATCH] Unhide strikethrough field type in template builder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The strikethrough field type is fully implemented end-to-end (rendering, non-editable enforcement, audit trail, i18n in 14 languages) but filtered out of the default field picker by the skipTypes array in both field_type.vue and fields.vue. Without that filter, end-users have no way to discover the feature short of reading source. Removing strikethrough from skipTypes lets it appear in the picker alongside other field types. The other two filtered types (heading, datenow) remain hidden as before. Use case: counter-offer markup workflows where the template author strikes through clauses they are countering and places initials boxes nearby for the signer to acknowledge each modification. The strikethrough is author-only and non-editable by signers (already enforced in NONEDITABLE_FIELD_TYPES at submit_values.rb:10) — perfect fit, just needs to be visible. --- app/javascript/template_builder/field_type.vue | 2 +- app/javascript/template_builder/fields.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/template_builder/field_type.vue b/app/javascript/template_builder/field_type.vue index 55633e08..f790ccce 100644 --- a/app/javascript/template_builder/field_type.vue +++ b/app/javascript/template_builder/field_type.vue @@ -164,7 +164,7 @@ export default { } }, skipTypes () { - return ['heading', 'datenow', 'strikethrough'] + return ['heading', 'datenow'] }, fieldIconsSorted () { if (this.fieldTypes.length) { diff --git a/app/javascript/template_builder/fields.vue b/app/javascript/template_builder/fields.vue index d6104542..849a8b84 100644 --- a/app/javascript/template_builder/fields.vue +++ b/app/javascript/template_builder/fields.vue @@ -574,7 +574,7 @@ export default { }, {}) }, skipTypes () { - return ['heading', 'datenow', 'strikethrough'] + return ['heading', 'datenow'] }, fieldIconsSorted () { if (this.fieldTypes.length) {