Skip to content

Commit 59f085a

Browse files
feat: add hover tooltips showing error kind descriptions in email
- Added fxErrorKinds lookup table with all 28 Power Fx error kinds - Kind badges in error emails now show description on hover via title attribute - Used Substitute() to escape apostrophes for HTML attribute safety 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bb85634 commit 59f085a

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

RESUME.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,21 @@
66

77
## Current State
88

9-
Fixed Mermaid diagram rendering issue in error handler docs. All remotes in sync.
9+
Added error kind tooltips to error handler email. All remotes in sync.
1010

1111
**Branch:** `main`
1212

13-
## What Was Accomplished This Session (2025-12-18 - Late)
13+
## What Was Accomplished This Session (2025-12-18 - Latest)
14+
15+
### Error Kind Tooltip Feature
16+
- **File:** `errors/catch-all-errors.md`
17+
- **Feature:** Hover tooltips on Kind badges in error emails show description
18+
- **Implementation:** Added `fxErrorKinds` lookup table with all 28 error kinds
19+
- **Fix:** Used `Substitute()` to escape apostrophes in descriptions for HTML attribute safety
20+
21+
---
22+
23+
## Previous Session (2025-12-18 - Late)
1424

1525
### Mermaid Diagram Fix
1626
- **File:** `errors/catch-all-errors.md`

errors/catch-all-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ With(
518518
</span>
519519
</td>
520520
<td style='padding:16px;vertical-align:top;'>
521-
<span style='display:inline-block;background-color:#fef3c7;color:#92400e;font-size:13px;font-weight:500;padding:4px 10px;border-radius:6px;' title='{LookUp(fxErrorKinds, KindName = ThisRecord.Kind, Description)}'>
521+
<span style='display:inline-block;background-color:#fef3c7;color:#92400e;font-size:13px;font-weight:500;padding:4px 10px;border-radius:6px;' title='{Substitute(LookUp(fxErrorKinds, KindName = ThisRecord.Kind, Description), "'", "&#39;")}'>
522522
{ThisRecord.Kind}
523523
</span>
524524
</td>

0 commit comments

Comments
 (0)