feat: add bug report issue template and report button on game grid
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
21
.gitea/issue_template/bug_report.yaml
Normal file
21
.gitea/issue_template/bug_report.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Report Bug
|
||||||
|
about: Signaler un bug rencontré dans le jeu
|
||||||
|
labels:
|
||||||
|
- "type: bug"
|
||||||
|
body:
|
||||||
|
- type: input
|
||||||
|
id: game_id
|
||||||
|
attributes:
|
||||||
|
label: Game ID
|
||||||
|
description: L'identifiant de la partie concernée
|
||||||
|
placeholder: "ex: 42"
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: description
|
||||||
|
attributes:
|
||||||
|
label: Description
|
||||||
|
description: Décrivez le bug rencontré
|
||||||
|
placeholder: Décrivez ce qui s'est passé et ce que vous attendiez...
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
@@ -540,3 +540,30 @@ body {
|
|||||||
padding: 14px 32px;
|
padding: 14px 32px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ── Game footer ── */
|
||||||
|
|
||||||
|
.game-footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-bug-report {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 5px;
|
||||||
|
padding: 5px 12px;
|
||||||
|
font-family: 'Inter', sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--text-faint);
|
||||||
|
text-decoration: none;
|
||||||
|
border-radius: 100px;
|
||||||
|
transition: color 0.15s, background 0.15s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-bug-report:hover {
|
||||||
|
color: var(--orange);
|
||||||
|
background: var(--surface-tint);
|
||||||
|
}
|
||||||
|
|||||||
@@ -15,6 +15,17 @@
|
|||||||
width: width,
|
width: width,
|
||||||
middle: middle,
|
middle: middle,
|
||||||
}) }}></div>
|
}) }}></div>
|
||||||
|
|
||||||
|
<div class="game-footer">
|
||||||
|
<a href="https://git.lclr.dev/thibaud-lclr/ltbxd-actorle/issues/new?template=bug_report.yaml&title={{ ('Bug — Game #' ~ game.id)|url_encode }}" class="btn-bug-report" target="_blank" rel="noopener">
|
||||||
|
<svg width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<circle cx="8" cy="8" r="7"/>
|
||||||
|
<line x1="8" y1="5" x2="8" y2="9"/>
|
||||||
|
<circle cx="8" cy="11.5" r="0.5" fill="currentColor" stroke="none"/>
|
||||||
|
</svg>
|
||||||
|
Signaler un bug
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="game-start-container">
|
<div class="game-start-container">
|
||||||
|
|||||||
Reference in New Issue
Block a user