From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,URIBL_BLOCKED, URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1695817691; bh=Hn2NM2LOSTNJOTwpC2grRDlJ+u+3CNcnO6ucE1kv37c=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=p7NeI9+bSzfoJ1J8dcwEf7k/tfW5n2SIaHPiVxuDJopevzESM0mPQMb11TGY5m19G HCfScpccFCXJlONp8v0Koty85n0lBXAQtlqmD4T/RYO3k1S5FCeOqQsj36p6tI/Nf2 30phrjByH9cL1ZVOkHhFY4AvNU9Bc+ew3pxhVP6ZGuu5FyvSkk2Y8PWjy7MHf3c2nB VHH2nm8+VcvZ9I2IQgYDCdlP8VGiHDsZWgfQqnT3XReTjp3l04JcuedylJuhTblirY 75DTT6TcGYbAy7QdV2u378bnCk1SBuaYa+xbwD7PbJcJ1jfu6c+gG5HTqfJH33MULe chhHsH+JrthyQ== Received: from [192.168.1.5] (unknown [175.158.50.50]) by gnuweeb.org (Postfix) with ESMTPSA id 6D24F24B75A; Wed, 27 Sep 2023 19:28:10 +0700 (WIB) Message-ID: <947d0f7e-b52b-9580-12c3-e3baa6017ef3@gnuweeb.org> Date: Wed, 27 Sep 2023 19:28:05 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v1 0/1] Fix getFixedRandomColor() function To: Ammar Faizi Cc: Alviro Iskandar Setiawan , Irvan Malik Azantha , Memet Zx , GNU/Weeb Mailing List References: <20230927110947.1365-1-kiizuha@gnuweeb.org> <5666c847-dc5d-b8bd-164e-ccb674d03fdd@gnuweeb.org> Content-Language: en-US From: Muhammad Rizki In-Reply-To: <5666c847-dc5d-b8bd-164e-ccb674d03fdd@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: On 27/09/2023 18.31, Ammar Faizi wrote: > On 9/27/23 6:09 PM, Muhammad Rizki wrote: >> This series contains fixes: >> - Fix getFixedRandomColor() to fix logic Tailwind class name selection. >> >> Please give it a test, thanks! > > I did: > > - git apply your patch > - npm run build > - Clear browser cache > - Look at https://www.gnuweeb.org/ > > It still shows white font color. Looking at the console, it throws these > errors: Ahh, I forgot to add .split(" "), will patch it in the next series. > > lockdown-run.js:17 Lockdown failed: TypeError: At > intrinsics.Object.groupBy expected boolean not function >   at isAllowedPropertyValue (lockdown-install.js:1:53384) >   at isAllowedProperty (lockdown-install.js:1:53807) >   at visitProperties (lockdown-install.js:1:55095) >   at isAllowedPropertyValue (lockdown-install.js:1:53041) >   at isAllowedProperty (lockdown-install.js:1:53807) >   at visitProperties (lockdown-install.js:1:55095) >   at lockdown-install.js:1:55523 >   at repairIntrinsics (lockdown-install.js:1:144597) >   at lockdown-install.js:1:145462 >   at lockdown-run.js:4:3 > (anonymous) @ lockdown-run.js:17 > > lockdown-more.js:99 Protecting intrinsics failed: ReferenceError: harden > is not defined >   at lockdown-more.js:69:13 >   at Set.forEach () >   at protectIntrinsics (lockdown-more.js:44:22) >   at lockdown-more.js:97:5 > (anonymous) @ lockdown-more.js:99 > I think this is irrelevant for current bug? I don't encounter these errors.