Skip to content

Commit 72e260b

Browse files
committed
v1.8.18 — Fix auto-update URL: canonical TigerTag-Studio-Manager (hyphens) — no more silent 301 redirect chain
1 parent 931bc46 commit 72e260b

6 files changed

Lines changed: 20 additions & 21 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ Versions follow [Semantic Versioning](https://semver.org/).
55

66
---
77

8+
## v1.8.18 — 2026-06-08
9+
10+
### Fixed
11+
12+
- **Auto-update is now more robust against transient GitHub outages.** The app was hitting GitHub with the old project URL (`TigerTag_Studio_Manager`, with underscores) and relying on GitHub to silently redirect to the canonical URL (`TigerTag-Studio-Manager`, with hyphens). Every check therefore made two round-trips instead of one — and any GitHub edge hiccup on the redirect aborted the whole update check. The app now talks to the canonical URL directly, halving the requests and removing a frequent failure surface. Same fix applied to the "GitHub" buttons in the sidebar and the About dialog.
13+
14+
---
15+
816
## v1.8.17 — 2026-06-08
917

1018
### Added

‎TRADEMARK.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ cloud service, or product brand without explicit written authorization.
3232
**"Tiger Studio"** is a trademark of the TigerTag Project.
3333

3434
Tiger Studio refers to the **official desktop inventory management application**
35-
published at [github.com/TigerTag-Project/TigerTag_Studio_Manager](https://github.com/TigerTag-Project/TigerTag_Studio_Manager).
35+
published at [github.com/TigerTag-Project/TigerTag-Studio-Manager](https://github.com/TigerTag-Project/TigerTag-Studio-Manager).
3636

3737
You **may** fork the Tiger Studio source code (MIT License) and build your own application.
3838

@@ -56,19 +56,19 @@ the Tiger Studio codebase, alongside the MIT copyright notice requirement.
5656
- The app's **README and store listing** (App Store, GitHub, website)
5757

5858
**The attribution must include a link** to
59-
`https://github.com/TigerTag-Project/TigerTag_Studio_Manager`
59+
`https://github.com/TigerTag-Project/TigerTag-Studio-Manager`
6060
or `https://tigertag.io` wherever the format supports hyperlinks.
6161

6262
**Ready-to-use badge** — drop this in your README:
6363

6464
```markdown
65-
[![Powered by Tiger Studio](https://raw.githubusercontent.com/TigerTag-Project/TigerTag_Studio_Manager/main/assets/badges/powered-by-tiger-studio.svg)](https://github.com/TigerTag-Project/TigerTag_Studio_Manager)
65+
[![Powered by Tiger Studio](https://raw.githubusercontent.com/TigerTag-Project/TigerTag-Studio-Manager/main/assets/badges/powered-by-tiger-studio.svg)](https://github.com/TigerTag-Project/TigerTag-Studio-Manager)
6666
```
6767

6868
Or in HTML:
6969
```html
70-
<a href="https://github.com/TigerTag-Project/TigerTag_Studio_Manager">
71-
<img src="https://raw.githubusercontent.com/TigerTag-Project/TigerTag_Studio_Manager/main/assets/badges/powered-by-tiger-studio.svg" alt="Powered by Tiger Studio">
70+
<a href="https://github.com/TigerTag-Project/TigerTag-Studio-Manager">
71+
<img src="https://raw.githubusercontent.com/TigerTag-Project/TigerTag-Studio-Manager/main/assets/badges/powered-by-tiger-studio.svg" alt="Powered by Tiger Studio">
7272
</a>
7373
```
7474

‎WORKLOG.md‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
1-
# Worklog — v1.8.17 (in progress)
1+
# Worklog — v1.8.18 (in progress)
22

33
## Added
4-
- Spool detail side panel — new **Balance** mode in the inline weight editor for users with a kitchen scale. A Net / Balance pill toggle sits to the right of the ✓/✕ buttons; in Balance mode the typed value is the scale reading (filament + container) and Studio writes `weight_available = balance − container_weight` to Firestore (reuses the existing `doWeightUpdate(r, "raw", val)` path). The Balance pill's `title` attribute shows the live conversion math ("= 736 g net (contenant : 165 g)") on hover and updates as the user types. Mode persists in localStorage. Input is hard-clamped to capacity (Net) or capacity + container (Balance) on every keystroke + at confirm, so an out-of-range value can no longer reach Firestore — `renderer/inventory.js`, `renderer/css/70-detail-misc.css`.
54

65
## Changed
7-
- Spool detail side panel — weight save confirmation. Replaced the verbose 1 s green toast ("✓ N g disponibles (G g − C g contenant) · jumeau mis à jour") with a small green check SVG that pops to the right of the "Poids" section title and fades out smoothly (~1.4 s, 50 % fade window with a slight retreat scale-down). Triggered from every save path (slider auto-save, inline confirm, balance mode) — `renderer/inventory.js`, `renderer/css/70-detail-misc.css`.
8-
- Spool detail side panel — slider auto-save moved from the `input` event to `change`. Pre-fix, pausing the slider mid-drag for 500 ms (still holding the pointer) would burn a Firestore write every pause; now the write is scheduled only when the user releases the thumb, and re-grabbing the slider inside the 500 ms post-release window cancels the pending request — `renderer/inventory.js`.
9-
- Spool detail side panel — server-authoritative slider on incoming snapshot. If a Firestore snapshot arrives while the user is mid-drag or has a pending debounced write, the patch toggles `disabled` for one tick to force-release the slider, applies the remote value to the slider/display/fill, and cancels the local pending write. The user can re-grab to edit again — `renderer/inventory.js`.
10-
- Spool detail side panel — container card. The container brand+model title is now inside the `.cc-meta` column alongside "Customizable" and the weight in grams, beside the container image, instead of sitting on its own line above the card body — `renderer/inventory.js`, `renderer/css/70-detail-misc.css`.
116

127
## Fixed
13-
- Spool detail side panel — weight-only patch path was leaving the "Updated" timestamp frozen, silently overwriting a value the user was typing in the manual-edit input, and snapping the slider thumb out from under a mid-drag gesture. The path now refreshes the "Updated" row in place, skips the inline-input write while the manual editor is open, and refuses to override the slider while the user has the pointer down. Also clamped the weight-bar fill percentage to 0-100 in both the friend-view and owner-view markup so a path-2 patch and a path-3 full rebuild produce identical widths when `weight_available > capacity` — `renderer/inventory.js`.
14-
- Spool detail side panel — saving a weight no longer reloads the product image and TigerTag SVG badges. `doWeightUpdate` was forcing a full `openDetail()` rebuild 500 ms after every commit (leftover from before the surgical-patch refactor); removed, since `refreshOpenDetail()` already patches the slider/display/fill/"Updated" row in place when `onSnapshot` echoes the new weight back — `renderer/inventory.js`.
15-
- Spool detail side panel — the "X g — hors plage [0–Y g]" error toast that had no auto-dismiss can no longer fire: typing in the inline editor is hard-clamped on every `input` event (Net max = capacity, Balance max = capacity + container), the confirm path re-clamps as belt-and-suspenders, and `doWeightUpdate` silently clamps as a final safety net. `#panelWeightResult` is also wiped on `openInlineEdit` so any pre-existing stuck toast vanishes — `renderer/inventory.js`.
8+
- Auto-update URLs were pointing at `TigerTag_Studio_Manager` (underscores) instead of the canonical `TigerTag-Studio-Manager` (hyphens). GitHub silently 301-redirected each request, doubling the round-trip chain and making every electron-updater check more fragile (every redirect is a chance for an edge 504 to abort the whole check). Renamed across `package.json` (electron-builder `publish.repo` — most critical, controls auto-update), `main.js` (About → website), `renderer/inventory.js` (sidebar + sign-in GitHub buttons) and `TRADEMARK.md` (badge URLs). Takes effect from v1.8.18 onwards — `package.json`, `main.js`, `renderer/inventory.js`, `TRADEMARK.md`.
169

1710
## Removed
1811

1912
## i18n
20-
- Added: `wbModeNet`, `wbModeGross`, `wbModeNetTitle`, `wbModeGrossTitle`, `wbModeHintGross`, `wbModeHintNoContainer` — 9 locales
21-
- Removed: `weightOk`, `weightOkTwin` — 9 locales (no longer used after the toast → check-pop replacement)

‎main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2260,7 +2260,7 @@ app.whenReady().then(async () => {
22602260
applicationVersion: app.getVersion(),
22612261
version: `Electron ${process.versions.electron}`,
22622262
copyright: '© TigerTag Project',
2263-
website: 'https://github.com/TigerTag-Project/TigerTag_Studio_Manager',
2263+
website: 'https://github.com/TigerTag-Project/TigerTag-Studio-Manager',
22642264
});
22652265
}
22662266

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tigertag-inventory",
3-
"version": "1.8.17",
3+
"version": "1.8.18",
44
"description": "Tiger Studio Manager — desktop app",
55
"main": "main.js",
66
"engines": {
@@ -42,7 +42,7 @@
4242
"publish": {
4343
"provider": "github",
4444
"owner": "TigerTag-Project",
45-
"repo": "TigerTag_Studio_Manager",
45+
"repo": "TigerTag-Studio-Manager",
4646
"releaseType": "draft",
4747
"publisherName": null
4848
},

‎renderer/inventory.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8059,13 +8059,13 @@ import { elgFanStep } from './printers/elegoo/widget_control.js';
80598059
});
80608060

80618061
/* ── community buttons ── */
8062-
$("sbGithubBtn").addEventListener("click", () => window.open("https://github.com/TigerTag-Project/TigerTag_Studio_Manager/"));
8062+
$("sbGithubBtn").addEventListener("click", () => window.open("https://github.com/TigerTag-Project/TigerTag-Studio-Manager/"));
80638063
$("sbMakerWorldBtn").addEventListener("click", () => window.open("https://makerworld.com/fr/@TigerTag/upload"));
80648064
$("sbDiscordBtn").addEventListener("click", () => window.open("https://discord.gg/3Qv5TSqnJH"));
80658065

80668066
// Sign-in placeholder buttons
80678067
$("btnSignInPlaceholder").addEventListener("click", openAddAccountModal);
8068-
$("btnSignInPlaceholderGh").addEventListener("click", () => window.open("https://github.com/TigerTag-Project/TigerTag_Studio_Manager/"));
8068+
$("btnSignInPlaceholderGh").addEventListener("click", () => window.open("https://github.com/TigerTag-Project/TigerTag-Studio-Manager/"));
80698069
$("btnSignInPlaceholderDiscord").addEventListener("click", () => window.open("https://discord.gg/3Qv5TSqnJH"));
80708070
$("sbQrWrap").addEventListener("click", () => window.open("https://taap.it/DF1Aqt"));
80718071

0 commit comments

Comments
 (0)