Spaces:
Running
Running
Add 2 files
Browse files- index.html +82 -54
- prompts.txt +1 -4
index.html
CHANGED
@@ -157,14 +157,35 @@
|
|
157 |
justify-content: flex-end;
|
158 |
}
|
159 |
|
160 |
-
.
|
161 |
background-color: #f3f4f6;
|
162 |
border-radius: 0.375rem;
|
163 |
padding: 1rem;
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
white-space: pre-wrap;
|
|
|
|
|
|
|
166 |
margin-top: 1rem;
|
167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
}
|
169 |
|
170 |
.copy-btn {
|
@@ -189,21 +210,18 @@
|
|
189 |
<div id="functionModal" class="modal">
|
190 |
<div class="modal-content">
|
191 |
<div class="modal-header">
|
192 |
-
<h3 class="text-lg font-semibold text-gray-900" id="modalTitle">
|
193 |
<button onclick="closeModal()" class="text-gray-400 hover:text-gray-500">
|
194 |
<i class="fas fa-times"></i>
|
195 |
</button>
|
196 |
</div>
|
197 |
<div class="modal-body">
|
198 |
-
<div id="modalDescription" class="text-gray-700"></div>
|
199 |
-
<div class="
|
200 |
-
<
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
</button>
|
205 |
-
<div id="promptText"></div>
|
206 |
-
</div>
|
207 |
</div>
|
208 |
</div>
|
209 |
<div class="modal-footer">
|
@@ -236,37 +254,37 @@
|
|
236 |
|
237 |
<div class="flex flex-col flex-grow px-3 overflow-y-auto">
|
238 |
<nav class="space-y-1">
|
239 |
-
<a href="javascript:void(0)" onclick="
|
240 |
<i class="fas fa-chart-pie text-lg w-6 text-center mr-3 text-indigo-600"></i>
|
241 |
Dashboard
|
242 |
</a>
|
243 |
-
<a href="javascript:void(0)" onclick="
|
244 |
<i class="fas fa-file-contract text-lg w-6 text-center mr-3 text-gray-500"></i>
|
245 |
Document Hub
|
246 |
<span class="notification-badge bg-red-500 text-white font-semibold rounded-full flex items-center justify-center ml-auto">3</span>
|
247 |
</a>
|
248 |
-
<a href="javascript:void(0)" onclick="
|
249 |
<i class="fas fa-bell text-lg w-6 text-center mr-3 text-gray-500"></i>
|
250 |
Regulatory Alerts
|
251 |
<span class="notification-badge bg-indigo-500 text-white font-semibold rounded-full flex items-center justify-center ml-auto">5</span>
|
252 |
</a>
|
253 |
-
<a href="javascript:void(0)" onclick="
|
254 |
<i class="fas fa-user-check text-lg w-6 text-center mr-3 text-gray-500"></i>
|
255 |
Suitability Engine
|
256 |
</a>
|
257 |
-
<a href="javascript:void(0)" onclick="
|
258 |
<i class="fas fa-exchange-alt text-lg w-6 text-center mr-3 text-gray-500"></i>
|
259 |
Transaction Reporting
|
260 |
</a>
|
261 |
-
<a href="javascript:void(0)" onclick="
|
262 |
<i class="fas fa-search-dollar text-lg w-6 text-center mr-3 text-gray-500"></i>
|
263 |
Trade Surveillance
|
264 |
</a>
|
265 |
-
<a href="javascript:void(0)" onclick="
|
266 |
<i class="fas fa-tasks text-lg w-6 text-center mr-3 text-gray-500"></i>
|
267 |
Case Management
|
268 |
</a>
|
269 |
-
<a href="javascript:void(0)" onclick="
|
270 |
<i class="fas fa-chart-bar text-lg w-6 text-center mr-3 text-gray-500"></i>
|
271 |
Analytics
|
272 |
</a>
|
@@ -281,7 +299,7 @@
|
|
281 |
<div class="ml-3">
|
282 |
<p class="text-sm font-semibold text-indigo-900">Need assistance?</p>
|
283 |
<p class="text-xs text-indigo-700 mt-1">Our support team is available 24/7</p>
|
284 |
-
<button onclick="
|
285 |
Contact Support <i class="fas fa-arrow-right ml-1 text-xs"></i>
|
286 |
</button>
|
287 |
</div>
|
@@ -297,22 +315,22 @@
|
|
297 |
<!-- Top navigation -->
|
298 |
<div class="flex items-center justify-between h-16 px-6 border-b border-gray-200 bg-white">
|
299 |
<div class="flex items-center">
|
300 |
-
<button onclick="
|
301 |
<i class="fas fa-bars text-lg"></i>
|
302 |
</button>
|
303 |
<h1 class="ml-4 text-lg font-semibold text-gray-900">Compliance Dashboard</h1>
|
304 |
</div>
|
305 |
<div class="flex items-center space-x-4">
|
306 |
-
<button onclick="
|
307 |
<i class="fas fa-bell text-lg"></i>
|
308 |
<span class="notification-badge bg-red-500 text-white font-semibold rounded-full flex items-center justify-center">5</span>
|
309 |
</button>
|
310 |
-
<button onclick="
|
311 |
<i class="fas fa-envelope text-lg"></i>
|
312 |
<span class="notification-badge bg-indigo-500 text-white font-semibold rounded-full flex items-center justify-center">2</span>
|
313 |
</button>
|
314 |
<div class="relative">
|
315 |
-
<button onclick="
|
316 |
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
|
317 |
<span class="ml-2 text-sm font-medium text-gray-700 group-hover:text-gray-900 smooth-transition">John Doe</span>
|
318 |
<i class="fas fa-chevron-down ml-1 text-gray-500 text-xs group-hover:text-gray-700 smooth-transition"></i>
|
@@ -331,7 +349,7 @@
|
|
331 |
<p class="text-gray-600 mt-1">Welcome back, John. Here's your compliance status at a glance.</p>
|
332 |
</div>
|
333 |
<div class="mt-4 md:mt-0">
|
334 |
-
<button onclick="
|
335 |
<i class="fas fa-plus mr-2"></i>
|
336 |
New Task
|
337 |
</button>
|
@@ -354,7 +372,7 @@
|
|
354 |
<div class="mt-5">
|
355 |
<div class="flex items-center justify-between text-sm">
|
356 |
<span class="text-gray-500">3 overdue</span>
|
357 |
-
<a href="javascript:void(0)" onclick="
|
358 |
</div>
|
359 |
</div>
|
360 |
</div>
|
@@ -372,7 +390,7 @@
|
|
372 |
<div class="mt-5">
|
373 |
<div class="flex items-center justify-between text-sm">
|
374 |
<span class="text-gray-500">This week</span>
|
375 |
-
<a href="javascript:void(0)" onclick="
|
376 |
</div>
|
377 |
</div>
|
378 |
</div>
|
@@ -390,7 +408,7 @@
|
|
390 |
<div class="mt-5">
|
391 |
<div class="flex items-center justify-between text-sm">
|
392 |
<span class="text-gray-500">2 critical</span>
|
393 |
-
<a href="javascript:void(0)" onclick="
|
394 |
</div>
|
395 |
</div>
|
396 |
</div>
|
@@ -426,7 +444,7 @@
|
|
426 |
<div class="px-5 py-4 border-b border-gray-200 bg-white">
|
427 |
<div class="flex items-center justify-between">
|
428 |
<h3 class="text-lg font-semibold text-gray-900">Regulatory Alerts</h3>
|
429 |
-
<a href="javascript:void(0)" onclick="
|
430 |
</div>
|
431 |
</div>
|
432 |
<div class="divide-y divide-gray-200">
|
@@ -496,7 +514,7 @@
|
|
496 |
<div class="px-5 py-4 border-b border-gray-200 bg-white">
|
497 |
<div class="flex items-center justify-between">
|
498 |
<h3 class="text-lg font-semibold text-gray-900">Recent Documents</h3>
|
499 |
-
<a href="javascript:void(0)" onclick="
|
500 |
</div>
|
501 |
</div>
|
502 |
<div class="divide-y divide-gray-200">
|
@@ -513,13 +531,13 @@
|
|
513 |
</div>
|
514 |
<div class="ml-4 flex-shrink-0">
|
515 |
<div class="flex space-x-3">
|
516 |
-
<button onclick="
|
517 |
<i class="fas fa-eye"></i>
|
518 |
</button>
|
519 |
-
<button onclick="
|
520 |
<i class="fas fa-download"></i>
|
521 |
</button>
|
522 |
-
<button onclick="
|
523 |
<i class="fas fa-ellipsis-v"></i>
|
524 |
</button>
|
525 |
</div>
|
@@ -539,13 +557,13 @@
|
|
539 |
</div>
|
540 |
<div class="ml-4 flex-shrink-0">
|
541 |
<div class="flex space-x-3">
|
542 |
-
<button onclick="
|
543 |
<i class="fas fa-eye"></i>
|
544 |
</button>
|
545 |
-
<button onclick="
|
546 |
<i class="fas fa-download"></i>
|
547 |
</button>
|
548 |
-
<button onclick="
|
549 |
<i class="fas fa-ellipsis-v"></i>
|
550 |
</button>
|
551 |
</div>
|
@@ -565,13 +583,13 @@
|
|
565 |
</div>
|
566 |
<div class="ml-4 flex-shrink-0">
|
567 |
<div class="flex space-x-3">
|
568 |
-
<button onclick="
|
569 |
<i class="fas fa-eye"></i>
|
570 |
</button>
|
571 |
-
<button onclick="
|
572 |
<i class="fas fa-download"></i>
|
573 |
</button>
|
574 |
-
<button onclick="
|
575 |
<i class="fas fa-ellipsis-v"></i>
|
576 |
</button>
|
577 |
</div>
|
@@ -589,14 +607,14 @@
|
|
589 |
<div class="px-5 py-4 border-b border-gray-200 bg-white">
|
590 |
<div class="flex items-center justify-between">
|
591 |
<h3 class="text-lg font-semibold text-gray-900">My Tasks</h3>
|
592 |
-
<a href="javascript:void(0)" onclick="
|
593 |
</div>
|
594 |
</div>
|
595 |
<div class="divide-y divide-gray-200">
|
596 |
<div class="p-5 hover:bg-gray-50 smooth-transition">
|
597 |
<div class="flex items-start">
|
598 |
<div class="flex-shrink-0 pt-0.5">
|
599 |
-
<input type="checkbox" onclick="
|
600 |
</div>
|
601 |
<div class="ml-3 flex-1">
|
602 |
<div class="flex items-center justify-between">
|
@@ -613,7 +631,7 @@
|
|
613 |
<div class="p-5 hover:bg-gray-50 smooth-transition">
|
614 |
<div class="flex items-start">
|
615 |
<div class="flex-shrink-0 pt-0.5">
|
616 |
-
<input type="checkbox" onclick="
|
617 |
</div>
|
618 |
<div class="ml-3 flex-1">
|
619 |
<div class="flex items-center justify-between">
|
@@ -630,7 +648,7 @@
|
|
630 |
<div class="p-5 hover:bg-gray-50 smooth-transition">
|
631 |
<div class="flex items-start">
|
632 |
<div class="flex-shrink-0 pt-0.5">
|
633 |
-
<input type="checkbox" onclick="
|
634 |
</div>
|
635 |
<div class="ml-3 flex-1">
|
636 |
<div class="flex items-center justify-between">
|
@@ -652,7 +670,7 @@
|
|
652 |
<div class="px-5 py-4 border-b border-gray-200 bg-white">
|
653 |
<div class="flex items-center justify-between">
|
654 |
<h3 class="text-lg font-semibold text-gray-900">Compliance Calendar</h3>
|
655 |
-
<a href="javascript:void(0)" onclick="
|
656 |
</div>
|
657 |
</div>
|
658 |
<div class="p-5">
|
@@ -706,7 +724,7 @@
|
|
706 |
<div class="flex items-center justify-between mb-5">
|
707 |
<h3 class="text-lg font-semibold text-gray-900">Case Status</h3>
|
708 |
<div class="flex space-x-2">
|
709 |
-
<button onclick="
|
710 |
<i class="fas fa-ellipsis-v"></i>
|
711 |
</button>
|
712 |
</div>
|
@@ -721,7 +739,7 @@
|
|
721 |
<div class="flex items-center justify-between mb-5">
|
722 |
<h3 class="text-lg font-semibold text-gray-900">SLA Compliance</h3>
|
723 |
<div class="flex space-x-2">
|
724 |
-
<button onclick="
|
725 |
<i class="fas fa-ellipsis-v"></i>
|
726 |
</button>
|
727 |
</div>
|
@@ -738,10 +756,20 @@
|
|
738 |
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
739 |
<script>
|
740 |
// Modal functions
|
741 |
-
function
|
742 |
document.getElementById('modalTitle').textContent = title;
|
743 |
document.getElementById('modalDescription').textContent = description;
|
744 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
745 |
document.getElementById('functionModal').style.display = 'flex';
|
746 |
return false; // Prevent default behavior
|
747 |
}
|
@@ -750,9 +778,9 @@
|
|
750 |
document.getElementById('functionModal').style.display = 'none';
|
751 |
}
|
752 |
|
753 |
-
function
|
754 |
-
const
|
755 |
-
navigator.clipboard.writeText(
|
756 |
// Show copied feedback
|
757 |
const copyBtn = document.querySelector('.copy-btn');
|
758 |
const originalHtml = copyBtn.innerHTML;
|
@@ -782,7 +810,7 @@
|
|
782 |
});
|
783 |
|
784 |
// Prevent default behavior for all links that show modals
|
785 |
-
document.querySelectorAll('a[onclick^="
|
786 |
link.addEventListener('click', function(e) {
|
787 |
e.preventDefault();
|
788 |
});
|
|
|
157 |
justify-content: flex-end;
|
158 |
}
|
159 |
|
160 |
+
.user-story {
|
161 |
background-color: #f3f4f6;
|
162 |
border-radius: 0.375rem;
|
163 |
padding: 1rem;
|
164 |
+
margin-bottom: 1rem;
|
165 |
+
position: relative;
|
166 |
+
}
|
167 |
+
|
168 |
+
.user-story-title {
|
169 |
+
font-weight: 600;
|
170 |
+
color: #1f2937;
|
171 |
+
margin-bottom: 0.5rem;
|
172 |
+
}
|
173 |
+
|
174 |
+
.user-story-content {
|
175 |
+
font-family: 'Inter', sans-serif;
|
176 |
white-space: pre-wrap;
|
177 |
+
}
|
178 |
+
|
179 |
+
.acceptance-criteria {
|
180 |
margin-top: 1rem;
|
181 |
+
padding-left: 1rem;
|
182 |
+
border-left: 2px solid #d1d5db;
|
183 |
+
}
|
184 |
+
|
185 |
+
.acceptance-title {
|
186 |
+
font-weight: 500;
|
187 |
+
color: #374151;
|
188 |
+
margin-bottom: 0.5rem;
|
189 |
}
|
190 |
|
191 |
.copy-btn {
|
|
|
210 |
<div id="functionModal" class="modal">
|
211 |
<div class="modal-content">
|
212 |
<div class="modal-header">
|
213 |
+
<h3 class="text-lg font-semibold text-gray-900" id="modalTitle">User Story Details</h3>
|
214 |
<button onclick="closeModal()" class="text-gray-400 hover:text-gray-500">
|
215 |
<i class="fas fa-times"></i>
|
216 |
</button>
|
217 |
</div>
|
218 |
<div class="modal-body">
|
219 |
+
<div id="modalDescription" class="text-gray-700 mb-4"></div>
|
220 |
+
<div id="userStoryContainer" class="user-story">
|
221 |
+
<button onclick="copyStoryToClipboard()" class="copy-btn">
|
222 |
+
<i class="fas fa-copy mr-1"></i> Copy
|
223 |
+
</button>
|
224 |
+
<div id="userStoryContent"></div>
|
|
|
|
|
|
|
225 |
</div>
|
226 |
</div>
|
227 |
<div class="modal-footer">
|
|
|
254 |
|
255 |
<div class="flex flex-col flex-grow px-3 overflow-y-auto">
|
256 |
<nav class="space-y-1">
|
257 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Dashboard', 'Main dashboard view showing compliance overview and key metrics.', 'As a Compliance Officer, I want to view a comprehensive dashboard that displays key compliance metrics, regulatory alerts, recent documents, task management, compliance calendar, and visual charts, so that I can quickly assess our compliance status and take appropriate actions.', '1. Dashboard must display pending documents count with overdue indicators\n2. Show completed tasks count for current week\n3. Display active alerts with priority indicators\n4. Show SLA compliance percentage with trend analysis\n5. Include regulatory alerts section with filtering\n6. Provide recent documents with quick actions\n7. Display task management with due dates\n8. Show compliance calendar with upcoming deadlines\n9. Include visual charts for case status and SLA trends\n10. Must be responsive and accessible')" class="sidebar-item active flex items-center px-3 py-2.5 text-sm font-medium rounded-lg smooth-transition">
|
258 |
<i class="fas fa-chart-pie text-lg w-6 text-center mr-3 text-indigo-600"></i>
|
259 |
Dashboard
|
260 |
</a>
|
261 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Document Hub', 'Central repository for all compliance documents with version control.', 'As a Compliance Manager, I want a centralized document management system that stores all compliance documents with version control and metadata, so that I can easily access, track changes, and manage our compliance documentation efficiently.', '1. System must support multiple document types (PDF, Word, Excel)\n2. Provide version control and history tracking\n3. Display document metadata (last updated, author)\n4. Include quick actions (view, download, more options)\n5. Support search and filtering capabilities\n6. Show status indicators (pending review, approved)\n7. Allow bulk actions for multiple documents\n8. Support drag-and-drop upload\n9. Provide document preview functionality\n10. Implement permission-based access controls')" class="sidebar-item flex items-center px-3 py-2.5 text-sm font-medium rounded-lg smooth-transition">
|
262 |
<i class="fas fa-file-contract text-lg w-6 text-center mr-3 text-gray-500"></i>
|
263 |
Document Hub
|
264 |
<span class="notification-badge bg-red-500 text-white font-semibold rounded-full flex items-center justify-center ml-auto">3</span>
|
265 |
</a>
|
266 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Regulatory Alerts', 'Real-time notifications about regulatory changes and updates.', 'As a Regulatory Analyst, I want to receive and manage real-time regulatory alerts with priority classification, so that I can promptly address critical regulatory changes and ensure our compliance.', '1. System must provide real-time alert notifications\n2. Classify alerts by priority (critical, high, medium, low)\n3. Allow filtering by regulatory body (ESMA, ČNB, EU)\n4. Show detailed alert view with impact analysis\n5. Track action status (acknowledged, in progress, resolved)\n6. Support email/SMS notification options\n7. Maintain historical alert archive\n8. Track regulatory changes over time\n9. Provide clear visual indicators for priority\n10. Allow adding comments and marking as resolved')" class="sidebar-item flex items-center px-3 py-2.5 text-sm font-medium rounded-lg smooth-transition">
|
267 |
<i class="fas fa-bell text-lg w-6 text-center mr-3 text-gray-500"></i>
|
268 |
Regulatory Alerts
|
269 |
<span class="notification-badge bg-indigo-500 text-white font-semibold rounded-full flex items-center justify-center ml-auto">5</span>
|
270 |
</a>
|
271 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Suitability Engine', 'Tool for assessing investment suitability based on client profiles.', 'As an Investment Advisor, I want a suitability assessment tool that analyzes client profiles against products based on MiFID II requirements, so that I can ensure appropriate investment recommendations and maintain compliance.', '1. Must collect client investment profile data\n2. Analyze product suitability against MiFID II requirements\n3. Generate suitability reports\n4. Flag potential mismatches\n5. Store assessment history\n6. Provide audit trail\n7. Integrate with client database\n8. Support bulk assessments\n9. Guide users through assessment process\n10. Generate PDF reports with compliance documentation')" class="sidebar-item flex items-center px-3 py-2.5 text-sm font-medium rounded-lg smooth-transition">
|
272 |
<i class="fas fa-user-check text-lg w-6 text-center mr-3 text-gray-500"></i>
|
273 |
Suitability Engine
|
274 |
</a>
|
275 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Transaction Reporting', 'System for preparing and submitting regulatory transaction reports.', 'As a Reporting Specialist, I want a transaction reporting system that validates and formats trade data for different regulators, so that we can submit accurate reports and meet our regulatory obligations.', '1. Must collect trade data from multiple sources\n2. Validate data against regulatory requirements\n3. Format reports for different regulators (ESMA, ČNB)\n4. Track submission status\n5. Store submission history\n6. Flag reporting errors\n7. Generate audit trails\n8. Support bulk corrections\n9. Support multiple reporting regimes (MiFIR, EMIR)\n10. Include validation checks before submission')" class="sidebar-item flex items-center px-3 py-2.5 text-sm font-medium rounded-lg smooth-transition">
|
276 |
<i class="fas fa-exchange-alt text-lg w-6 text-center mr-3 text-gray-500"></i>
|
277 |
Transaction Reporting
|
278 |
</a>
|
279 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Trade Surveillance', 'Monitoring system for detecting suspicious trading patterns.', 'As a Surveillance Analyst, I want a trade monitoring system that detects suspicious patterns and generates alerts, so that we can investigate potential market abuse and maintain market integrity.', '1. Must provide real-time trade monitoring\n2. Detect suspicious trading patterns\n3. Generate alerts for investigation\n4. Support case management workflow\n5. Include investigation tools\n6. Integrate with regulatory reporting\n7. Maintain historical analysis\n8. Allow custom rule configuration\n9. Visualize trading patterns\n10. Support exporting data for reporting')" class="sidebar-item flex items-center px-3 py-2.5 text-sm font-medium rounded-lg smooth-transition">
|
280 |
<i class="fas fa-search-dollar text-lg w-6 text-center mr-3 text-gray-500"></i>
|
281 |
Trade Surveillance
|
282 |
</a>
|
283 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Case Management', 'Workflow system for tracking compliance cases and investigations.', 'As a Compliance Investigator, I want a case management system to track compliance cases through their lifecycle, so that we can efficiently manage investigations and maintain proper documentation.', '1. Must allow case creation and assignment\n2. Track case status (open, in progress, resolved)\n3. Support document attachment\n4. Enable team collaboration\n5. Manage deadlines\n6. Provide reporting dashboards\n7. Maintain audit logging\n8. Allow custom workflow configuration\n9. Support filtering and search\n10. Include timeline views of case activity')" class="sidebar-item flex items-center px-3 py-2.5 text-sm font-medium rounded-lg smooth-transition">
|
284 |
<i class="fas fa-tasks text-lg w-6 text-center mr-3 text-gray-500"></i>
|
285 |
Case Management
|
286 |
</a>
|
287 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Analytics', 'Reporting and visualization tools for compliance metrics.', 'As a Compliance Director, I want analytics tools to track key compliance metrics and trends, so that I can make data-driven decisions and demonstrate our compliance effectiveness.', '1. Must track key compliance metrics\n2. Provide visual dashboards\n3. Support custom reporting\n4. Offer data export options\n5. Include regulatory benchmarking\n6. Track trends over time\n7. Alert on metric thresholds\n8. Integrate with other modules\n9. Include interactive charts and tables\n10. Support scheduled report generation')" class="sidebar-item flex items-center px-3 py-2.5 text-sm font-medium rounded-lg smooth-transition">
|
288 |
<i class="fas fa-chart-bar text-lg w-6 text-center mr-3 text-gray-500"></i>
|
289 |
Analytics
|
290 |
</a>
|
|
|
299 |
<div class="ml-3">
|
300 |
<p class="text-sm font-semibold text-indigo-900">Need assistance?</p>
|
301 |
<p class="text-xs text-indigo-700 mt-1">Our support team is available 24/7</p>
|
302 |
+
<button onclick="showUserStoryModal('Support', 'Contact support team for technical assistance.', 'As a System User, I want multiple ways to contact support when I need help, so that I can quickly resolve issues and continue my compliance work efficiently.', '1. Must provide multiple contact channels (email, chat, phone)\n2. Track support ticket status\n3. Offer knowledge base access\n4. Include live chat functionality\n5. Provide estimated response times\n6. Support file attachments\n7. Include satisfaction surveys\n8. Integrate with user authentication\n9. Make submission easy with clear categories\n10. Include status tracking for open tickets')" class="mt-2 text-xs font-medium text-indigo-600 hover:text-indigo-700 smooth-transition">
|
303 |
Contact Support <i class="fas fa-arrow-right ml-1 text-xs"></i>
|
304 |
</button>
|
305 |
</div>
|
|
|
315 |
<!-- Top navigation -->
|
316 |
<div class="flex items-center justify-between h-16 px-6 border-b border-gray-200 bg-white">
|
317 |
<div class="flex items-center">
|
318 |
+
<button onclick="showUserStoryModal('Mobile Menu', 'Toggle button for mobile navigation menu.', 'As a Mobile User, I want a responsive menu toggle that works on all device sizes, so that I can easily navigate the compliance platform on my mobile device.', '1. Must work on all device sizes\n2. Include accessible aria-labels\n3. Have smooth animations\n4. Support keyboard navigation\n5. Maintain state between views\n6. Integrate with existing navigation\n7. Have proper focus management\n8. Follow mobile UX best practices\n9. Clearly indicate menu state (open/closed)\n10. Include proper touch targets')" class="md:hidden text-gray-500 hover:text-gray-600 focus:outline-none smooth-transition">
|
319 |
<i class="fas fa-bars text-lg"></i>
|
320 |
</button>
|
321 |
<h1 class="ml-4 text-lg font-semibold text-gray-900">Compliance Dashboard</h1>
|
322 |
</div>
|
323 |
<div class="flex items-center space-x-4">
|
324 |
+
<button onclick="showUserStoryModal('Notifications', 'System notifications and alerts center.', 'As a System User, I want a centralized notifications center to view and manage all system alerts, so that I can stay informed about important compliance events.', '1. Must aggregate system notifications\n2. Support different notification types\n3. Include unread indicators\n4. Allow marking as read\n5. Provide filtering options\n6. Store notification history\n7. Support actionable notifications\n8. Integrate with other modules\n9. Display in dropdown or dedicated view\n10. Include visual indicators for priority')" class="text-gray-500 hover:text-gray-600 relative focus:outline-none smooth-transition">
|
325 |
<i class="fas fa-bell text-lg"></i>
|
326 |
<span class="notification-badge bg-red-500 text-white font-semibold rounded-full flex items-center justify-center">5</span>
|
327 |
</button>
|
328 |
+
<button onclick="showUserStoryModal('Messages', 'Internal messaging system for team communication.', 'As a Team Member, I want an internal messaging system to communicate with colleagues, so that we can collaborate effectively on compliance matters.', '1. Must support direct and group messages\n2. Include read receipts\n3. Allow file attachments\n4. Provide search functionality\n5. Integrate with user directory\n6. Support message threading\n7. Offer notification preferences\n8. Maintain message history\n9. Provide clean conversation lists\n10. Show typing indicators and online status')" class="text-gray-500 hover:text-gray-600 relative focus:outline-none smooth-transition">
|
329 |
<i class="fas fa-envelope text-lg"></i>
|
330 |
<span class="notification-badge bg-indigo-500 text-white font-semibold rounded-full flex items-center justify-center">2</span>
|
331 |
</button>
|
332 |
<div class="relative">
|
333 |
+
<button onclick="showUserStoryModal('User Profile', 'User account settings and profile management.', 'As a System User, I want to manage my profile and account settings, so that I can keep my information up-to-date and control my preferences.', '1. Must display user information\n2. Allow profile editing\n3. Manage account settings\n4. Control notification preferences\n5. Show activity history\n6. Include security settings\n7. Support profile picture upload\n8. Integrate with authentication\n9. Provide comprehensive account view\n10. Include form validation for editing')" class="flex items-center focus:outline-none group">
|
334 |
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
|
335 |
<span class="ml-2 text-sm font-medium text-gray-700 group-hover:text-gray-900 smooth-transition">John Doe</span>
|
336 |
<i class="fas fa-chevron-down ml-1 text-gray-500 text-xs group-hover:text-gray-700 smooth-transition"></i>
|
|
|
349 |
<p class="text-gray-600 mt-1">Welcome back, John. Here's your compliance status at a glance.</p>
|
350 |
</div>
|
351 |
<div class="mt-4 md:mt-0">
|
352 |
+
<button onclick="showUserStoryModal('New Task', 'Create a new compliance task or action item.', 'As a Compliance Officer, I want to create new compliance tasks with all necessary details, so that I can assign and track compliance activities effectively.', '1. Must capture task details (title, description)\n2. Allow assignment to team members\n3. Set priority levels\n4. Add due dates\n5. Attach relevant documents\n6. Link to compliance requirements\n7. Set reminders\n8. Integrate with calendar\n9. Include validation and auto-suggestions\n10. Support task templates for common activities')" class="bg-gradient-to-br from-indigo-600 to-indigo-500 hover:from-indigo-700 hover:to-indigo-600 text-white px-5 py-2.5 rounded-lg flex items-center shadow-md hover:shadow-lg smooth-transition">
|
353 |
<i class="fas fa-plus mr-2"></i>
|
354 |
New Task
|
355 |
</button>
|
|
|
372 |
<div class="mt-5">
|
373 |
<div class="flex items-center justify-between text-sm">
|
374 |
<span class="text-gray-500">3 overdue</span>
|
375 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('View Documents', 'View all pending compliance documents.', 'As a Compliance Officer, I want to view all pending compliance documents with filtering options, so that I can prioritize review and approval workflows.', '1. Must display all pending documents\n2. Allow filtering by type/status\n3. Show overdue indicators\n4. Provide quick actions\n5. Support bulk operations\n6. Include search functionality\n7. Show document metadata\n8. Integrate with approval workflow\n9. Be sortable and paginated\n10. Support exporting the document list')" class="font-medium text-indigo-600 hover:text-indigo-700 smooth-transition">View all</a>
|
376 |
</div>
|
377 |
</div>
|
378 |
</div>
|
|
|
390 |
<div class="mt-5">
|
391 |
<div class="flex items-center justify-between text-sm">
|
392 |
<span class="text-gray-500">This week</span>
|
393 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('View Tasks', 'View all completed compliance tasks.', 'As a Compliance Manager, I want to review completed compliance tasks with completion details, so that I can track team productivity and compliance progress.', '1. Must list completed tasks\n2. Filter by date range\n3. Show completion details\n4. Display assignee information\n5. Include approval records\n6. Support exporting data\n7. Link to related documents\n8. Integrate with reporting\n9. Provide completion pattern insights\n10. Support drill-down into details')" class="font-medium text-green-600 hover:text-green-700 smooth-transition">View all</a>
|
394 |
</div>
|
395 |
</div>
|
396 |
</div>
|
|
|
408 |
<div class="mt-5">
|
409 |
<div class="flex items-center justify-between text-sm">
|
410 |
<span class="text-gray-500">2 critical</span>
|
411 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('View Alerts', 'View all active compliance alerts.', 'As a Compliance Analyst, I want to view and manage all active compliance alerts, so that I can prioritize and address the most critical issues first.', '1. Must list all active alerts\n2. Highlight critical alerts\n3. Show alert details\n4. Track investigation status\n5. Allow alert resolution\n6. Support filtering/sorting\n7. Include audit trail\n8. Integrate with case management\n9. Prioritize critical alerts\n10. Support exporting alert data')" class="font-medium text-yellow-600 hover:text-yellow-700 smooth-transition">View all</a>
|
412 |
</div>
|
413 |
</div>
|
414 |
</div>
|
|
|
444 |
<div class="px-5 py-4 border-b border-gray-200 bg-white">
|
445 |
<div class="flex items-center justify-between">
|
446 |
<h3 class="text-lg font-semibold text-gray-900">Regulatory Alerts</h3>
|
447 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('All Alerts', 'View all regulatory alerts and updates.', 'As a Regulatory Compliance Officer, I want to view all regulatory alerts from multiple sources with categorization and impact analysis, so that I can ensure our policies and procedures remain compliant.', '1. Must aggregate alerts from multiple sources\n2. Categorize by regulatory body\n3. Prioritize by impact\n4. Track acknowledgment\n5. Link to related documents\n6. Support comments\n7. Include historical archive\n8. Integrate with task management\n9. Provide centralized view with filtering\n10. Support assigning follow-up actions')" class="text-sm font-medium text-indigo-600 hover:text-indigo-700 smooth-transition">View All</a>
|
448 |
</div>
|
449 |
</div>
|
450 |
<div class="divide-y divide-gray-200">
|
|
|
514 |
<div class="px-5 py-4 border-b border-gray-200 bg-white">
|
515 |
<div class="flex items-center justify-between">
|
516 |
<h3 class="text-lg font-semibold text-gray-900">Recent Documents</h3>
|
517 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('All Documents', 'View all compliance documents in the system.', 'As a Document Controller, I want to access all compliance documents in the system with version history and access controls, so that I can manage our documentation effectively while maintaining security.', '1. Must store all compliance documents\n2. Track versions and changes\n3. Manage access controls\n4. Support document workflows\n5. Include approval processes\n6. Provide audit trails\n7. Offer bulk operations\n8. Integrate with other modules\n9. Handle various document types\n10. Support automated retention policies')" class="text-sm font-medium text-indigo-600 hover:text-indigo-700 smooth-transition">View All</a>
|
518 |
</div>
|
519 |
</div>
|
520 |
<div class="divide-y divide-gray-200">
|
|
|
531 |
</div>
|
532 |
<div class="ml-4 flex-shrink-0">
|
533 |
<div class="flex space-x-3">
|
534 |
+
<button onclick="showUserStoryModal('View Document', 'Preview document content.', 'As a Compliance Officer, I want to preview document content without downloading, so that I can quickly review documents while maintaining version control.', '1. Must display document content\n2. Support multiple formats (PDF, Word, Excel)\n3. Include zoom controls\n4. Allow annotation\n5. Support fullscreen view\n6. Work on mobile devices\n7. Preserve formatting\n8. Integrate with permissions\n9. Handle large documents efficiently\n10. Support downloading the document')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
535 |
<i class="fas fa-eye"></i>
|
536 |
</button>
|
537 |
+
<button onclick="showUserStoryModal('Download Document', 'Download document to local device.', 'As a Compliance Officer, I want to download documents to my local device when needed, so that I can work offline or share with authorized parties.', '1. Must download the original file\n2. Track download history\n3. Support multiple formats\n4. Include virus scanning\n5. Work with large files\n6. Preserve metadata\n7. Integrate with permissions\n8. Provide download options\n9. Be reliable with progress indicator\n10. Support bulk downloads when permitted')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
538 |
<i class="fas fa-download"></i>
|
539 |
</button>
|
540 |
+
<button onclick="showUserStoryModal('Document Actions', 'Additional document management actions.', 'As a Document Controller, I want context-specific actions for each document, so that I can perform necessary document management tasks efficiently.', '1. Must provide context-specific actions\n2. Include version management\n3. Support sharing options\n4. Allow metadata editing\n5. Include workflow actions\n6. Offer export options\n7. Support bulk operations\n8. Integrate with other features\n9. Adapt based on document type\n10. Support custom actions through plugins')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
541 |
<i class="fas fa-ellipsis-v"></i>
|
542 |
</button>
|
543 |
</div>
|
|
|
557 |
</div>
|
558 |
<div class="ml-4 flex-shrink-0">
|
559 |
<div class="flex space-x-3">
|
560 |
+
<button onclick="showUserStoryModal('View Document', 'Preview document content.', 'As a Compliance Officer, I want to preview document content without downloading, so that I can quickly review documents while maintaining version control.', '1. Must display document content\n2. Support multiple formats (PDF, Word, Excel)\n3. Include zoom controls\n4. Allow annotation\n5. Support fullscreen view\n6. Work on mobile devices\n7. Preserve formatting\n8. Integrate with permissions\n9. Handle large documents efficiently\n10. Support downloading the document')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
561 |
<i class="fas fa-eye"></i>
|
562 |
</button>
|
563 |
+
<button onclick="showUserStoryModal('Download Document', 'Download document to local device.', 'As a Compliance Officer, I want to download documents to my local device when needed, so that I can work offline or share with authorized parties.', '1. Must download the original file\n2. Track download history\n3. Support multiple formats\n4. Include virus scanning\n5. Work with large files\n6. Preserve metadata\n7. Integrate with permissions\n8. Provide download options\n9. Be reliable with progress indicator\n10. Support bulk downloads when permitted')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
564 |
<i class="fas fa-download"></i>
|
565 |
</button>
|
566 |
+
<button onclick="showUserStoryModal('Document Actions', 'Additional document management actions.', 'As a Document Controller, I want context-specific actions for each document, so that I can perform necessary document management tasks efficiently.', '1. Must provide context-specific actions\n2. Include version management\n3. Support sharing options\n4. Allow metadata editing\n5. Include workflow actions\n6. Offer export options\n7. Support bulk operations\n8. Integrate with other features\n9. Adapt based on document type\n10. Support custom actions through plugins')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
567 |
<i class="fas fa-ellipsis-v"></i>
|
568 |
</button>
|
569 |
</div>
|
|
|
583 |
</div>
|
584 |
<div class="ml-4 flex-shrink-0">
|
585 |
<div class="flex space-x-3">
|
586 |
+
<button onclick="showUserStoryModal('View Document', 'Preview document content.', 'As a Compliance Officer, I want to preview document content without downloading, so that I can quickly review documents while maintaining version control.', '1. Must display document content\n2. Support multiple formats (PDF, Word, Excel)\n3. Include zoom controls\n4. Allow annotation\n5. Support fullscreen view\n6. Work on mobile devices\n7. Preserve formatting\n8. Integrate with permissions\n9. Handle large documents efficiently\n10. Support downloading the document')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
587 |
<i class="fas fa-eye"></i>
|
588 |
</button>
|
589 |
+
<button onclick="showUserStoryModal('Download Document', 'Download document to local device.', 'As a Compliance Officer, I want to download documents to my local device when needed, so that I can work offline or share with authorized parties.', '1. Must download the original file\n2. Track download history\n3. Support multiple formats\n4. Include virus scanning\n5. Work with large files\n6. Preserve metadata\n7. Integrate with permissions\n8. Provide download options\n9. Be reliable with progress indicator\n10. Support bulk downloads when permitted')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
590 |
<i class="fas fa-download"></i>
|
591 |
</button>
|
592 |
+
<button onclick="showUserStoryModal('Document Actions', 'Additional document management actions.', 'As a Document Controller, I want context-specific actions for each document, so that I can perform necessary document management tasks efficiently.', '1. Must provide context-specific actions\n2. Include version management\n3. Support sharing options\n4. Allow metadata editing\n5. Include workflow actions\n6. Offer export options\n7. Support bulk operations\n8. Integrate with other features\n9. Adapt based on document type\n10. Support custom actions through plugins')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
593 |
<i class="fas fa-ellipsis-v"></i>
|
594 |
</button>
|
595 |
</div>
|
|
|
607 |
<div class="px-5 py-4 border-b border-gray-200 bg-white">
|
608 |
<div class="flex items-center justify-between">
|
609 |
<h3 class="text-lg font-semibold text-gray-900">My Tasks</h3>
|
610 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('All Tasks', 'View all assigned compliance tasks.', 'As a Compliance Team Member, I want to view all my assigned tasks with status and priority, so that I can manage my workload and meet deadlines effectively.', '1. Must list all assigned tasks\n2. Filter by status/priority\n3. Show due dates\n4. Include progress tracking\n5. Support task delegation\n6. Provide completion reporting\n7. Integrate with calendar\n8. Offer reminder options\n9. Provide comprehensive view with sorting\n10. Support task templates for recurring activities')" class="text-sm font-medium text-indigo-600 hover:text-indigo-700 smooth-transition">View All</a>
|
611 |
</div>
|
612 |
</div>
|
613 |
<div class="divide-y divide-gray-200">
|
614 |
<div class="p-5 hover:bg-gray-50 smooth-transition">
|
615 |
<div class="flex items-start">
|
616 |
<div class="flex-shrink-0 pt-0.5">
|
617 |
+
<input type="checkbox" onclick="showUserStoryModal('Complete Task', 'Mark task as completed.', 'As a Compliance Officer, I want to mark tasks as complete with supporting notes, so that we can track progress and maintain an audit trail of completed activities.', '1. Must mark tasks as complete\n2. Record completion time\n3. Capture completion notes\n4. Require approval when needed\n5. Update related workflows\n6. Trigger notifications\n7. Update reporting metrics\n8. Integrate with time tracking\n9. Handle complex completion workflows\n10. Support attachments for evidence')" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
|
618 |
</div>
|
619 |
<div class="ml-3 flex-1">
|
620 |
<div class="flex items-center justify-between">
|
|
|
631 |
<div class="p-5 hover:bg-gray-50 smooth-transition">
|
632 |
<div class="flex items-start">
|
633 |
<div class="flex-shrink-0 pt-0.5">
|
634 |
+
<input type="checkbox" onclick="showUserStoryModal('Complete Task', 'Mark task as completed.', 'As a Compliance Officer, I want to mark tasks as complete with supporting notes, so that we can track progress and maintain an audit trail of completed activities.', '1. Must mark tasks as complete\n2. Record completion time\n3. Capture completion notes\n4. Require approval when needed\n5. Update related workflows\n6. Trigger notifications\n7. Update reporting metrics\n8. Integrate with time tracking\n9. Handle complex completion workflows\n10. Support attachments for evidence')" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
|
635 |
</div>
|
636 |
<div class="ml-3 flex-1">
|
637 |
<div class="flex items-center justify-between">
|
|
|
648 |
<div class="p-5 hover:bg-gray-50 smooth-transition">
|
649 |
<div class="flex items-start">
|
650 |
<div class="flex-shrink-0 pt-0.5">
|
651 |
+
<input type="checkbox" onclick="showUserStoryModal('Complete Task', 'Mark task as completed.', 'As a Compliance Officer, I want to mark tasks as complete with supporting notes, so that we can track progress and maintain an audit trail of completed activities.', '1. Must mark tasks as complete\n2. Record completion time\n3. Capture completion notes\n4. Require approval when needed\n5. Update related workflows\n6. Trigger notifications\n7. Update reporting metrics\n8. Integrate with time tracking\n9. Handle complex completion workflows\n10. Support attachments for evidence')" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
|
652 |
</div>
|
653 |
<div class="ml-3 flex-1">
|
654 |
<div class="flex items-center justify-between">
|
|
|
670 |
<div class="px-5 py-4 border-b border-gray-200 bg-white">
|
671 |
<div class="flex items-center justify-between">
|
672 |
<h3 class="text-lg font-semibold text-gray-900">Compliance Calendar</h3>
|
673 |
+
<a href="javascript:void(0)" onclick="showUserStoryModal('Full Calendar', 'View complete compliance calendar.', 'As a Compliance Manager, I want to view all compliance deadlines in a calendar format with color-coding, so that I can plan and prepare for upcoming regulatory obligations.', '1. Must display all compliance deadlines\n2. Color-code by regulation type\n3. Show recurring events\n4. Include reminder options\n5. Support filtering\n6. Allow event creation\n7. Integrate with task management\n8. Support exporting/printing\n9. Provide multiple views (day, week, month)\n10. Support integration with external calendars')" class="text-sm font-medium text-indigo-600 hover:text-indigo-700 smooth-transition">View All</a>
|
674 |
</div>
|
675 |
</div>
|
676 |
<div class="p-5">
|
|
|
724 |
<div class="flex items-center justify-between mb-5">
|
725 |
<h3 class="text-lg font-semibold text-gray-900">Case Status</h3>
|
726 |
<div class="flex space-x-2">
|
727 |
+
<button onclick="showUserStoryModal('Chart Options', 'Configure chart display options.', 'As a Data Analyst, I want to configure chart display options to customize my view, so that I can analyze compliance data in the most effective way for my needs.', '1. Must allow changing chart types\n2. Support date range selection\n3. Enable data filtering\n4. Include export options\n5. Support annotation\n6. Allow comparison periods\n7. Include accessibility options\n8. Support custom metrics\n9. Be intuitive with tooltips\n10. Support resetting to defaults')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
728 |
<i class="fas fa-ellipsis-v"></i>
|
729 |
</button>
|
730 |
</div>
|
|
|
739 |
<div class="flex items-center justify-between mb-5">
|
740 |
<h3 class="text-lg font-semibold text-gray-900">SLA Compliance</h3>
|
741 |
<div class="flex space-x-2">
|
742 |
+
<button onclick="showUserStoryModal('Chart Options', 'Configure chart display options.', 'As a Data Analyst, I want to configure chart display options to customize my view, so that I can analyze compliance data in the most effective way for my needs.', '1. Must allow changing chart types\n2. Support date range selection\n3. Enable data filtering\n4. Include export options\n5. Support annotation\n6. Allow comparison periods\n7. Include accessibility options\n8. Support custom metrics\n9. Be intuitive with tooltips\n10. Support resetting to defaults')" class="text-gray-400 hover:text-gray-500 smooth-transition">
|
743 |
<i class="fas fa-ellipsis-v"></i>
|
744 |
</button>
|
745 |
</div>
|
|
|
756 |
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
757 |
<script>
|
758 |
// Modal functions
|
759 |
+
function showUserStoryModal(title, description, userStory, acceptanceCriteria) {
|
760 |
document.getElementById('modalTitle').textContent = title;
|
761 |
document.getElementById('modalDescription').textContent = description;
|
762 |
+
|
763 |
+
const storyContent = document.getElementById('userStoryContent');
|
764 |
+
storyContent.innerHTML = `
|
765 |
+
<div class="user-story-title">User Story:</div>
|
766 |
+
<div class="user-story-content">${userStory}</div>
|
767 |
+
<div class="acceptance-criteria">
|
768 |
+
<div class="acceptance-title">Acceptance Criteria:</div>
|
769 |
+
<div class="user-story-content">${acceptanceCriteria}</div>
|
770 |
+
</div>
|
771 |
+
`;
|
772 |
+
|
773 |
document.getElementById('functionModal').style.display = 'flex';
|
774 |
return false; // Prevent default behavior
|
775 |
}
|
|
|
778 |
document.getElementById('functionModal').style.display = 'none';
|
779 |
}
|
780 |
|
781 |
+
function copyStoryToClipboard() {
|
782 |
+
const storyContent = document.getElementById('userStoryContent').textContent;
|
783 |
+
navigator.clipboard.writeText(storyContent).then(() => {
|
784 |
// Show copied feedback
|
785 |
const copyBtn = document.querySelector('.copy-btn');
|
786 |
const originalHtml = copyBtn.innerHTML;
|
|
|
810 |
});
|
811 |
|
812 |
// Prevent default behavior for all links that show modals
|
813 |
+
document.querySelectorAll('a[onclick^="showUserStoryModal"]').forEach(link => {
|
814 |
link.addEventListener('click', function(e) {
|
815 |
e.preventDefault();
|
816 |
});
|
prompts.txt
CHANGED
@@ -1,4 +1 @@
|
|
1 |
-
|
2 |
-
Act as silicon valley top UI/UX designer and polisht the look and feel to top standards of global unicorns.
|
3 |
-
Make each user function (button or link etc.) clickable showing a modal with a ChatGPT prompt text that is fully self contained (includes full information about the project and also specifically about the user function that has been clicked for a GPT based code to be able to code it) ... also add a copy to clipboard function to the modal so the prompt can be copies ...
|
4 |
-
Make the modal once clicked stay visible, now all modals get invisible in a secend because the former link target # gets loaded.
|
|
|
1 |
+
Transform the "chatgpt prompt texts" into user-story format (agile product owner user stories type).
|
|
|
|
|
|