Skip to content

Commit d8efe19

Browse files
fix work flow changes
1 parent 3c0016c commit d8efe19

File tree

3 files changed

+219
-25
lines changed

3 files changed

+219
-25
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -209,31 +209,23 @@ jobs:
209209
fi
210210
211211
# Build Telegram message
212-
cat > telegram_message.txt << MSGEOF
213-
📢 JsonViewer.Blazor - New Release Published!
214-
215-
${RELEASE_TYPE}
216-
217-
📦 Version: ${TAG_NAME}
218-
📝 Name: ${NAME}
219-
📅 Published: ${FORMATTED_DATE}
220-
221-
━━━━━━━━━━━━━━━━━━━━
222-
223-
📋 Release Notes:
224-
${BODY_HTML}
225-
226-
━━━━━━━━━━━━━━━━━━━━
227-
228-
🔗 Links:
229-
• <a href="${URL}">View on GitHub</a>
230-
• <a href="https://www.nuget.org/packages/JsonViewer.Blazor/${VERSION}">View on NuGet</a>
231-
232-
⚡ Install via:
233-
<code>dotnet add package JsonViewer.Blazor --version ${VERSION}</code>
234-
235-
#JsonViewer #Blazor #DotNet #OpenSource
236-
MSGEOF
212+
{
213+
printf '📢 JsonViewer.Blazor - New Release Published!\n\n'
214+
printf '%s\n\n' "$RELEASE_TYPE"
215+
printf '📦 Version: %s\n' "$TAG_NAME"
216+
printf '📝 Name: %s\n' "$NAME"
217+
printf '📅 Published: %s\n\n' "$FORMATTED_DATE"
218+
printf '━━━━━━━━━━━━━━━━━━━━\n\n'
219+
printf '📋 Release Notes:\n'
220+
printf '%s\n\n' "$BODY_HTML"
221+
printf '━━━━━━━━━━━━━━━━━━━━\n\n'
222+
printf '🔗 Links:\n'
223+
printf '• <a href="%s">View on GitHub</a>\n' "$URL"
224+
printf '• <a href="https://www.nuget.org/packages/JsonViewer.Blazor/%s">View on NuGet</a>\n\n' "$VERSION"
225+
printf '⚡ Install via:\n'
226+
printf '<code>dotnet add package JsonViewer.Blazor --version %s</code>\n\n' "$VERSION"
227+
printf '#JsonViewer #Blazor #DotNet #OpenSource'
228+
} > telegram_message.txt
237229
238230
MESSAGE=$(cat telegram_message.txt)
239231
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# 🚀 JsonViewer.Blazor v0.0.5-beta
2+
3+
این نسخه بتا بهبودهای قابل توجهی در UI/UX و سازگاری با حالت تمام‌صفحه (Fullscreen) به همراه دارد.
4+
5+
---
6+
7+
## ✨ ویژگی‌های جدید
8+
9+
### 🎨 بهبود JSON Path Display Modal
10+
- **طراحی مجدد کامل**: تبدیل JSON Path Display از پاپ‌آپ ساده به یک مودال حرفه‌ای و مرکزی
11+
- **UI مدرن**: طراحی کارتی با آیکون‌های اختصاصی برای هر نوع اطلاعات
12+
- **UX بهتر**: نمایش سازمان‌یافته اطلاعات شامل:
13+
- JSON Path (قابل کپی)
14+
- نام Property
15+
- نوع Property (با نشان‌های رنگی)
16+
- مقدار Property (با کوتاه‌سازی برای مقادیر طولانی)
17+
- **پشتیبانی از کیبورد**: بستن مودال با کلید `ESC`
18+
- **کلیک خارج از مودال**: امکان بستن با کلیک روی overlay
19+
20+
### 🔧 بهبود حالت تمام‌صفحه (Fullscreen)
21+
- **سازگاری مودال‌ها**: رفع مشکل نمایش مودال‌ها در حالت تمام‌صفحه
22+
- **مدیریت هوشمند DOM**: جابه‌جایی خودکار مودال‌ها با استفاده از MutationObserver
23+
- **بهینه‌سازی Z-Index**: لایه‌بندی صحیح برای نمایش مودال‌ها بالای کانتینر تمام‌صفحه
24+
25+
---
26+
27+
## 🐛 رفع مشکلات
28+
29+
- ✅ رفع مشکل عدم نمایش JSON Path Display در حالت تمام‌صفحه
30+
- ✅ رفع مشکل عدم نمایش JSON Statistics در حالت تمام‌صفحه
31+
- ✅ رفع تداخل Z-index مودال‌ها با کانتینر تمام‌صفحه
32+
- ✅ رفع مشکل موقعیت‌یابی مودال‌ها در حالت تمام‌صفحه
33+
- ✅ رفع خطای کامپایل CSS با `@media` queries
34+
35+
---
36+
37+
## 🎨 بهبودهای UI/UX
38+
39+
- انیمیشن‌های fade-in و slide-up برای مودال‌ها
40+
- بهبود رنگ‌بندی و کنتراست
41+
- طراحی واکنش‌گرا (Responsive) برای موبایل
42+
- بهبود افکت‌های hover و transition
43+
- یکپارچگی آیکون‌ها برای سلسله‌مراتب بصری بهتر
44+
45+
---
46+
47+
## 📦 نصب
48+
49+
```bash
50+
dotnet add package JsonViewer.Blazor --version 0.0.5-beta
51+
```
52+
53+
---
54+
55+
## 📝 یادداشت‌ها
56+
57+
- این یک نسخه **بتا** است - لطفاً قبل از استفاده در پروژه‌های production به دقت تست کنید
58+
- عملکرد مودال‌ها در حالت تمام‌صفحه به طور قابل توجهی بهبود یافته است
59+
- تمام مودال‌ها اکنون از الگوی طراحی یکسانی پیروی می‌کنند
60+
61+
---
62+
63+
**Full Changelog**: https://github.com/JsonViewer-Component/Blazor/compare/v0.0.4-beta...v0.0.5-beta
64+

RELEASE_NOTES_v0.0.5-beta.md

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# 🚀 JsonViewer.Blazor v0.0.5-beta
2+
3+
## 📋 Overview
4+
5+
This beta release brings significant UI/UX improvements with enhanced modal functionality and fullscreen compatibility fixes. The JSON Path Display feature has been completely redesigned as a professional modal component, and all modals now work seamlessly in fullscreen mode.
6+
7+
---
8+
9+
## ✨ What's New
10+
11+
### 🎨 Enhanced JSON Path Display Modal
12+
- **Complete Redesign**: Converted JSON Path Display from a simple popup to a professional, centered modal dialog
13+
- **Modern UI**: Beautiful card-based layout with icon indicators for each information type
14+
- **Better UX**: Improved readability with organized information cards showing:
15+
- JSON Path (with copyable format)
16+
- Property Name
17+
- Property Type (with color-coded badges)
18+
- Property Value (with truncation for long values)
19+
- **Keyboard Support**: Close modal with `ESC` key
20+
- **Click Outside**: Close modal by clicking on the overlay
21+
22+
### 🔧 Fullscreen Mode Enhancements
23+
- **Modal Compatibility**: Fixed display issues with all modals in fullscreen mode
24+
- **Smart DOM Management**: Automatic modal repositioning using MutationObserver for seamless fullscreen experience
25+
- **Z-Index Optimization**: Proper layering ensures modals appear above fullscreen container
26+
27+
---
28+
29+
## 🎯 Key Features
30+
31+
### Modal System Improvements
32+
-**JsonPathDisplay Modal**: Professional modal design matching JsonStatistics modal style
33+
-**JsonStatistics Modal**: Fixed fullscreen compatibility issues
34+
-**Consistent Behavior**: All modals now behave uniformly across normal and fullscreen modes
35+
-**Dark Theme Support**: Full dark theme compatibility for all modals
36+
37+
### Technical Improvements
38+
- **MutationObserver Integration**: Intelligent DOM manipulation for modal positioning
39+
- **Event Handling**: Improved click event delegation for property name interactions
40+
- **State Management**: Proper modal state restoration when exiting fullscreen mode
41+
42+
---
43+
44+
## 🐛 Bug Fixes
45+
46+
- **Fixed**: JSON Path Display modal not appearing in fullscreen mode
47+
- **Fixed**: JSON Statistics modal not appearing in fullscreen mode
48+
- **Fixed**: Modal z-index conflicts with fullscreen container
49+
- **Fixed**: Modal positioning issues in fullscreen mode
50+
- **Fixed**: CSS compilation errors with `@media` queries in Razor components
51+
52+
---
53+
54+
## 🎨 UI/UX Improvements
55+
56+
### Visual Enhancements
57+
- Beautiful fade-in and slide-up animations for modals
58+
- Improved color scheme with better contrast
59+
- Responsive design for mobile devices
60+
- Enhanced hover effects and transitions
61+
- Professional icon integration for better visual hierarchy
62+
63+
### Accessibility
64+
- Keyboard navigation support (ESC to close)
65+
- Better focus management
66+
- Improved screen reader compatibility
67+
68+
---
69+
70+
## 🔧 Technical Details
71+
72+
### Components Modified
73+
- `JsonPathDisplay.razor`: Complete redesign from popup to modal
74+
- `JsonStatistics.razor`: Fullscreen compatibility improvements
75+
- `JsonViewer.razor`: Enhanced modal management logic
76+
- `FullScreenToggle.razor`: Modal repositioning on fullscreen enter/exit
77+
78+
### CSS Improvements
79+
- Updated z-index values for proper modal layering (10000 for modals, 9999 for fullscreen container)
80+
- Added responsive media queries with proper escaping (`@@media`)
81+
- Improved modal overlay styles with backdrop blur
82+
- Enhanced dark theme support
83+
84+
### JavaScript Enhancements
85+
- MutationObserver for automatic modal DOM management
86+
- Improved fullscreen state handling
87+
- Better event delegation for property clicks
88+
89+
---
90+
91+
## 📦 Installation
92+
93+
```bash
94+
dotnet add package JsonViewer.Blazor --version 0.0.5-beta
95+
```
96+
97+
Or via Package Manager:
98+
```xml
99+
<PackageReference Include="JsonViewer.Blazor" Version="0.0.5-beta" />
100+
```
101+
102+
---
103+
104+
## 🔄 Migration Notes
105+
106+
### Breaking Changes
107+
**None** - This release is fully backward compatible.
108+
109+
### Deprecated Features
110+
**None** - No features are deprecated in this release.
111+
112+
---
113+
114+
## 📝 Notes
115+
116+
- This is a **beta release** - Please test thoroughly before using in production
117+
- Fullscreen modal functionality has been significantly improved
118+
- All modals now follow the same design pattern for consistency
119+
120+
---
121+
122+
## 🙏 Acknowledgments
123+
124+
Thanks to all contributors and users who reported issues and provided feedback!
125+
126+
---
127+
128+
## 🔗 Links
129+
130+
- 📚 [Documentation](https://github.com/JsonViewer-Component/Blazor)
131+
- 📦 [NuGet Package](https://www.nuget.org/packages/JsonViewer.Blazor/0.0.5-beta)
132+
- 🐛 [Report Issues](https://github.com/JsonViewer-Component/Blazor/issues)
133+
- 💬 [Discussions](https://github.com/JsonViewer-Component/Blazor/discussions)
134+
135+
---
136+
137+
**Full Changelog**: https://github.com/JsonViewer-Component/Blazor/compare/v0.0.4-beta...v0.0.5-beta
138+

0 commit comments

Comments
 (0)