Phase 2: Pin Version section, Hide, Settings, source links, pushpin icon#8
Merged
Merged
Conversation
- Pin Version: pushpin icon (was a star), clearer labels; pinned containers move into a collapsible "Pinned versions" section at the bottom of the dashboard, shown regardless of filter. - Hide containers: new hidden table + /api/hide(/:name) + /api/hidden; hidden containers are excluded from the dashboard and restorable from a new Settings section. Each card gets a Hide button. - Settings store: new settings table + GET/PUT /api/settings (defaultFilter, autoCheckOnOpen), with a typed/validated settings.js layer. The dashboard reads these on open; a new Settings "Behaviour" section edits them. - Per-card source/changelog link: capture org.opencontainers.image.source (fallback .url) from the image and render a "Changelog"/"Source" link (GitHub repos point at /releases). - Better mount diagnostics: per-container composeFileMissing flag drives an accurate dashboard banner (replaces the coarser STACKS_DIR-based /api/diagnostics), and the compose-not-found update error now suggests the correct same-path mount derived from the compose file's own location. Server tests 66/66; client builds clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second phase of the self-contained rework, plus the two UI asks from testing.
Your requests
org.opencontainers.image.source(fallback.url) label and renders a Changelog link (GitHub →/releases) or Source link./opt/stacks/minecraft/compose.yaml→ suggest/opt/stacks:/opt/stacks), instead of echoing a possibly-wrongSTACKS_DIR.Planned Phase 2
hiddentable +POST/DELETE /api/hide(/:name)+GET /api/hidden. A Hide button on each card; hidden ones are excluded from the dashboard and restorable from Settings.settingstable +GET/PUT /api/settings(typed/validatedsettings.js). New Settings Behaviour section: default view (updates-only/all) + check-on-open toggle. The dashboard reads these on open.Also
composeFileMissingflag (serverfs.existsSync) replaces the coarserSTACKS_DIR-based/api/diagnostics.Test plan
cd server && node --test→ 66/66 (added settings + hidden + isHidden tests)cd client && npm run build→ cleanNext
Phase 3 — scheduled background checks + Discord notify. Phase 4 — fetched changelog notes (this PR adds the link; Phase 4 adds the in-app "what's changed" panel).
Generated by Claude Code