caesars-gambit-gantt - #91
Open
ifureadthishaveanicedave wants to merge 1 commit into
Open
Conversation
html datei
|
Contributor
There was a problem hiding this comment.
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.htmlimplementing 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,'"')}">${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);} |
Matthiasbit
approved these changes
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




html datei