palette tooltip: contextual description per lock state; earned date below Unlocked in green — TDD
- _palettes_for_user: shoptalk→description; "available by default" / "explore to unlock" / "recognized via {Title}"; unlocked_date key carries earned_at ISO for Note-unlocked
- template: data-shoptalk→data-description; data-unlocked-date now holds ISO datetime (was literal "Default")
- dashboard.js: lockText drops "— Default"; dateLine renders "Apr 22, 2026 · 3:05 AM" after Unlocked line
- _palette-picker.scss: tt-shoptalk→tt-description in display:block list; tt-date added
- _tooltips.scss: .tt-date mirrors .tt-expiry w. --priGn colour
Code architected by Disco DeDisco <discodedisco@outlook.com>
Git commit message Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
data-palette="{{ palette.name }}"
|
||||
data-label="{{ palette.label }}"
|
||||
data-locked="{{ palette.locked|yesno:'true,false' }}"
|
||||
data-unlocked-date="{% if not palette.locked %}Default{% endif %}"
|
||||
data-shoptalk="{{ palette.shoptalk }}"
|
||||
data-unlocked-date="{{ palette.unlocked_date|default:'' }}"
|
||||
data-description="{{ palette.description }}"
|
||||
>
|
||||
{% if not palette.locked %}
|
||||
<button type="button" class="btn btn-confirm palette-ok" hidden>OK</button>
|
||||
|
||||
Reference in New Issue
Block a user