This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Commit 5e91bba
committed
FEAT-133: Fix PR review feedback on diagnostics logging
- Reset lastMessage on clear() so first post-clear log is not dropped
- Pass copy (not mutable ref) from clear() onChange callback
- Remove unused LOG_LEVEL_COLORS constant
- Escape e.tag in log row innerHTML to prevent XSS
- Only auto-scroll to bottom if user was already at bottom1 parent 4d73745 commit 5e91bba
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2822 | 2822 | | |
2823 | 2823 | | |
2824 | 2824 | | |
2825 | | - | |
2826 | 2825 | | |
2827 | 2826 | | |
2828 | 2827 | | |
| |||
2839 | 2838 | | |
2840 | 2839 | | |
2841 | 2840 | | |
| 2841 | + | |
2842 | 2842 | | |
2843 | 2843 | | |
2844 | 2844 | | |
| |||
2849 | 2849 | | |
2850 | 2850 | | |
2851 | 2851 | | |
2852 | | - | |
| 2852 | + | |
2853 | 2853 | | |
2854 | 2854 | | |
2855 | | - | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
2856 | 2858 | | |
2857 | 2859 | | |
2858 | 2860 | | |
| |||
0 commit comments