mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
When a spool is already linked in Spoolman, the FilamentHoverCard now shows "Open in Spoolman" button instead of "Link to Spoolman". This allows users to quickly navigate to the spool's page in Spoolman for editing. Changes: - Add GET /api/v1/spoolman/spools/linked endpoint returning tag->spool_id map - FilamentHoverCard shows "Open in Spoolman" when linkedSpoolId is set - "Link to Spoolman" only shows when spool is not linked - Fix unlinked spools detection to strip JSON quotes from empty tags - Add toast notifications for link success/failure - Invalidate linked-spools query after linking - Add backend tests for linked spools endpoint - Add frontend tests for LinkSpoolModal Closes #210
7 lines
59 B
Bash
Executable File
7 lines
59 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd frontend
|
|
npm run lint
|
|
npm run test:run
|
|
cd ..
|