Skip to content

Commit bf2014d

Browse files
fix: test case detail created
- fixes done on the reported bugs - Ui enhancement as per opsfolio suite theme
1 parent 25343bc commit bf2014d

19 files changed

Lines changed: 2597 additions & 416 deletions

File tree

sqlpage/sqlpage.db

Whitespace-only changes.

support/Qualityfolio[md-generator]/css/testcasedetail.css

Lines changed: 713 additions & 0 deletions
Large diffs are not rendered by default.

support/Qualityfolio[md-generator]/css/theme.css

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -560,16 +560,39 @@ textarea {
560560
.btn-primary,
561561
.btn-default {
562562
/*background: linear-gradient(135deg, var(--primary), var(--accent)) !important;*/
563-
background: linear-gradient(135deg, #1bbac8, #439e8c) !important;
563+
background-color: oklch(67.66% .1481 238.14) !important;
564564
color: #ffffff !important;
565565
border: none !important;
566566
box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2) !important;
567567
}
568568

569+
.btn-edit-action {
570+
padding: 0.5rem !important;
571+
border-radius: 8px !important;
572+
box-shadow: none !important;
573+
}
574+
.btn-edit-action:hover {
575+
color: var(--tblr-body-color);
576+
background: #e9e6e6 !important;
577+
border-color: transparent;
578+
}
579+
580+
.btn-delete-action {
581+
padding: 0.5rem !important;
582+
border-radius: 8px !important;
583+
box-shadow: none !important;
584+
}
585+
.btn-delete-action:hover {
586+
color: var(--tblr-body-color);
587+
background: #e9e6e6 !important;
588+
border-color: transparent;
589+
}
590+
569591
.btn-primary:hover,
570592
.btn-default:hover {
571-
transform: translateY(-1px) !important;
572-
box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3) !important;
593+
/*transform: translateY(-1px) !important;*/
594+
box-shadow: none !important;
595+
background-color: oklch(72% .1481 238.14) !important; /* Slightly lighter */
573596
}
574597

575598
.btn-secondary,
@@ -582,7 +605,6 @@ textarea {
582605
.btn-secondary:hover,
583606
.btn-light:hover {
584607
background: #e2e8f0 !important;
585-
transform: translateY(-1px) !important;
586608
}
587609

588610
.btn-danger,

support/Qualityfolio[md-generator]/dashboard.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SET _suite_id_format = COALESCE((SELECT value FROM app_settings WHERE key = 'sui
1919
SET _req_id_format = COALESCE((SELECT value FROM app_settings WHERE key = 'req_id_format'), 'RQ-{NUM}');
2020

2121
SELECT 'shell' AS component,
22-
'' AS title,
22+
'Qualityfolio AI' AS title,
2323
'logo.png' AS image,
2424
'/' AS link,
2525
'Rahul Raj' AS user_name,

support/Qualityfolio[md-generator]/entries.sql

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SET _suite_id_format = COALESCE((SELECT value FROM app_settings WHERE key = 'sui
1616
SET _req_id_format = COALESCE((SELECT value FROM app_settings WHERE key = 'req_id_format'), 'RQ-{NUM}');
1717

1818
SELECT 'shell' AS component,
19-
'' AS title,
19+
'Qualityfolio AI' AS title,
2020
'logo.png' AS image,
2121
'/' AS link,
2222
'Rahul Raj' AS user_name,
@@ -136,13 +136,13 @@ SELECT 'html' AS component, '
136136
/* ============================================
137137
SCHEMA BANNER
138138
============================================ */
139-
#qfg-schema-banner { display: none; background: linear-gradient(135deg, #d3f7f9 0%, #e0f2fe 100%); border: 1.5px solid #93c5fd; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: 0.875rem; font-weight: 600; color: #169fb9; align-items: center; gap: 10px; flex-wrap: wrap; }
139+
#qfg-schema-banner { display: none;background: #F4F9FC;border: 1.5px solid color-mix(in oklab, var(--primary) 20%, transparent);border-radius: 10px;padding: 12px 16px;margin-bottom: 18px;font-size: 0.875rem;font-weight: 600;align-items: center;gap: 10px;flex-wrap: wrap; color: oklch(0.65 0.06 235.9); }
140140
#qfg-schema-banner.show { display: flex; }
141141
142142
/* ============================================
143143
BADGES & PILLS
144144
============================================ */
145-
.qfg-badge { background: #169fb9; color: #ffffff; border-radius: 9999px; padding: 4px 12px; font-size: 0.75rem; font-weight: 700; }
145+
.qfg-badge { background: oklch(0.65 0.06 235.9); color: #ffffff; border-radius: 9999px; padding: 4px 12px; font-size: 0.75rem; font-weight: 700; }
146146
.qfg-sep { color: #1d8397; }
147147
148148
/* ============================================
@@ -158,15 +158,8 @@ SELECT 'html' AS component, '
158158
/* ============================================
159159
BUTTONS
160160
============================================ */
161-
.qfg-refine-btn { float: right; background: linear-gradient(135deg, #11a6aa, #043044); color: #ffffff; border: none; border-radius: 8px; padding: 6px 14px; font-size: 0.8125rem; font-weight: 700; cursor: pointer; transition: all 0.2s ease; margin-bottom:10px}
162-
.qfg-refine-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
161+
.qfg-refine-btn { float: right; margin-bottom:10px}
163162
.qfg-footer-btns { display: flex; justify-content: flex-end; gap: 12px; align-items: center; padding-top: 20px; flex-shrink: 0; border-top: 1px solid var(--border); margin-top: 24px; }
164-
.qfg-btn-reset { background: var(--slate-100); color: var(--text-secondary); border: 1px solid var(--border); border-radius: 10px; padding: 7px 15px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
165-
.qfg-btn-reset:hover { background: var(--border); transform: translateY(-2px); }
166-
.qfg-btn-generate { background: linear-gradient(135deg, #11a6aa, #043044); color: #ffffff; border: none; border-radius: 10px; padding: 7px 15px; font-size: 0.85rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-md); transition: all 0.2s ease; }
167-
.qfg-btn-generate:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
168-
.qfg-btn-generate:disabled { opacity: 0.6; cursor: not-allowed; }
169-
170163
/* ============================================
171164
SPINNER
172165
============================================ */
@@ -188,7 +181,7 @@ SELECT 'html' AS component, '
188181
.qfg-case-card { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 16px; overflow: hidden; background: #ffffff; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
189182
.qfg-case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
190183
.qfg-case-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; background: var(--slate-50); }
191-
.qfg-case-id { font-size: 0.75rem; font-weight: 800; background: #8fdee1; color: #0e9289; border-radius: 6px; padding: 4px 10px; }
184+
.qfg-case-id { font-size: 0.75rem; font-weight: 800; background: #8fdee1; color: #0e9289; border-radius: 6px; padding: 4px 10px;cursor: pointer; }
192185
.qfg-case-title { flex: 1; font-weight: 700; font-size: 0.8rem; color: #666; min-width: 200px; }
193186
.pri-high { background: #fee2e2; color: #991b1b; }
194187
.pri-medium { background: #fef3c7; color: #92400e; }
@@ -378,7 +371,7 @@ SELECT 'html' AS component, '
378371
</div>
379372
<div class="qfg-field">
380373
<label>Requirement Details<span class="req">*</span>
381-
<button class="qfg-refine-btn " id="qfg-refine-btn">&#10024; AI Refine</button>
374+
<button class="btn btn-primary qfg-refine-btn " id="qfg-refine-btn">&#10024; AI Refine</button>
382375
</label>
383376
<textarea id="qfg-req-text" name="requirement_text" rows="5" placeholder="Enter your requirements here (one per line or separated by bullets)..."></textarea>
384377
<div class="hint">&#128161; Requirement Details will be used to generate test cases.</div>
@@ -417,8 +410,8 @@ SELECT 'html' AS component, '
417410
</div><!-- /reveal -->
418411
<!-- Buttons -->
419412
<div class="qfg-footer-btns">
420-
<button class="qfg-btn-reset" id="qfg-reset-btn">Reset</button>
421-
<button class="qfg-btn-generate" id="qfg-gen-btn">
413+
<button class="btn btn-secondary qfg-btn-reset" id="qfg-reset-btn">Reset</button>
414+
<button class="btn btn-primary qfg-btn-generate" id="qfg-gen-btn">
422415
<span id="qfg-btn-icon">&#10024;</span>
423416
<span id="qfg-btn-text">Create Test Cases</span>
424417
</button>

support/Qualityfolio[md-generator]/generate_markdown.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WHERE NULLIF($project_name, '') IS NULL OR NULLIF($requirement_text, '') IS NULL
88

99
-- Shell
1010
SELECT 'shell' AS component,
11-
'' AS title,
11+
'Qualityfolio AI' AS title,
1212
'logo.png' AS image,
1313
'/' AS link,
1414
'Rahul Raj' AS user_name,

0 commit comments

Comments
 (0)