mirror of
https://github.com/PR0M3TH3AN/Artstr-Studio.git
synced 2026-11-05 05:00:39 +00:00
Adds a "Sidebar panels" group to the in-app docs:
- panels.md — overview + a table of every sidebar panel
with where it lives + a one-liner
- panel-metadata.md — Project Metadata fields (title, category,
IMDb/UPC/TVDB/MBID/custom-tag/language)
+ how they feed publish + designer-mode
equivalent
- panel-layers.md — Layers panel — per-mode surface scoping
(Cover/Disc/Jewel/Custom Art/Slide/Deck/
Pixel/Book), per-row controls, reorder +
group + multi-select, layer-options
field list
- panel-export.md — Export options panel — show/print toggles
for guides/bleed/safe/crops/fold, mode-
specific hides
- panel-print-save.md — Save / Open project JSON + Print/Save-as-
PDF print-dialog tips + Export JPEG/PNG +
mode-specific gotchas
- panel-credits.md — Credits panel — Linked Designs contributor
surfacing, tip button, publish-time tag
emission, private-publish behaviour
- panel-tool-options.md — Right-side floating Tool Options pane —
how it switches between tool options and
layer options, cross-links to per-tool docs
Registered as a new "Sidebar panels" group ordered after Vector
tools in the docs sidebar.
Co-Authored-By: Claude Opus 4.7 <[email protected]>
1.4 KiB
1.4 KiB
Credits panel
Surfaces every contributor whose published design you've imported into the current project — typically via a Linked Designs layer.
When the panel appears
- Hidden by default.
- Appears under Project Metadata once you add a layer whose source is another author's Nostr event.
- Hides again if you remove every linked layer.
What it shows
For each contributor:
- Avatar + display name — pulled from their kind-0 profile.
- One-line link count — how many distinct linked designs of theirs you've used.
- Tip button — opens a lightning-tip flow if the author has
a
lud16on their profile.
How it feeds publish
At publish time the resolver walks the linked tree once and adds two tag families to your event:
['p', <contributor-pubkey>, <relay-hint>, 'design-contributor']['link', '<kind>:<pubkey>:<dTag>', <relay-hint>]
External clients reading your event can resolve those links and credit the right authors.
Private designs
Private publishes intentionally don't emit the link / p tags (it would leak the link graph through unencrypted tags). The panel still shows you the credits in-app for awareness.
Tips
- If a contributor's avatar shows as a placeholder, their profile hasn't been cached yet — wait a few seconds for the profile request to resolve.
- Premium-locked linked sources are credited the same way once you unlock them.