mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
fix: address remaining review feedback
- Use i18n key for "games" label instead of hardcoded "Roms" - Remove min-width on size bar fill so zero-size platforms show no bar - Align Python TypedDict keys to str to match JSON wire format Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,5 +18,5 @@ class StatsReturn(TypedDict):
|
||||
STATES: int
|
||||
SCREENSHOTS: int
|
||||
TOTAL_FILESIZE_BYTES: int
|
||||
METADATA_COVERAGE: dict[int, list[MetadataCoverageItem]]
|
||||
REGION_BREAKDOWN: dict[int, list[RegionBreakdownItem]]
|
||||
METADATA_COVERAGE: dict[str, list[MetadataCoverageItem]]
|
||||
REGION_BREAKDOWN: dict[str, list[RegionBreakdownItem]]
|
||||
|
||||
@@ -187,7 +187,7 @@ function getCoveragePercent(matched: number, total: number): string {
|
||||
<!-- Detail table: label | value -->
|
||||
<div class="detail-table mt-2">
|
||||
<div class="detail-row">
|
||||
<span class="detail-label">Roms</span>
|
||||
<span class="detail-label">{{ t("setup.games") }}</span>
|
||||
<div>
|
||||
<v-chip size="x-small" label>
|
||||
{{ platform.rom_count }}
|
||||
@@ -345,7 +345,7 @@ function getCoveragePercent(matched: number, total: number): string {
|
||||
|
||||
.size-bar-fill {
|
||||
height: 100%;
|
||||
min-width: 2px;
|
||||
min-width: 0;
|
||||
background: rgb(var(--v-theme-primary));
|
||||
border-radius: 0 2px 2px 0;
|
||||
transition: width 0.3s ease;
|
||||
|
||||
Reference in New Issue
Block a user