Skip to content

Commit 5e63e47

Browse files
committed
Table rows one height (photo, placeholder, groups); report button orange while open; software-download icon on the Downloads entry
1 parent 596e724 commit 5e63e47

6 files changed

Lines changed: 22 additions & 10 deletions

File tree

‎WORKLOG.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@
1212
- Popover per the redesign mockup: title with a red heart, a short reassuring intro (free and open source for good), a caret pointing at the button that opened it, smart placement (right of the button when there is room, otherwise above, then below), the opener lit with a yellow ring while open, a ↗ hint on the hovered platform, lift-on-hover, 150 ms open / 120 ms close (off under reduced motion), options left-aligned (a global button rule was centring them); opened from the requests side card it sits to the right of the whole card (the topic list stays visible), or becomes a compact centred modal over a dimmed backdrop when there is no room
1313

1414
## Changed
15+
- "Improvements & suggestions" sidebar button turns solid orange with white sparkles while its side card is open — `renderer/css/10-settings.css`
1516
- Print-setting tiles (product card + detail panel): the icon now sits on the title line next to the label, and the value spans the full width below it, so long ranges ("190–230 °C") stay on one line — `renderer/css/70-detail-misc.css` (`.ro-ptile`)
1617
- Support menu copy no longer promises a badge for a gift alone: the code / claim lines say the gift is LINKED to the account, and the badge (Gold) comes with joining the TigerSquad — i18n `supportCodeHint`, `supportClaimToggle`, `supportClaimOk` (11 locales)
1718
- Banners (mine and a friend's): the Share badge moved to the end of the social-icons row, the badge line keeps Public / Friend + TigerSquad; My profile's TigerSquad row lost its heading and level text — `renderer/inventory.js` (`_socialsRowHTML`), `renderer/css/60-modals.css`, `renderer/inventory.html`
1819
- The sidebar coffee button and the requests card's coffee card wear the Ko-fi mark instead of the coffee cup — `renderer/inventory.html`, `renderer/report/index.js`, `renderer/css/10-settings.css` (the solid-yellow cup variant is gone)
1920
- Requests: attach JSON files too (up to the 5-file total, 2 MB each, must parse) — shown as a `{ }` chip; the server stores them next to the screenshots, links them in the issue and shows a short one (≤ 3,000 chars) inline in a collapsible block — `renderer/report/index.js`, `renderer/report/report.css`, `assets/svg/icons/icon_json.svg`, `renderer/css/70-detail-misc.css`; backend `functions/reportIssue.js` (`jsons`, max 3)
2021
- Requests card topics: darker, less saturated icon tiles with a bright icon per topic (bug `#351D25`/`#FF4545`, idea `#15382D`/`#20E39A`, improvement `#2D204B`/`#A66BFF`, catalogue `#3B3016`/`#FFC83D`, brand `#152F4D`/`#329BFF`, question `#3B1832`/`#FF4DB8`), a 3 px accent stripe on the left, and a 180 ms hover (lighter ground, subtle border in the topic colour, icon at 1.06; no motion under reduced motion); the coffee card loses its decorative heart — `renderer/report/index.js` (`KINDS` `tile` / `ink`), `renderer/report/report.css`
21-
- Sidebar Downloads entry uses a package-with-arrow icon instead of the plain download arrow — `assets/svg/icons/icon_package_download.svg`, `renderer/css/70-detail-misc.css` (`.icon-package-download`), `renderer/inventory.html`
22+
- Sidebar Downloads entry uses a dedicated software-download icon (arrow into a tray) — `assets/svg/icons/icon_software_download.svg`, `renderer/css/70-detail-misc.css` (`.icon-software-download`), `renderer/inventory.html`
2223
- "Support the project" section (Buy Me a Coffee, Ko-fi + PayPal, personal open-source project) in the README and `llms.txt` — `README.md`, `llms.txt`
2324

2425
## Fixed
26+
- Inventory / favourites table: every row is the same height — photo, colour placeholder or grouped spools (count badge) (the thumb is block-level in its cell instead of sitting on the text baseline) — `renderer/css/70-detail-misc.css` (`td.thumb-cell`)
2527
- Buy Me a Coffee cup drawn with white coffee and an outline that vanished on dark backgrounds — the coffee is now the brand yellow (`#FFDD00`) and the dark theme swaps in a white-outline variant (sidebar, support chooser, requests card) — `assets/svg/logos/logo_buy_me_coffee.svg`, `assets/svg/logos/logo_buy_me_coffee_dark.svg`, `renderer/css/10-settings.css`
2628

2729
## Removed

‎assets/svg/icons/icon_package_download.svg‎

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Loading

‎renderer/css/10-settings.css‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,3 +983,11 @@
983983
background: linear-gradient(135deg, var(--sq-a), var(--sq-b)); color: var(--sq-ink);
984984
}
985985
.support-squad-n[hidden] { display: none; }
986+
/* Improvements & suggestions — while its side card is open the button turns solid
987+
orange with white sparkles (collapsed and expanded sidebar alike). */
988+
.sb-community .sb-group > .sb-report-btn.is-on.is-on,
989+
:root[data-theme="dark"] .sb-community .sb-group > .sb-report-btn.is-on.is-on {
990+
background: var(--primary); border-color: var(--primary); color: var(--on-accent); box-shadow: 0 0 12px color-mix(in srgb, var(--primary) 35%, transparent);
991+
}
992+
.sb-community .sb-group > .sb-report-btn.is-on.is-on { --ic: #fff; }
993+
.sb-community .sb-group > .sb-report-btn.is-on.is-on > .icon { filter: none; }

‎renderer/css/70-detail-misc.css‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
.icon-bug { -webkit-mask-image: url('../../assets/svg/icons/icon_bug.svg'); mask-image: url('../../assets/svg/icons/icon_bug.svg'); }
110110
.icon-filter { -webkit-mask-image: url('../../assets/svg/icons/icon_filter.svg'); mask-image: url('../../assets/svg/icons/icon_filter.svg'); }
111111
.icon-json { -webkit-mask-image: url('../../assets/svg/icons/icon_json.svg'); mask-image: url('../../assets/svg/icons/icon_json.svg'); }
112-
.icon-package-download { -webkit-mask-image: url('../../assets/svg/icons/icon_package_download.svg'); mask-image: url('../../assets/svg/icons/icon_package_download.svg'); }
112+
.icon-software-download { -webkit-mask-image: url('../../assets/svg/icons/icon_software_download.svg'); mask-image: url('../../assets/svg/icons/icon_software_download.svg'); }
113113
.icon-community { -webkit-mask-image: url('../../assets/svg/icons/icon_community.svg'); mask-image: url('../../assets/svg/icons/icon_community.svg'); }
114114
.icon-coffee { -webkit-mask-image: url('../../assets/svg/icons/icon_coffee.svg'); mask-image: url('../../assets/svg/icons/icon_coffee.svg'); }
115115
.icon-gift { -webkit-mask-image: url('../../assets/svg/icons/icon_gift.svg'); mask-image: url('../../assets/svg/icons/icon_gift.svg'); }
@@ -712,6 +712,10 @@
712712
.card-badges-tl--sm .card-tl-badge { width: 15px; height: 15px; border-width: 1px; }
713713

714714
td.thumb-cell { padding: 4px 6px; width: 58px; }
715+
/* Block-level in its cell: an inline thumb sits on the text baseline, and a photo
716+
and a colour placeholder have different baselines — the rows came out at
717+
different heights. As a block both are exactly the thumb's size. */
718+
td.thumb-cell > .thumb-wrap, td.thumb-cell > .group-thumb-badge { display: flex; width: fit-content; }
715719

716720
/* ── identical-spool grouping (Table) ───────────────────────────────────── */
717721
/* Group header row — the "folder". Raised background + bold; clicking it

‎renderer/inventory.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<!-- Downloads page on tigersystem.io (apps for every platform), in the
105105
user's language when the site has it. -->
106106
<button class="sb-download-btn" id="sbDownloadBtn">
107-
<span class="icon icon-package-download icon-14"></span>
107+
<span class="icon icon-software-download icon-14"></span>
108108
<span class="label" data-i18n="sbDownloadBtn">Downloads</span>
109109
</button>
110110
<!-- Documentation wiki (opens in the browser) -->

0 commit comments

Comments
 (0)