79 Commits

Author SHA1 Message Date
MayaTheShy
a1ff2433e4 feat: refactor texture resolution logic to streamline item icon rendering 2026-03-26 13:10:58 -04:00
MayaTheShy
25623b735c feat: add aliased texture names for improved block texture handling 2026-03-25 23:06:03 -04:00
MayaTheShy
1050ed84f2 feat: enhance texture mapping with dynamic aliases and new Create mod textures 2026-03-25 23:05:05 -04:00
MayaTheShy
78e7c92893 Change turtle dashboard default URL to turtles.spatulaa.com 2026-03-22 22:52:57 -04:00
MayaTheShy
e59b6c1832 feat: upgrade Node.js version to 20-alpine in Dockerfiles and improve healthcheck command 2026-03-22 22:44:26 -04:00
MayaTheShy
33845c70d7 Add cross-link to Turtle Dashboard in App component 2026-03-22 04:10:06 -04:00
MayaTheShy
fa18c72cf7 Add styles for cross-link button in App.css 2026-03-22 04:10:02 -04:00
MayaTheShy
6adbd88b22 Add remote reboot functionality to SettingsPanel 2026-03-22 03:16:24 -04:00
MayaTheShy
c65fd67b8e Add styles for remote reboot section in SettingsPanel 2026-03-22 03:16:20 -04:00
MayaTheShy
01ca8ca127 Add rebootComputers function to initiate remote reboot via API 2026-03-22 03:15:42 -04:00
MayaTheShy
efc3a88052 Add security headers to nginx configuration for enhanced protection 2026-03-22 02:57:13 -04:00
MayaTheShy
48d34a5eeb Refactor nginx configuration to remove duplicate texture proxy cache zone definition 2026-03-22 02:42:12 -04:00
MayaTheShy
1a6d32c16b Add texture proxy cache configuration to nginx 2026-03-22 02:41:45 -04:00
MayaTheShy
8c02dc15c0 Fix lastUpdate assignment to handle null values in _applyStateData function 2026-03-22 02:38:40 -04:00
MayaTheShy
4045def0a7 Add reconnectDelay variable for WebSocket reconnection logic 2026-03-22 02:38:35 -04:00
MayaTheShy
ea75c1eabc Implement exponential backoff for WebSocket reconnection and enhance error handling in recipe management functions 2026-03-22 02:38:21 -04:00
MayaTheShy
edcc19e5a4 Add command ID to dropper nickname request for idempotency 2026-03-22 02:38:12 -04:00
MayaTheShy
5162a71be4 Add support for API key at build time in Dockerfile for Vite 2026-03-22 02:15:13 -04:00
MayaTheShy
10dc27a2c4 Enhance API request handling with authentication headers and API key support 2026-03-22 02:14:15 -04:00
MayaTheShy
224738f2e7 Add commandId generation for idempotent requests in API calls 2026-03-22 02:12:13 -04:00
MayaTheShy
12c17d3bfd Add functionality to manage dropper nicknames: implement set and fetch methods 2026-03-21 20:54:57 -04:00
MayaTheShy
846f3e8b80 Add SettingsPanel component for managing dropper nicknames 2026-03-21 20:54:55 -04:00
MayaTheShy
6e2c17de29 Add settings panel CSS styles for overlay modal and dropper nickname list 2026-03-21 20:54:52 -04:00
MayaTheShy
580b53ed6b Update dropper selection display: include nicknames for better identification 2026-03-21 20:54:49 -04:00
MayaTheShy
862002c0cf Add settings panel functionality: include toggle button and overlay for settings 2026-03-21 20:54:45 -04:00
MayaTheShy
b454fd5516 Update dropper selection display: include client ID in dropdown options for better identification 2026-03-21 20:37:20 -04:00
MayaTheShy
98f415d7d4 Refactor InventoryGrid styles: update category tab and item grid appearance for improved layout and visual consistency 2026-03-21 20:17:13 -04:00
MayaTheShy
993b5ac55a Update dropper selection condition: allow selection when one or more droppers are available 2026-03-21 20:12:58 -04:00
MayaTheShy
c3ee7d0d42 Refactor selected item handling: update state management to derive selected item from name and ensure real-time inventory count 2026-03-21 20:10:57 -04:00
MayaTheShy
79eca14f4c Add dropper location selector: discover available droppers on network, pass through server, and add dropdown in order panel for location-based dispensing 2026-03-21 19:57:13 -04:00
MayaTheShy
05291c9373 Implement multi-line scrollable chart with tooltip support: enhance data visualization and user interaction 2026-03-21 19:40:33 -04:00
MayaTheShy
73fbe98d86 Add multi-line scrollable chart and tooltip styles: enhance user interaction and visual feedback 2026-03-21 19:40:04 -04:00
MayaTheShy
898353e8c6 Refactor texture URL handling: replace CDN links with proxy-based URLs for mod and vanilla textures 2026-03-21 19:30:13 -04:00
MayaTheShy
ba8acc1c27 Enhance Analytics Panel styles: improve layout, spacing, and hover effects for better user experience 2026-03-21 19:30:10 -04:00
MayaTheShy
3884b850c8 Add caching for texture requests: implement proxy and cache settings for texture assets 2026-03-21 19:30:03 -04:00
MayaTheShy
05f5a3519e Add texture proxy and caching mechanism: implement upstream fetching and local caching for texture assets 2026-03-21 19:29:59 -04:00
MayaTheShy
d1c9256ed8 Implement WebSocket health checks and HTTP polling for improved connection reliability 2026-03-21 19:26:33 -04:00
MayaTheShy
854fcaf66f Enhance connection status display: add bridge connection status and last update time 2026-03-21 19:26:28 -04:00
MayaTheShy
62984b5d18 Add styling for last update text: adjust font size, color, and text shadow for better visibility 2026-03-21 19:26:26 -04:00
MayaTheShy
39a04cc5e9 Refactor category tabs and item grid styles: adjust padding, margins, and colors for improved UI consistency 2026-03-21 19:14:14 -04:00
MayaTheShy
29498a2f6a Major UI overhaul: bigger icons, creative inventory tabs, grouped smelting, alerts popup, analytics, mod icons
- Inventory: Bigger item icons (48px) filling their slots, MC-style hover tooltips
- Creative inventory category tabs (All/Blocks/Tools/Combat/Food/Redstone/Materials/Misc)
- Smelting recipes grouped by output item with collapsible sections
- Alerts moved from full tab to popup overlay triggered from header bell icon
- New Analytics tab with SVG charts (storage over time, top items, item trend lookup)
- Mod icon support for ComputerCraft (CC:Tweaked) via GitHub CDN fallback
- Server: new /api/history-summary endpoint for aggregate storage history
- Store: fetchHistorySummary and fetchItemHistory for analytics data
2026-03-21 19:07:17 -04:00
MayaTheShy
c25ef9f2cc Fix inventory disappearing: add WS keep-alive pings + HTTP API fallback
- Server pings web clients every 25s to keep connections alive through reverse proxies
- Client fetches /api/inventory on page load (doesn't depend solely on WebSocket)
- Prevent duplicate WebSocket connections on reconnect
- Deduplicate initial_state/state_update handlers
2026-03-21 18:35:17 -04:00
MayaTheShy
80338d1973 Fix live updates: debounce DB writes, broadcast before saving, include smeltable/craftable in updates 2026-03-21 18:15:50 -04:00
MayaTheShy
9f322003db Add SQLite persistence + official Minecraft item icons
Database (better-sqlite3):
- Persist items, furnaces, alerts, recipes, settings to SQLite
- Auto-restore last known state when server restarts or bridge disconnects
- Item count history tracking (5-min snapshots, 7-day retention)
- /api/history/:itemName endpoint for item count history
- Docker volume for database file persistence
- Graceful shutdown with DB connection cleanup

Icons:
- Replace mc-heads.net with official Minecraft game textures via CDN
- Cascading fallback: item texture -> block texture -> emoji
- In-memory URL cache to avoid redundant network requests
- Block texture suffix mapping (furnace_front, barrel_top, etc.)
- Crisp pixel-art rendering with image-rendering: pixelated
2026-03-21 18:10:44 -04:00
MayaTheShy
fe6ac23329 Harden components: add ErrorBoundary, null-safe rendering 2026-03-21 17:51:07 -04:00
MayaTheShy
23d237fa20 Add null check to formatCount function for default zero return 2026-03-21 17:30:55 -04:00
MayaTheShy
2853ca98a0 Update server configuration and Docker setup for improved deployment 2026-03-21 17:15:04 -04:00
MayaTheShy
cc64b568a0 Remove LICENSE file for @babel/code-frame package 2026-03-21 16:55:47 -04:00
MayaTheShy
c1399fb44e Add StorageOverview component for inventory management display 2026-03-21 16:53:11 -04:00
MayaTheShy
86904bc01f Add CSS file for inventory management styles 2026-03-21 16:51:19 -04:00