From f858dab0a45899b59031478522d592f37406f103 Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Thu, 11 Jun 2026 08:23:36 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=9D=B4=EB=A9=94=EC=9D=BC=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=EB=B7=B0=EC=97=90=EC=84=9C=20=EC=8B=A4=EC=A0=9C=20LLM?= =?UTF-8?q?=20Confidence=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EC=97=B0?= =?UTF-8?q?=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .jules/bolt.md | 4 ++++ frontend/src/components/EmailDetail.tsx | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.jules/bolt.md b/.jules/bolt.md index 33a2536a4..6f6d29b19 100644 --- a/.jules/bolt.md +++ b/.jules/bolt.md @@ -43,3 +43,7 @@ ## 2026-06-10 - Optimize redundant dictionary lookups in tight loops **Learning:** Using `dict.setdefault` and multiple `dict.get` or `key in dict` checks inside tight loops significantly impacts performance due to repeated dictionary lookups and unnecessary list allocations. Caching dictionary lookups (e.g., using a single `dict.get(key)`) and conditionally handling the logic based on the result is much more performant. **Action:** When aggregating or grouping items in a loop, avoid `setdefault`. Instead, check if the key exists using a single `.get()`, and perform initialization/updates conditionally. Additionally, hoist loop-invariant checks (e.g., `folder == "sent"`) outside the loop to avoid redundant evaluations. + +## 2025-02-12 - Handle UI Rendering with Optional Number Values +**Learning:** When displaying numerical data in React where `0` is a valid number, using truthiness checks like `{value && (