@crimsonsunset/jsg-logger 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,7 +5,34 @@ All notable changes to the JSG Logger project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [1.7.3] - 2025-11-06 🎛️ **DevTools Logging Cleanup**
8
+ ## [1.7.5] - 2025-11-06 🎛️ **DevTools Panel UX Improvements**
9
+
10
+ ### Added
11
+ - **Close Button on DevTools Panel** - Added X button in panel header to unload DevTools
12
+ - Located next to drag handle for easy access
13
+ - Hover effect (gray → red) for clear visual feedback
14
+ - Calls `disableDevPanel()` to completely unload the panel
15
+ - Logs panel closure using `devtools-ui` component
16
+
17
+ ### Changed
18
+ - **DevTools Toggle Button Text** - Improved button labels to be action-oriented
19
+ - Unloaded state: "Click to load DevTools" (was "✕ DevTools Unloaded")
20
+ - Loaded state: "Click to unload DevTools" (was "✓ DevTools Loaded")
21
+ - Clearer indication of what action will occur on click
22
+
23
+ ### Fixed
24
+ - **Button State Synchronization** - Fixed DevTools toggle button getting out of sync
25
+ - Added `jsg-devtools-destroyed` custom event dispatched when panel is destroyed
26
+ - App component listens for event to update button state automatically
27
+ - Button state now stays in sync whether panel is closed via X button or toggle button
28
+ - Uses event-driven architecture matching existing `devtoolschange` pattern
29
+
30
+ ### Technical Details
31
+ - **Files Modified**: `devtools/src/components/FloatingButton.jsx`, `devtools/src/components/DevToolsPanel.jsx`, `devtools/src/panel-entry.jsx`, `devtools/src/App.jsx`
32
+ - **Event System**: Custom event `jsg-devtools-destroyed` dispatched on panel destruction (both animation and immediate paths)
33
+ - **Result**: Improved UX with clear close action and reliable state synchronization
34
+
35
+ ## [1.7.4] - 2025-11-06 🎛️ **DevTools Logging Cleanup**
9
36
 
10
37
  ### Fixed
11
38
  - **Meta-Logger Scope** - Clarified meta-logger is for bootstrap logs only
@@ -0,0 +1,5 @@
1
+ const __viteBrowserExternal = {};
2
+ export {
3
+ __viteBrowserExternal as default
4
+ };
5
+ //# sourceMappingURL=__vite-browser-external-2Ng8QIWW-2Ng8QIWW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"__vite-browser-external-2Ng8QIWW-2Ng8QIWW.js","sources":["__vite-browser-external-2Ng8QIWW.js"],"sourcesContent":["const __viteBrowserExternal = {};\nexport {\n __viteBrowserExternal as default\n};\n//# sourceMappingURL=__vite-browser-external-2Ng8QIWW.js.map\n"],"names":[],"mappings":"AAAK,MAAC,wBAAwB,CAAA;"}