From eb1e8054190e2bc1df5d3d64f18f8142c48f7aa1 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Fri, 18 Sep 2026 23:02:30 +0330 Subject: [PATCH] last ... --- Prompts.txt | 10 +- Samples/projectData.js | 176 +++++++++++++ Samples/xReleaseAssistant_Real_1.json | 187 ++++++++++++++ Samples/xReleaseAssistant_Real_2.json | 244 ++++++++++++++++++ xReleaseAssistant.html | 350 +++----------------------- xReleaseAssistant_6.html | 350 +++----------------------- 6 files changed, 676 insertions(+), 641 deletions(-) create mode 100644 Samples/projectData.js create mode 100644 Samples/xReleaseAssistant_Real_1.json create mode 100644 Samples/xReleaseAssistant_Real_2.json diff --git a/Prompts.txt b/Prompts.txt index 6621854..cee7660 100644 --- a/Prompts.txt +++ b/Prompts.txt @@ -1,5 +1,5 @@ -آخرین نسخه تایید شده -- در گروه بردها از ابزارها یک گزینه بنام "مدیریت تگ ها" اضافه کن و در صورت انتخاب کاربر مودال مدیریت تگ ها را نمایش بده. -- قابلیت فیلتر کارت‌ها بر اساس تگ در مودال بردها اضافه شود. -- قابلیت Drag & Drop ستونها و کارت‌ها بین ستون‌ها پیاده‌سازی شود. -- قابلیت جستجوی کارت‌ها در برد فعال اضافه شود. \ No newline at end of file +- در بردهای انتشار برای هر کارت باید قابلیت های زیر وجود داشته باشد: +1. تاریخچه عملیات انجام شده روی کارت +2. نام افرادمسئول که وظیفه به آن ها محول یا مربوط می شود باید دریافت شود +3. در صورتیکه کارت هایی از قبل موجود باشند، می توان هر کارت را به یک یا چند کارت مرتبط کرد تا از این طریق وابستگی وظایف رو درک کرد. +4. در مودال بردهای انتشار در بخش فیلتر بر اساس تگ ها، امکان حذف فیتر وجود ندارد. نحوه فیلتر بر اساس تگها رو اصلاح کن \ No newline at end of file diff --git a/Samples/projectData.js b/Samples/projectData.js new file mode 100644 index 0000000..462cd0f --- /dev/null +++ b/Samples/projectData.js @@ -0,0 +1,176 @@ + const projectData = { + projectId: "550e8400-e29b-41d4-a716-446655440000", + projectName: "xReleaseAssistant", + projectTitle: "دستیار انتشار", + description: "مدیریت نسخه‌ها و نیازمندی‌های محصولات", + version: "1.1.0", + developer: "هادی خزاعی اصل", + company: "رایان پرداز کاوش", + metadata: { + createdAt: "2026-09-13T00:00:00Z", + updatedAt: "2026-09-18T00:00:00Z", + tags: ["release-management"], + customFields: {}, + }, + webhook: { url: "", clientId: "", enabled: false }, + toolGroups: [ + { + id: "product-management", + title: "پرونده", + icon: "📁", + description: "مدیریت چرخه حیات محصول", + tools: [ + { + id: "clear-all", + title: "پاکسازی", + icon: "🗑️", + action: "clearAll", + description: "پاکسازی کامل", + }, + { + id: "save-product", + title: "ذخیره", + icon: "💾", + action: "saveProduct", + description: "دانلود داده‌ها", + }, + { + id: "load-product", + title: "بارگذاری", + icon: "📂", + action: "loadProduct", + description: "بارگذاری از فایل", + }, + { + id: "product-settings", + title: "تنظیمات", + icon: "⚙️", + action: "openProductSettings", + description: "پیکربندی", + }, + ], + }, + { + id: "boards", + title: "بردها", + icon: "📋", + description: "مدیریت بردهای انتشار", + tools: [ + { + id: "release-boards", + title: "بردهای انتشار", + icon: "🚀", + action: "showReleaseBoards", + description: "مشاهده و مدیریت بردهای انتشار", + }, + /* ✅ NEW: ابزار مدیریت تگ‌ها */ + { + id: "tag-manager", + title: "مدیریت تگ‌ها", + icon: "🏷️", + action: "showTagManager", + description: "مدیریت تگ‌های بردها", + }, + ], + }, + { + id: "reports", + title: "گزارش‌ها", + icon: "📊", + description: "تحلیل و گزارش‌گیری", + tools: [ + { + id: "executive-dashboard", + title: "داشبورد مدیریتی", + icon: "📊", + action: "showExecutiveDashboard", + description: "نمای کلی با نمودارها", + }, + { + id: "dependency-analysis", + title: "تحلیل وابستگی‌ها", + icon: "🔗", + action: "showDependencyAnalysis", + description: "تحلیل وابستگی‌ها", + }, + { + id: "deployment-analysis", + title: "تحلیل استقرار", + icon: "🚀", + action: "showDeploymentAnalysis", + description: "تحلیل استقرارها", + }, + { + id: "version-analysis", + title: "تحلیل نسخه", + icon: "🔢", + action: "showVersionAnalysis", + description: "تحلیل نسخه‌ها", + }, + { + id: "risk-analysis", + title: "تحلیل ریسک", + icon: "⚠️", + action: "showRiskAnalysis", + description: "تحلیل ریسک‌ها", + }, + { + id: "galaxy-chart", + title: "نمودار کهکشانی", + icon: "🌌", + action: "showGalaxyChart", + description: "نمودار کهکشانی", + }, + ], + }, + ], + appData: { + environments: [ + { + id: "env-prod-001", + name: "Production", + description: "محیط عملیاتی اصلی - در دسترس کاربران نهایی", + backgroundColor: "#38a169", + textColor: "#ffffff", + }, + { + id: "env-stage-002", + name: "Staging", + description: "محیط پیش از تولید - شبیه‌سازی Production", + backgroundColor: "#dd6b20", + textColor: "#ffffff", + }, + { + id: "env-dev-003", + name: "Development", + description: "محیط توسعه - برای تیم فنی", + backgroundColor: "#3182ce", + textColor: "#ffffff", + }, + { + id: "env-qa-004", + name: "QA", + description: "محیط تست کیفیت - کنترل کیفیت خودکار و دستی", + backgroundColor: "#805ad5", + textColor: "#ffffff", + }, + { + id: "env-uat-005", + name: "UAT", + description: "تست پذیرش کاربر - تأیید کارفرما", + backgroundColor: "#d69e2e", + textColor: "#ffffff", + }, + { + id: "env-dr-006", + name: "Disaster Recovery", + description: "محیط بازیابی پس از بحران - پشتیبان Production", + backgroundColor: "#e53e3e", + textColor: "#ffffff", + }, + ], + products: [], + boards: [], + boardTags: [], + }, + }; \ No newline at end of file diff --git a/Samples/xReleaseAssistant_Real_1.json b/Samples/xReleaseAssistant_Real_1.json new file mode 100644 index 0000000..17c82f8 --- /dev/null +++ b/Samples/xReleaseAssistant_Real_1.json @@ -0,0 +1,187 @@ +{ + "environments": [ + { + "id": "env-1789757606914", + "name": "کاوش - توسعه", + "description": "این محیط فقط برای تست عملیاتی توسعه دهندگان است", + "backgroundColor": "#3f94ee", + "textColor": "#ffffff" + }, + { + "id": "env-1789757658261", + "name": "کاوش تست", + "description": "این محیط برای تست محصول توسط تیم های تضمین کیفیت و تحلیل است", + "backgroundColor": "#df3416", + "textColor": "#ffffff" + }, + { + "id": "env-1789757730121", + "name": "کانون - قرمز", + "description": "محیطی برای تست محصولات در فضای کانون", + "backgroundColor": "#ff0000", + "textColor": "#ffffff" + }, + { + "id": "env-1789757791901", + "name": "کانون - آبی", + "description": "محیط انتشار عمومی محصولات در کانون", + "backgroundColor": "#0000ff", + "textColor": "#ffffff" + }, + { + "id": "env-1789757853333", + "name": "سازمان - قرمز", + "description": "محیطی برای تست محصولات در سازمان", + "backgroundColor": "#ff0000", + "textColor": "#ffffff" + }, + { + "id": "env-1789757900213", + "name": "سازمان - آبی", + "description": "محیط انتشار عمومی محصولات در سازمان", + "backgroundColor": "#0000ff", + "textColor": "#ffffff" + } + ], + "products": [], + "boards": [ + { + "id": "board-1789756462321", + "title": "ساماندهی", + "description": "مدیریت تسک های مرتبط با محصول ساماندهی", + "backgroundColor": "#173154", + "createdAt": "2026-09-18T18:34:22.321Z", + "updatedAt": "2026-09-18T18:34:59.453Z", + "columns": [ + { + "id": "col-1789756462321-0", + "title": "📥 بک لاگ", + "backgroundColor": "#6b7208", + "textColor": "#b4cbf9", + "cards": [ + { + "id": "card-1789757126382", + "title": "پلن توسعه", + "description": "بررسی کامل پلن توسعه در راستای نسخه جدید", + "estimatedDate": null, + "backgroundColor": "#787fe8", + "tags": [], + "checklist": [], + "assignees": [], + "dependencies": [], + "history": [ + { + "from": "—", + "to": "📥 بک لاگ", + "date": "2026-09-18T18:45:26.382Z" + }, + { + "from": "📥 بک لاگ", + "to": "📋 برای انجام", + "date": "2026-09-18T18:45:30.580Z" + }, + { + "from": "📋 برای انجام", + "to": "📥 بک لاگ", + "date": "2026-09-18T18:45:32.310Z" + } + ], + "createdAt": "2026-09-18T18:45:26.382Z", + "updatedAt": "2026-09-18T18:45:26.382Z" + } + ] + }, + { + "id": "col-1789756462321-1", + "title": "📋 برای انجام", + "backgroundColor": "#393e65", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756462321-2", + "title": "🔨 در حال انجام", + "backgroundColor": "#453111", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756462321-3", + "title": "🔍 برای تست", + "backgroundColor": "#542881", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756462321-4", + "title": "✅ انجام شده", + "backgroundColor": "#087224", + "textColor": "#d8d96d", + "cards": [] + } + ] + }, + { + "id": "board-1789756537937", + "title": "دفترچه ای", + "description": "مدیریت وظایف مرتبط با انتشار محصول دفترچه ای", + "backgroundColor": "#1e3757", + "createdAt": "2026-09-18T18:35:37.937Z", + "updatedAt": "2026-09-18T18:35:37.937Z", + "columns": [ + { + "id": "col-1789756537937-0", + "title": "📥 بک لاگ", + "backgroundColor": "#6b7208", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756537937-1", + "title": "📋 برای انجام", + "backgroundColor": "#393e65", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756537937-2", + "title": "🔨 در حال انجام", + "backgroundColor": "#453111", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756537937-3", + "title": "🔍 برای تست", + "backgroundColor": "#542881", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756537937-4", + "title": "✅ انجام شده", + "backgroundColor": "#087224", + "textColor": "#d8d96d", + "cards": [] + } + ] + } + ], + "boardTags": [ + { + "id": "tag-1789755845541", + "name": "فوری", + "color": "#e14141" + }, + { + "id": "tag-1789755857090", + "name": "حساس", + "color": "#e1d741" + }, + { + "id": "tag-1789755888873", + "name": "عادی", + "color": "#4299e1" + } + ] +} \ No newline at end of file diff --git a/Samples/xReleaseAssistant_Real_2.json b/Samples/xReleaseAssistant_Real_2.json new file mode 100644 index 0000000..3506ca0 --- /dev/null +++ b/Samples/xReleaseAssistant_Real_2.json @@ -0,0 +1,244 @@ +{ + "environments": [ + { + "id": "env-1789757606914", + "name": "کاوش - توسعه", + "description": "این محیط فقط برای تست عملیاتی توسعه دهندگان است", + "backgroundColor": "#3f94ee", + "textColor": "#ffffff" + }, + { + "id": "env-1789757658261", + "name": "کاوش تست", + "description": "این محیط برای تست محصول توسط تیم های تضمین کیفیت و تحلیل است", + "backgroundColor": "#df3416", + "textColor": "#ffffff" + }, + { + "id": "env-1789757730121", + "name": "کانون - قرمز", + "description": "محیطی برای تست محصولات در فضای کانون", + "backgroundColor": "#ff0000", + "textColor": "#ffffff" + }, + { + "id": "env-1789757791901", + "name": "کانون - آبی", + "description": "محیط انتشار عمومی محصولات در کانون", + "backgroundColor": "#0000ff", + "textColor": "#ffffff" + }, + { + "id": "env-1789757853333", + "name": "سازمان - قرمز", + "description": "محیطی برای تست محصولات در سازمان", + "backgroundColor": "#ff0000", + "textColor": "#ffffff" + }, + { + "id": "env-1789757900213", + "name": "سازمان - آبی", + "description": "محیط انتشار عمومی محصولات در سازمان", + "backgroundColor": "#0000ff", + "textColor": "#ffffff" + } + ], + "products": [ + { + "id": "prod-1789758196583", + "title": "زیر ساخت کاوش", + "description": "ارائه کلیه زیر ساخت های لازم برای محصولات", + "metadata": { + "createdAt": "2026-09-18T19:03:16.583Z", + "owner": "تیم زیر ساخت", + "customFields": {} + }, + "projects": [ + { + "id": "proj-1789758302242", + "title": "فریمورک", + "description": "نوگت فریمورک که کلیه زیر ساخت های لازم برای پروژه ها را ارائه می دهد.", + "type": "infrastructure", + "repositoryUrl": "", + "metadata": { + "createdAt": "2026-09-18T19:05:02.242Z", + "customFields": {}, + "framework": ".net", + "language": "C#" + }, + "dependencies": [], + "deployments": [] + } + ] + }, + { + "id": "prod-1789759034126", + "title": "ساماندهی", + "description": "فرآیندهی ساماندهی", + "metadata": { + "createdAt": "2026-09-18T19:17:14.126Z", + "owner": "تیم املاک", + "customFields": {} + }, + "projects": [ + { + "id": "proj-1789759100918", + "title": "Rem13 Dotnet Bo", + "description": "سرویس های ساماندهی در بک آفیس", + "type": "backend", + "repositoryUrl": "", + "metadata": { + "createdAt": "2026-09-18T19:18:20.918Z", + "customFields": {}, + "framework": ".net", + "language": "C#" + }, + "dependencies": [ + "proj-1789758302242" + ], + "deployments": [] + } + ] + } + ], + "boards": [ + { + "id": "board-1789756462321", + "title": "ساماندهی", + "description": "مدیریت تسک های مرتبط با محصول ساماندهی", + "backgroundColor": "#173154", + "createdAt": "2026-09-18T18:34:22.321Z", + "updatedAt": "2026-09-18T18:34:59.453Z", + "columns": [ + { + "id": "col-1789756462321-0", + "title": "📥 بک لاگ", + "backgroundColor": "#6b7208", + "textColor": "#b4cbf9", + "cards": [ + { + "id": "card-1789757126382", + "title": "پلن توسعه", + "description": "بررسی کامل پلن توسعه در راستای نسخه جدید", + "estimatedDate": null, + "backgroundColor": "#787fe8", + "tags": [], + "checklist": [], + "assignees": [], + "dependencies": [], + "history": [ + { + "from": "—", + "to": "📥 بک لاگ", + "date": "2026-09-18T18:45:26.382Z" + }, + { + "from": "📥 بک لاگ", + "to": "📋 برای انجام", + "date": "2026-09-18T18:45:30.580Z" + }, + { + "from": "📋 برای انجام", + "to": "📥 بک لاگ", + "date": "2026-09-18T18:45:32.310Z" + } + ], + "createdAt": "2026-09-18T18:45:26.382Z", + "updatedAt": "2026-09-18T18:45:26.382Z" + } + ] + }, + { + "id": "col-1789756462321-1", + "title": "📋 برای انجام", + "backgroundColor": "#393e65", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756462321-2", + "title": "🔨 در حال انجام", + "backgroundColor": "#453111", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756462321-3", + "title": "🔍 برای تست", + "backgroundColor": "#542881", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756462321-4", + "title": "✅ انجام شده", + "backgroundColor": "#087224", + "textColor": "#d8d96d", + "cards": [] + } + ] + }, + { + "id": "board-1789756537937", + "title": "دفترچه ای", + "description": "مدیریت وظایف مرتبط با انتشار محصول دفترچه ای", + "backgroundColor": "#1e3757", + "createdAt": "2026-09-18T18:35:37.937Z", + "updatedAt": "2026-09-18T18:35:37.937Z", + "columns": [ + { + "id": "col-1789756537937-0", + "title": "📥 بک لاگ", + "backgroundColor": "#6b7208", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756537937-1", + "title": "📋 برای انجام", + "backgroundColor": "#393e65", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756537937-2", + "title": "🔨 در حال انجام", + "backgroundColor": "#453111", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756537937-3", + "title": "🔍 برای تست", + "backgroundColor": "#542881", + "textColor": "#b4cbf9", + "cards": [] + }, + { + "id": "col-1789756537937-4", + "title": "✅ انجام شده", + "backgroundColor": "#087224", + "textColor": "#d8d96d", + "cards": [] + } + ] + } + ], + "boardTags": [ + { + "id": "tag-1789755845541", + "name": "فوری", + "color": "#e14141" + }, + { + "id": "tag-1789755857090", + "name": "حساس", + "color": "#e1d741" + }, + { + "id": "tag-1789755888873", + "name": "عادی", + "color": "#4299e1" + } + ] +} \ No newline at end of file diff --git a/xReleaseAssistant.html b/xReleaseAssistant.html index 6d4e5fc..0e8f647 100644 --- a/xReleaseAssistant.html +++ b/xReleaseAssistant.html @@ -1730,7 +1730,6 @@ background: rgba(255, 255, 255, 0.2); margin: 0 4px; } - /* ✅ NEW: استایل جستجو و فیلتر در نوار ابزار بردها */ .rb-search-box { position: relative; display: flex; @@ -1787,7 +1786,6 @@ align-items: center; gap: 4px; } - /* ✅ NEW: نوار فیلتر تگ‌ها */ .rb-tag-filter-bar { display: flex; align-items: center; @@ -2428,9 +2426,6 @@ color: var(--text-muted); font-size: 12px; } - /* ═══════════════════════════════════════════════════ - ✅ NEW: استایل‌های Drag & Drop و فیلتر -═══════════════════════════════════════════════════ */ .card.hidden-by-filter { display: none !important; } @@ -2815,7 +2810,7 @@ @@ -3205,9 +3200,6 @@ @@ -3227,7 +3219,6 @@ @@ -3250,7 +3241,6 @@ @@ -3276,7 +3266,6 @@ @@ -3296,7 +3285,6 @@ @@ -3329,7 +3317,6 @@ 🏷️ تگ‌ها
- -
🏷️ فیلتر تگ:
@@ -3480,31 +3466,31 @@ >
📥 بک لاگ
📋 برای انجام
🔨 در حال انجام
🔍 برای تست
✅ انجام شده
@@ -3721,10 +3707,10 @@
@@ -3790,178 +3776,22 @@ @@ -3790,178 +3776,22 @@