Commit Graph
63 Commits
Author SHA1 Message Date
thePR0M3TH3ANandClaude Sonnet 4.6 ec0cefdff5 Clean up layer name display - hide image URLs
- Image layers now show as '[Image]' unless they have a specific name
- Text layers show extracted text content or '[Text]' if empty
- Prevents full image URLs from cluttering the layer list

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 15:48:39 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 f7a74f5af9 Improve preview rendering with accurate disc shape and layer positioning
- Disc preview now uses border-radius:50% circle matching app's real rendering
- Add white center hole overlay (not a cutout, just white circle on top)
- Layer positioning now correct: x,y,w,h as percentage of disc diameter
- Fix font sizing: convert pt to px with proper DPI scaling (96/72 ratio)
- Fix layer positioning from incorrect pixel-based to correct percentage-based
- Case template slots now use correct CSS transform for image positioning
- Show correct objectFit, zoom, x, y, rotate for both disc and template images
- Filter layers properly by target to show only designer-disc layers in preview

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 15:47:03 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 179189aedc Switch to case template layout when importing disc designs
- Import buttons now set templateMode to 'case' for 2-disk print template view
- Shows the case cover with front/back/spine and 2 disc slots

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 15:38:45 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 98e144aa18 Swap button order for disc imports - show Disk 2 before Disk 1
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 15:37:47 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 4d2d4e7296 Update preview modal with design-type-specific buttons
- For disc designs: show 'Import into Disk 1' and 'Import into Disk 2' buttons
- For templates: show 'Print / Save PDF' button
- Buttons are built dynamically based on design type
- Disc imports automatically switch to template mode
- Both designs still have 'Save JSON' option

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 15:34:40 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 fc4e3ff4fb Add design preview modal with Print/Save PDF and Save JSON buttons
- Add Preview button next to Use on all feed cards and search results
- Create full-screen preview modal showing disc/template design
- Preview renders background image + text layers for disc designs
- Preview shows front/spine/back images for case templates
- Save JSON button downloads design payload directly
- Print/Save PDF temporarily loads design, prints, then restores original state
- Uses afterprint event to seamlessly restore user's work after printing

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 15:30:48 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 8b7022c45e Style range sliders and checkboxes with theme cyan color
- Add accent-color: #00d9ff to input[type='range'] and input[type='checkbox']
- Custom webkit slider thumb and track styling with cyan theme
- Custom Firefox slider styling with cyan theme
- Radio button styling with cyan accent

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:14:46 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 2739e1e941 Fix font loading and remove tagline text
- Switch from @import to <link> tags for more reliable Google Fonts loading
- Add preconnect hints for faster font loading
- Change font-display from 'swap' to 'block' to ensure Press Start 2P loads
- Remove '~ DISC & CASE DESIGN STUDIO ~' tagline text

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:13:47 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 daf13dc8b2 Remove glow effects from header title and tagline for cleaner look
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:11:24 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 42bcc81ffa Fix section heading styling - separate from main title
- Change 'Cover preview' from h1 to h2
- Add h2 styling: VT323 pixel font, normal color (no neon)
- h2 is 1rem (much smaller than h1's 2.2rem)
- Remove glow effects from section headings
- Maintain visual hierarchy: h1 is title, h2 is section header

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:08:07 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 aac2f689df Make CaseWrap title MUCH bigger and fix font loading
- Increase h1 font size from 1.3rem to 2.2rem (!important)
- Force Press Start 2P font with !important flags
- Increase logo size from 28px to 48px
- Add !important to font-family and font-weight for consistency
- Better visual hierarchy and readability

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:06:57 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 9c38cfbd02 Fix CaseWrap title - bigger and clearer font
- Increase font size from 0.9rem to 1.3rem for visibility
- Remove gradient effect that was obscuring the pixel font
- Switch to solid cyan color (#00d9ff) for clarity
- Keep neon glow effects (text-shadow + drop-shadow)
- Ensure Press Start 2P pixel font is clearly visible
- Increase letter-spacing slightly for better readability

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:05:00 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 ed31c7bba6 Redesign header with neon cyberpunk effects
Title improvements:
- Add cyan-to-blue gradient text for dynamic look
- Multi-layer drop-shadow glow effects (4px + 12px)
- Text-shadow for additional neon glow
- Restructured layout: logo + title on one line, tagline below

Logo:
- Add cyan glow effect with drop-shadow filter
- Maintains 28px height with better visual impact

Tagline:
- New subtitle '~ DISC & CASE DESIGN STUDIO ~'
- Styled in bright cyan neon color
- Cyan text-shadow for layered glow effect
- Pixel-style spacing with wider letter-spacing
- Centered layout for visual balance

Result: Full neon cyberpunk aesthetic on header!

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:03:52 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 81c508fa43 Style scrollbars with cool cyberpunk aesthetic
- Add Firefox scrollbar-color with cyan accent on panel background
- Style webkit scrollbars (Chrome, Safari, Edge) with:
  - 12px width for thicker scrollbar
  - Cyan (#00d9ff) color with 2px borders
  - Inset box-shadow for pixel-style depth
  - Bright cyan glow on hover with 6px blur
- Match scrollbars to overall cool blue/cyan color scheme
- Create unified retro pixel aesthetic across entire UI

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:01:47 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 475899181d Update to cool cyberpunk colors and sharp pixel-style edges
Colors:
- Dark mode: Deep blue backgrounds (#0a0e27) with cyan accents (#00d9ff)
- Light mode: Cool cyan backgrounds (#e8f4f8) with bright cyan accents (#00b8e6)
- Updated text colors, borders, and highlights for cool palette
- Hot pink warnings (#ff006e) and bright green success (#00d084)

Edges:
- Remove all rounded corners (border-radius: 0px) for sharp pixel look
- Thicken borders from 1px to 2px for more defined edges
- Add subtle 2px box-shadows to fieldsets and buttons for 3D pixel effect
- Create hard-edged, retro computer aesthetic

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 14:00:58 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 e8ba522f40 Reduce logo and title size to prevent wrapping
- Reduce logo height from 40px to 28px
- Reduce logo right margin from 12px to 8px
- Reduce h1 font size from 1.2rem to 0.9rem
- Add white-space: nowrap to prevent title wrapping
- Tighten line-height and letter-spacing for compact display

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:58:10 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 1a183a6d07 Switch to pixel-style retro fonts
- Add Google Fonts: Press Start 2P and VT323
- Use Press Start 2P for main heading (h1) - iconic 8-bit arcade style
- Use VT323 for body text, labels, buttons, hints - readable pixel font
- Add letter-spacing throughout for crisp pixel aesthetic
- Reduce border-radius on buttons for more angular pixel look
- Create complete retro pixel/8-bit visual style

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:57:39 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 fdfcc0af7f Replace tab icons with cleaner 32px icons
- Use paper_icon_32px.png for Template tab
- Use disk_icon_32px.png for Disc Designer tab
- Remove old larger PNG icon files
- Icons maintain 40px display size with transparent backgrounds

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:56:36 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 06f20627f5 Make tab icons larger with transparent backgrounds
- Increase icon size from 26px to 40px
- Set inactive tab background to transparent
- Adjust opacity from 0.85 to 0.75 for inactive state
- Remove margin-right from larger icons
- Increase gap between icon and text

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:53:22 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 501fa03e69 Replace tab icons with custom PNG images
- Replace Template tab SVG icon with template.png
- Replace Disc Designer tab SVG icon with disk_designer.png
- Update CSS to style image icons with proper spacing and opacity
- Add vertical alignment and margin spacing to image icons

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:52:36 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 81b979a11c Update fonts to 90s retro web 1.0 style
- Change main font family to Verdana/Georgia for classic 90s feel
- Update headings to use Georgia serif font
- Use bold weights and classic sans-serif for buttons and labels
- Adjust font sizes and letter spacing for retro aesthetic
- Decrease button border radius for more angular 90s look
- Add Verdana/Arial to labels, hints, and buttons

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:44:05 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 fe9b47338f Add colorful disc logo to header
- Add animated CD logo next to CaseWrap Studio title
- Logo sized at 40px height for clean look
- Provides visual branding for the app

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:41:42 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 fd6785ea83 Add 'Close project' buttons with save confirmation dialogs
- Add close buttons to Designer and Templates tabs
- Show confirmation dialog when closing projects with content
- Prompt user to save/publish before closing
- Designer: save as JSON file or publish to Nostr
- Template: save project as JSON file
- Clear all project state after closing

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:17:45 -04:00
thePR0M3TH3ANandClaude Sonnet 4.6 c47f4d9989 Fix disc design layer import and add designer metadata population
- Fix 'key is not defined' error in publishDiscDesignToNostr function
- Preserve layers when importing disc designs into template slots from both JSON files and Nostr
- Check both discDesign.layers and top-level payload.layers during import
- Populate designer metadata (title, category, imdbId) when loading projects
- Auto-set Nostr browse modal to 'disc-design' filter when importing from template slots
- Add undo/redo feature plan documentation for future implementation

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-15 13:02:07 -04:00
thePR0M3TH3AN 41979a667d Fix: define discSlotNames constant that was missing after refactor, remove diagnostics 2026-05-15 12:25:02 -04:00
thePR0M3TH3AN d8eca82eff Fix: syncAllDiscInputs was calling buildDiscImportUI which wiped DOM and killed event listeners 2026-05-15 12:17:59 -04:00
thePR0M3TH3AN 3076357131 Single-design model: remove A-D design slots, simplify to one active design at a time. Templates tab disc slots now import designs per-position from file or Nostr. 2026-05-15 12:10:55 -04:00
thePR0M3TH3AN a09c3d2f40 Clean up stale designerImportTarget and sync button references; add null guards to dead community render paths 2026-05-15 11:48:11 -04:00
thePR0M3TH3AN b5aa345c20 Remove redundant Save button from Designer metadata — both tabs already write to same state.meta in real-time 2026-05-15 11:43:15 -04:00
thePR0M3TH3AN d316333e75 Designer metadata: remove Load from Nostr/import dropdown, add Save button with feedback, show project title in disc preview label 2026-05-15 11:38:11 -04:00
thePR0M3TH3AN 6fdc6c9d28 Require Nostr login before publishing (templates, designs, notes, reactions); save/print/import still work without login 2026-05-15 11:23:32 -04:00
thePR0M3TH3AN de96dd4ad0 Add spinner feedback to Sign in with Nostr button while loading pubkey 2026-05-15 11:21:44 -04:00
thePR0M3TH3AN 937ac826f8 Auto-set modal filter to 'All' when Browse Templates opened from Templates tab 2026-05-15 11:19:10 -04:00
thePR0M3TH3AN 6f3c18a344 Auto-set modal filter to 'Disc Designs' when Browse Templates opened from Disc Designer tab 2026-05-15 11:17:57 -04:00
thePR0M3TH3AN 25ee27dc36 Rename Templates tab button to 'Load from file' for consistency 2026-05-15 11:13:59 -04:00
thePR0M3TH3AN 69ba74a4ad Make Templates tab action buttons match Disc Designer styling (equal-width, no primary class) 2026-05-15 11:12:28 -04:00
thePR0M3TH3AN 3599e524bf Move Browse Templates + Load from File to Disc Designer quick actions bar, equal width buttons, remove from Save & Export panel 2026-05-15 11:09:18 -04:00
thePR0M3TH3AN 46f1e4cf87 Designer: remove Print button from Save & Export panel (disc designs only print via Avery templates on Templates tab) 2026-05-15 11:05:04 -04:00
thePR0M3TH3AN 5e695c631c Remove Import from Nostr button and event handler from Print & Save panel 2026-05-15 11:01:38 -04:00
thePR0M3TH3AN 033a82d046 Move Load project button to quick actions bar next to Browse Templates 2026-05-15 10:41:51 -04:00
thePR0M3TH3AN 115fbb7700 Fix duplicate 'title' declaration in downloadSingleDesign(); add safe event helper 2026-05-15 10:32:46 -04:00
thePR0M3TH3AN b36be82090 Fix Print & Save panel order: ensure it renders after Project Metadata in both tabs 2026-05-15 10:11:07 -04:00
thePR0M3TH3AN 86928af732 Restructure: rename Export to Display Options, create new Print & Save step 6 panels for both tabs with required title+category validation on save/publish 2026-05-15 09:52:15 -04:00
thePR0M3TH3AN 11486c616d UI sweep: hide cover-specific export toggles in disc/jewel modes, hide layer controls in cover/jewel modes 2026-05-15 09:45:09 -04:00
thePR0M3TH3AN bf3715f6aa Truncate long layer names in Layers panel list to prevent horizontal scroll 2026-05-15 09:41:28 -04:00
thePR0M3TH3AN 962d2610fc Add distinctive SVG icons to Template and Disc Designer top-level tabs 2026-05-15 09:38:38 -04:00
thePR0M3TH3AN e4d1d8f56e Add Copy URL buttons to all Image URL fields + fix slotGrid to single column to prevent horizontal scroll 2026-05-15 09:37:04 -04:00
thePR0M3TH3AN c5b4425c67 Fix attachEvents() loop: remove jewel from layout tab handlers since button was removed (was throwing TypeError on null element, breaking all event listeners) 2026-05-15 09:31:12 -04:00
thePR0M3TH3AN 5b77f4ba9f Remove redundant 'CD jewel inserts' layout tab; jewel mode is already selectable via Template preset dropdown 2026-05-15 09:27:49 -04:00
thePR0M3TH3AN ce42e2ceb9 Fix Templates tab: jewel fieldset order (was first due to missing CSS order), renumber panels 1-5 with metadata last at step 5 2026-05-15 09:24:41 -04:00