This is an automated email from the ASF dual-hosted git repository.

clr pushed a commit to branch clarify-intent
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/clarify-intent by this push:
     new 15c1f5c8 Update parts.js.rb: add clarify-intent checkbox
15c1f5c8 is described below

commit 15c1f5c840e67422e61974b5e1abcf98b9d02e4c
Author: Craig L Russell <[email protected]>
AuthorDate: Sat Jun 21 15:58:44 2025 -0700

    Update parts.js.rb: add clarify-intent checkbox
---
 www/secretary/workbench/views/parts.js.rb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/www/secretary/workbench/views/parts.js.rb 
b/www/secretary/workbench/views/parts.js.rb
index 9c731bb3..068878e1 100644
--- a/www/secretary/workbench/views/parts.js.rb
+++ b/www/secretary/workbench/views/parts.js.rb
@@ -27,6 +27,7 @@ class Parts < Vue
     @unsigned = false
     @script_font = false
     @upload_sig = false
+    @clarify_intent = false
     @invalid_availid = false
   end
 
@@ -222,6 +223,7 @@ class Parts < Vue
             _input type: 'hidden', name: 'unsigned', value: @unsigned
             _input type: 'hidden', name: 'script_font', value: @script_font
             _input type: 'hidden', name: 'upload_sig', value: @upload_sig
+            _input type: 'hidden', name: 'clarify_intent', value: 
@clarify_intent
             _input type: 'hidden', name: 'invalid_availid', value: 
@invalid_availid
             # the above entries must agree with the checked: entries below
             # also any new entries must be added to the backend script 
incomplete.json.rb
@@ -361,6 +363,13 @@ class Parts < Vue
                   _span ' upload signature'
                 end
               end
+              _li do
+                _label do
+                  _input type: 'checkbox', checked: @clarify_intent,
+                  onClick: -> {@clarify_intent = !@uclarify_intent}
+                  _span ' clarify intent'
+                end
+              end
               _li do
                 _label do
                   _input type: 'checkbox', checked: @invalid_availid,

Reply via email to