You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cl...@apache.org on 2026/02/06 04:06:47 UTC

(whimsy) branch clr-apache-invalids created (now 3c8d7aaf)

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

clr pushed a change to branch clr-apache-invalids
in repository https://gitbox.apache.org/repos/asf/whimsy.git


      at 3c8d7aaf Update parts.js.rb

This branch includes the following new commits:

     new 3c8d7aaf Update parts.js.rb

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(whimsy) 01/01: Update parts.js.rb

Posted by cl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3c8d7aaf3dad4b5d2b3c52a89bdf2d7a9cde44da
Author: Craig L Russell <ap...@gmail.com>
AuthorDate: Thu Feb 5 20:06:40 2026 -0800

    Update parts.js.rb
    
    Add invalid form and invalid language
---
 www/secretary/workbench/views/parts.js.rb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/www/secretary/workbench/views/parts.js.rb b/www/secretary/workbench/views/parts.js.rb
index 17920aca..3ca35a22 100644
--- a/www/secretary/workbench/views/parts.js.rb
+++ b/www/secretary/workbench/views/parts.js.rb
@@ -17,6 +17,8 @@ class Parts < Vue
     @wrong_email = false
     @corporate_postal = false
     @invalid_public = false
+    @invalid_language = false
+    @invalid_form = false
     @separate_signature = false
     @unauthorized_signature = false
     @empty_form = false
@@ -208,6 +210,8 @@ class Parts < Vue
             _input type: 'hidden', name: 'wrong_email', value: @wrong_email
             _input type: 'hidden', name: 'corporate_postal', value: @corporate_postal
             _input type: 'hidden', name: 'invalid_public', value: @invalid_public
+            _input type: 'hidden', name: 'invalid_language', value: @invalid_language
+            _input type: 'hidden', name: 'invalid_form', value: @invalid_form
             _input type: 'hidden', name: 'separate_signature', value: @separate_signature
             _input type: 'hidden', name: 'unauthorized_signature', value: @unauthorized_signature
             _input type: 'hidden', name: 'empty_form', value: @empty_form
@@ -301,6 +305,20 @@ class Parts < Vue
                   _span ' invalid public name'
                 end
               end
+              _li do
+                _label do
+                  _input type: 'checkbox', checked: @invalid_language,
+                  onClick: -> {@invalid_public = !@invalid_language}
+                  _span ' invalid language'
+                end
+              end
+              _li do
+                _label do
+                  _input type: 'checkbox', checked: @invalid_form,
+                  onClick: -> {@invalid_public = !@invalid_form}
+                  _span ' invalid form filler'
+                end
+              end
               _li do
                 _label do
                   _input type: 'checkbox', checked: @separate_signature,