Skip to content

Show all filament and manufacturer fields in the library detail views - #999

Merged
Donkie merged 2 commits into
masterfrom
worktree-issue-992-detail-fields
Aug 1, 2026
Merged

Show all filament and manufacturer fields in the library detail views#999
Donkie merged 2 commits into
masterfrom
worktree-issue-992-detail-fields

Conversation

@Donkie

@Donkie Donkie commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Fixes #992.

The spool view's filament section only listed the specs, and neither the spool nor the filament view showed anything of the manufacturer beyond its name.

  • The filament section in the spool view gains price, article number, external ID, registered and comment, and always shows spool weight instead of hiding it when unset.
  • Both the spool and filament views get a read-only manufacturer section (its fields, its extra fields, and a link to it).
  • URLs in comments and text extra fields are now links, opening in a new tab with rel="nofollow noopener". Read-only values render them inline; where the value stays editable, each URL gets an external-link icon next to the input, since an inline anchor cannot also be a caret target.

Only http(s) and www. forms are linked, so a value can never produce a javascript: or data: href. Trailing sentence punctuation and wrapping parens are trimmed off the match.

The mirrored extra fields are emitted as rows of the section's own field grid rather than under their own "Extra fields" heading, which otherwise reads as a peer of FILAMENT and MANUFACTURER. Sections that own their extra fields keep the heading and its "Manage fields" link.

Donkie added 2 commits August 1, 2026 09:52
The spool view's filament section only listed the specs, and neither the
spool nor the filament view showed anything of the manufacturer beyond its
name. Fill both in, and render URLs in text fields as links.

- Spool view's filament section gains price, article number, external id,
  registered and comment, and always shows spool weight.
- New read-only VendorSection, shown in both the spool and filament views,
  with the manufacturer's fields and extra fields plus a link to it.
- Any URL in a comment or text extra field is now a link opening in a new
  tab with rel="nofollow noopener": inline in read-only values, and as an
  icon beside the input where the value stays editable.

Fixes #992
In the spool view the filament's custom fields sat under their own "Extra
fields" heading, styled exactly like the FILAMENT and MANUFACTURER headings
beside it, so it read as a third peer section rather than as more of the
filament. Emit those rows straight into the preceding field grid instead.

Only the read-only mirrors change; an entity's own extra-fields section
keeps its heading, which is also where the "Manage fields" link lives.
@Donkie
Donkie merged commit 13b7a9b into master Aug 1, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show more filament and manufacturer fields in the library detail views

1 participant