Skip to content

caesars-gambit-gantt - #91

Open
ifureadthishaveanicedave wants to merge 1 commit into
mainfrom
caesars-gambit-gantt
Open

caesars-gambit-gantt#91
ifureadthishaveanicedave wants to merge 1 commit into
mainfrom
caesars-gambit-gantt

Conversation

@ifureadthishaveanicedave

Copy link
Copy Markdown
Collaborator

html datei

Copilot AI review requested due to automatic review settings June 2, 2026 16:29
@sonarqubecloud

sonarqubecloud Bot commented Jun 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
E Reliability Rating on New Code (required ≥ A)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread SoftwareEngineeringStuff/caesars-gambit-gantt.html Dismissed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a standalone, self-contained HTML page under SoftwareEngineeringStuff/ to visualize sprint work items as an interactive Gantt chart (filters, legend toggles, tooltips, and theme toggle). This fits the repo’s “software engineering artifacts” area and provides a browsable project timeline view.

Changes:

  • Introduce caesars-gambit-gantt.html implementing a sprint-based Gantt visualization with inline CSS/JS.
  • Add UI elements for filtering by sprint/group, toggling categories, and displaying tooltip + stats.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +175 to +186
function renderStats(issues) {
const total = issues.length;
const done = issues.filter(i => i.status === 'Fertig').length;
const bugs = issues.filter(i => i.type === 'Bug').length;
const stories = issues.filter(i => i.type === 'Story').length;
document.getElementById('statsBar').innerHTML = `
<div class="stat"><div class="stat-val">${total}</div><div class="stat-label">Gesamt</div></div>
<div class="stat"><div class="stat-val">${done}</div><div class="stat-label">Fertig</div></div>
<div class="stat"><div class="stat-val" style="color:#dd6974">${bugs}</div><div class="stat-label">Bugs</div></div>
<div class="stat"><div class="stat-val" style="color:#5591c7">${stories}</div><div class="stat-label">Stories</div></div>
<div class="stat"><div class="stat-val" style="color:#6daa45">${Math.round(done/total*100)}%</div><div class="stat-label">Done Rate</div></div>
`;
Comment on lines +271 to +279
rowsHTML += `<div class="gantt-row" data-key="${issue.key}">
<div class="row-label">
<span class="icon">${issue.icon}</span>
<div style="min-width:0;flex:1">
<div style="display:flex;align-items:center;gap:4px;">
<div class="status-dot" style="background:${statusColor}"></div>
<span class="key">${issue.key}</span>
</div>
<div class="title-text" title="${issue.title.replace(/"/g,'&quot;')}">${issue.title}</div>
ISSUES.forEach(i => { catColors[i.category] = i.color; });
const items = CAT_ORDER.filter(c => catColors[c]).map(c => {
const active = activeCategories.has(c);
return `<div class="legend-item ${active?'active':''}" onclick="toggleCat('${c.replace(/'/g,"\\'")}')">
.gantt-wrapper{padding:var(--space-4) var(--space-6);overflow-x:auto;}
.gantt-container{min-width:900px;}
/* Sprint headers */
.sprint-headers{display:grid;margin-left:220px;border-radius:var(--radius-md) var(--radius-md) 0 0;overflow:hidden;background:var(--color-surface);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants